A blueprint for formal verification of Apple corecrypto

hasheddan 85 points 4 comments May 22, 2026
security.apple.com · View on Hacker News

Discussion Highlights (4 comments)

H0-LawJik

The missing-step bug in early ML-DSA is the perfect case for SAW. rare inputs that pass code review because the line that should be there doesn't look absent, it looks like the next line is correct. tests wouldn't catch it unless someone happened to roll exactly the right inputs.

AlotOfReading

SAW/Cryptol are amazingly easy to use compared to other formal methods tools. It's a shame that C++ is still popular in high assurance spaces, because the tooling for it and the ability to write safe code is so much worse than C these days.

throwaway85825

Verified crypto is important but apple still doesnt take parser security seriously enough. They know it's insecure and offer lockdown mode instead of fixing it.

FabHK

Had totally forgotten that Apple had rolled out post-quantum crypto (ML-KEM and ML-DSA, FIPS 203 and FIPS 204, respectively) already back in 2024. [1] Slightly off topic, but it's great to see "crypto" to mean cryptography, helping users to keep their data secure, and not as so often these days those silly cryptocurrency crime tokens. [1] https://security.apple.com/blog/imessage-pq3/

Semantic search powered by Rivestack pgvector
8,303 stories · 78,303 chunks indexed