Skip to content

The lab's quantum-resistant key exchange runs end to end on the portable path of a library its authors verified

On the verified implementation, a full ML-KEM-768 key exchange ran end to end: the two sides' shared secrets matched, every size matched the standard, and the decapsulation key is 2400 bytes, the size the standard fixes.

ML-KEM is the quantum-resistant key-exchange standard NIST has published. The libcrux library implements it in Rust, and its authors report machine-checking that its portable implementation matches their formal specification of the standard and is free of panics. The lab moved its own key-exchange model onto that verified implementation and ran a complete exchange on it.

What it shows

The lab's earlier memory figures for a key exchange rested on an unverified library. It moved the key exchange onto the portable ML-KEM implementation in libcrux, which its authors report is verified, with the hax and F* tools, to match their own formal specification of the standard and to be free of panics. The lab did not re-run that proof.

A real exchange on the verified code

On that verified implementation the lab generated a key pair, wrapped a fresh secret with the public key, and unwrapped it with the private key. Both sides ended with the same secret, and the key, message and secret sizes matched the standard. The decapsulation key's size was read from the verified code and matches the standard; it is not a measurement of working memory.

Why it matters, and to whom

This is for teams that must defend the cryptography inside a product. A key exchange on a library with a published correctness proof removes one class of question, whether the code computes the standard, before anyone asks about the rest.

How it was checked

The evidence file names the lab's commit and the files it was read from, by their content hashes, with the fields the page prints: the library and its version, the code path used, the round trip, and the sizes.

What it does not claim

  • It does not claim the verification as the lab's own. Proving the library correct is the work of its authors; the lab uses that property and did not re-run the proof.
  • It does not claim a security proof. The verification covers correctness of the portable implementation, not the scheme's security for an optimised build, and not the handshake around it.
  • It does not claim anything about hardware. The sizes were measured on an ordinary computer.
  • It does not claim the idea is new. Using a verified library for a standard algorithm is good practice, and the verification is known; what the lab adds is a key exchange that runs end to end on it.

How to reproduce it

The evidence file names the lab commit and the files read. A stronger test would run the same exchange on the optimised builds of the library and on the target hardware.

Prior art

Evidence

Related results across the group

All results from OrbitalProof · The OrbitalProof home page

How we show numbers

Every result figure links to the file it comes from. See our published files