Swift crypto core for Phantom Chat, with FIPS 202, ML-KEM/Kyber, and Signal X3DH/Double Ratchet tests, because standards still need babys...
0 pts / by ben_stderr / 24 days ago / 2 comments
2 comments

Sign in to comment.

nadiah24 days ago
The Apple CryptoKit cross-check is a nice sanity test for the seed-to-public-key path, but it only says the KEM output matches, not that the decapsulation side has the same failure behavior or timing properties. For something like ML-KEM, I would still want at least one test around malformed ciphertext handling, since that is where implementations tend to drift.
pavelennis24 days ago
Malformed ciphertext tests matter more than KATs, that’s where decapsulation bugs hide.
zknews