If your iOS or Mac app signs logins with a Secure Enclave key, uses passkeys or calls App Attest, it depends on NIST P-256, and for passkeys and App Attest you cannot choose another curve. What you can do today, on iOS 26 and macOS 26, is add a post-quantum half next to the P-256 one: CryptoKit has ML-KEM and ML-DSA, and since iOS 26 the Secure Enclave can hold ML-KEM and ML-DSA keys too. We built and tested that on Xcode 26.2 (Swift 6.2.3) against the iOS 26.3 Simulator and on our M1 lab Mac with macOS 15.7.3. The cost is size: an ML-DSA-65 signature is 3,309 bytes against 64 for P-256.
Why we did this: we build banking-style React Native apps whose login keys live in the Secure Enclave, and two Mac apps, Nix and OneClick QuitAll. After this week’s P-256 news, “do we have to change anything?” was the first question from client teams.
What happened this week
- 2 December: the NSA urged a faster move to post-quantum cryptography, with P-384 or stronger as the classical fallback (Bitsight’s summary).
- 3 December: the Chrome Security Team said Chrome will stop trusting certificate authority keys that use ECDSA P-256 from 15 March 2027, with a full-page warning for affected sites (Google). That is about CA keys in the web PKI, not about keys inside your app.
- 3 December: Bruce Schneier wrote that he had heard from “a reliable source” that P-256 was broken, without details (Schneier on Security). There is no public attack. Bitsight’s write-up of 4 December says it will not claim P-256 is broken, but there is enough smoke to act.
So nothing in your app stopped working this week. What changed is the priority: P-256 moved up the migration list, and the useful question for an app team is which of its P-256 keys it can move at all.
Where P-256 sits in an Apple app
We built this table from Apple’s developer documentation; every row is linked.
| In your app | Curve today | Can your code pick another? | What exists instead | Minimum OS |
|---|---|---|---|---|
| Secure Enclave keys via Security framework (doc) | P-256 | Officially no: “Works only with NIST P-256 elliptic curve keys” | Secure Enclave ML-KEM and ML-DSA through CryptoKit | iOS 26, macOS 26 |
CryptoKit SecureEnclave (doc) |
P256 |
Yes, from iOS 26 | MLKEM768, MLKEM1024, MLDSA65, MLDSA87 (doc) |
iOS 26, macOS 26 |
| CryptoKit software keys (doc) | whatever you chose | Yes | P-384, ML-KEM, ML-DSA, X-Wing HPKE | P-384 since iOS 13; post-quantum types iOS 26 |
| Passkeys (doc) | ES256 (P-256) | No: ASCOSEAlgorithmIdentifier lists only ES256 |
Nothing in the SDK yet | iOS 15, macOS 12 |
| App Attest (doc) | An EC key the service creates (X9.62 point, DER ECDSA signature) | No: generateKey takes no algorithm |
Nothing yet | iOS 14 |
| TLS to your API | Your server’s certificate chain | Server side only | See our post-quantum TLS on iOS 26 post | iOS 26 for hybrid key exchange |
The split is clear: passkeys and App Attest are Apple’s to move. Your own signing and key-agreement keys, including the ones in the Secure Enclave, are yours, and iOS 26 gives you somewhere to move them.
What we built and ran
We wrote a small Swift package (tools version 6.0, platforms iOS 26 and macOS 26) with three pieces: P-256 and ML-DSA-65 size and timing checks, a hybrid key agreement (P-256 ECDH plus ML-KEM-768, both secrets fed into HKDF), and a probe that only compiles if the SDK has the Secure Enclave ML-KEM and ML-DSA types. Tests ran on the iOS 26.3 Simulator with Xcode 26.2 (17C52). A second, macOS 13 target ran on the M1 host itself to use its Secure Enclave with P-256, since the post-quantum types need macOS 26.

Real output from our M1 lab Mac: five tests, no failures.
What it shows:
- The iOS 26.2 SDK has
SecureEnclave.MLKEM768andSecureEnclave.MLDSA65: the probe compiled, and on the Simulator both keys were created (public keys 1,184 and 1,952 bytes). The Simulator reportedSecureEnclave.isAvailableas true; how the enclave behaves on a physical iPhone is a separate question from what a Simulator can show. - The hybrid key agreement produced the same 32-byte key on both sides. The client sends its P-256 public key (65 bytes) plus the ML-KEM-768 ciphertext (1,088 bytes): 1,153 bytes, against 65 for P-256 alone.
- On the M1 Mac’s own Secure Enclave, a P-256 signature took 7.0 ms on average over 100 signs; the same sign with a software P-256 key took 0.36 ms. Hardware keys cost time per operation, which matters for anything that signs in a loop.
The size of the switch

