@@ -122,7 +122,7 @@ extension UInt16 {
122122            self  =  0x0020 
123123        #if !canImport(Darwin) || canImport(CryptoKit, _version: 324.0.4) 
124124        case  . XWingMLKEM768X25519: 
125-             self  =  0x647a  // https://datatracker.ietf.org/doc/html/draft-connolly-cfrg-xwing-kem-06#name-iana-considerations
125+             self  =  0x647a    // https://datatracker.ietf.org/doc/html/draft-connolly-cfrg-xwing-kem-06#name-iana-considerations
126126        #endif 
127127        #if canImport(CryptoKit) 
128128        @unknown   default : 
@@ -231,15 +231,15 @@ extension HPKE.KEM {
231231            ) 
232232        #if !canImport(Darwin) || canImport(CryptoKit, _version: 324.0.4) 
233233        case  . XWingMLKEM768X25519: 
234-         if  #available( iOS 26 . 0 ,  macOS 26 . 0 ,  watchOS 26 . 0 ,  tvOS 26 . 0 ,  visionOS 26 . 0 ,  * )  { 
235-             return  try   HPKE . Sender ( 
236-                 recipientKey:  Crypto . XWingMLKEM768X25519. PublicKey ( rawRepresentation:  publicKeyData) , 
237-                 ciphersuite:  ciphersuite, 
238-                 info:  info
239-             ) 
240-         }  else  { 
241-             fatalError ( " Impossible to have an XWing key in this context without it being available. " ) 
242-         } 
234+              if  #available( iOS 26 . 0 ,  macOS 26 . 0 ,  watchOS 26 . 0 ,  tvOS 26 . 0 ,  visionOS 26 . 0 ,  * )  { 
235+                  return  try   HPKE . Sender ( 
236+                      recipientKey:  Crypto . XWingMLKEM768X25519. PublicKey ( rawRepresentation:  publicKeyData) , 
237+                      ciphersuite:  ciphersuite, 
238+                      info:  info
239+                  ) 
240+              }  else  { 
241+                  fatalError ( " Impossible to have an XWing key in this context without it being available. " ) 
242+              } 
243243        #endif 
244244        #if canImport(CryptoKit) 
245245        @unknown   default : 
@@ -260,11 +260,11 @@ extension HPKE.KEM {
260260            _ =  try   Curve25519 . KeyAgreement. PublicKey ( rawRepresentation:  publicKeyData) 
261261        #if !canImport(Darwin) || canImport(CryptoKit, _version: 324.0.4) 
262262        case  . XWingMLKEM768X25519: 
263-         if  #available( iOS 26 . 0 ,  macOS 26 . 0 ,  watchOS 26 . 0 ,  tvOS 26 . 0 ,  visionOS 26 . 0 ,  * )  { 
264-             _ =  try   Crypto . XWingMLKEM768X25519. PublicKey ( rawRepresentation:  publicKeyData) 
265-         }  else  { 
266-             fatalError ( " Impossible to have an XWing key in this context without it being available. " ) 
267-         } 
263+              if  #available( iOS 26 . 0 ,  macOS 26 . 0 ,  watchOS 26 . 0 ,  tvOS 26 . 0 ,  visionOS 26 . 0 ,  * )  { 
264+                  _ =  try   Crypto . XWingMLKEM768X25519. PublicKey ( rawRepresentation:  publicKeyData) 
265+              }  else  { 
266+                  fatalError ( " Impossible to have an XWing key in this context without it being available. " ) 
267+              } 
268268        #endif 
269269        #if canImport(CryptoKit) 
270270        @unknown   default : 
0 commit comments