Sizes from CryptoKit on the iOS 26.3 Simulator; sign times are averages of 200 signs in one run.
An ML-DSA-65 public key is 1,952 bytes and a signature 3,309 bytes. If your login flow sends a signed challenge in a header, a hybrid signature (P-256 plus ML-DSA-65) adds about 3.3 KB per request. Check your gateway’s header limits and any database column that stores public keys before you ship it. Signing time on the Simulator went from 0.143 ms to 1.099 ms per signature: still small for a login, worth measuring for anything that signs often.
A hybrid sketch you can start from
Apple’s own sample for quantum-secure workflows signs with both an ML-DSA and an EC key and concatenates the signatures, including a SecureEnclave.MLDSA65 plus SecureEnclave.P256 pair (Apple sample). For key agreement, we tested the pattern below: both secrets go into HKDF, so the session key stays safe if either algorithm falls.

The client half of the hybrid handshake we tested on the iOS 26.3 Simulator.
static func combine(ecdh: SharedSecret, kem: SymmetricKey) -> SymmetricKey {
var ikm = ecdh.withUnsafeBytes { Data($0) }
ikm.append(kem.withUnsafeBytes { Data($0) })
return HKDF<SHA256>.deriveKey(
inputKeyMaterial: SymmetricKey(data: ikm),
salt: Data("ixn-hybrid-v1".utf8),
info: Data("session".utf8),
outputByteCount: 32)
}
Treat it as a starting point, not a protocol: a real handshake also binds both public keys and the ciphertext into the transcript, and if you only need to encrypt to a server key, CryptoKit’s HPKE ciphersuite XWingMLKEM768X25519_SHA256_AES_GCM_256 does the combining for you. Note also Apple’s remark in the same sample: the Secure Enclave does not support ML-KEM’s OneTimePrivateKey; use SecureEnclave.MLKEM768.PrivateKey for long-lived hardware keys.
The P-384 surprise, and why not to use it
Apple’s documentation says the Secure Enclave “works only with NIST P-256” keys. On our M1 Mac with macOS 15.7.3, SecKeyCreateRandomKey with kSecAttrTokenIDSecureEnclave and a 384-bit size succeeded: the key reported 384 bits and the token ID com.apple.setoken, signed and verified with ecdsaSignatureMessageX962SHA384, and refused to export its private key. A 521-bit request failed with error -50.
That looks like an escape hatch, and it is not one. A developer reported the same thing on Apple’s forums, and Apple’s DTS engineer answered: “the official word is that the SE only supports P-256 keys. Don’t use anything else in products that you care about” (Apple Developer Forums). CryptoKit has no SecureEnclave.P384 type either. If you want a stronger classical half, use a software P-384 key next to a Secure Enclave ML-DSA key, not an undocumented Secure Enclave P-384.
What a banking app can do now
- List your P-256 keys. Secure Enclave login keys, request-signing keys, any ECIES encryption, passkeys, App Attest. Mark each one “ours” or “Apple’s” using the table above.
- Add a post-quantum half to the ones that are yours, on devices with iOS 26 or later: an ML-DSA-65 key next to the P-256 login key (in the Secure Enclave if the P-256 key is), and ML-KEM or X-Wing for anything you encrypt. Keep P-256 for older iOS versions.
- Make the server accept both and record which kind each device enrolled, so you can raise the floor later without a forced logout.
- Budget the bytes: about 1.9 KB more per public key and 3.3 KB more per signature.
- Leave passkeys and App Attest alone and watch Apple’s release notes; there is nothing for app code to change there today.
- Check your TLS chain separately. Chrome’s 15 March 2027 date is about the web PKI; if your app pins an intermediate that is about to be reissued, that will bite first.
We covered the transport side in post-quantum TLS on iOS 26 and on Android, and the Mac’s SSH client in post-quantum SSH on a Mac.



