qsafe.sh
Scan
Theme

Learn

ML-KEM vs Kyber: what changed and why it matters

· 4 min read

Kyber became ML-KEM (FIPS 203). What NIST changed, the three parameter sets, and why a Kyber-only server falls back to classical TLS.

If you've read about post-quantum TLS you've seen two names: Kyber and ML-KEM. They are the same family of algorithm at different stages of its life. Kyber is what the researchers submitted; ML-KEM is what NIST standardised. For a website, the difference decides whether your server talks to today's browsers.

Where Kyber came from

CRYSTALS-Kyber is a key encapsulation mechanism (KEM) built on the hardness of the Module Learning With Errors problem, a lattice problem that no known quantum algorithm solves efficiently. NIST picked it in 2022 as the winner of its post-quantum key-establishment competition, after six years and three rounds of public analysis.

What NIST changed

In August 2024 NIST published the final standard as FIPS 203: ML-KEM (Module-Lattice-Based Key Encapsulation Mechanism). The maths is the same, but a few details changed, so ML-KEM and round-3 Kyber don't interoperate:

The three parameter sets

NameSecurity categoryPublic keyCiphertext
ML-KEM-5121 (like AES-128)800 bytes768 bytes
ML-KEM-7683 (like AES-192)1,184 bytes1,088 bytes
ML-KEM-10245 (like AES-256)1,568 bytes1,568 bytes

Browsers use ML-KEM-768, combined with X25519 in the hybrid X25519MLKEM768. The NSA's CNSA 2.0 suite asks for ML-KEM-1024 on US national security systems.

Why it matters for your server

In 2023 and 2024, Chrome and Cloudflare deployed a draft hybrid called X25519Kyber768Draft00 (code point 0x6399). When ML-KEM was final, browsers switched to X25519MLKEM768 (code point 0x11EC) and removed the Kyber draft. A server that only knows the Kyber draft therefore negotiates classical X25519 with current browsers.

If a scan shows your server supports Kyber but not ML-KEM, upgrade the TLS library: OpenSSL 3.5, a current BoringSSL or AWS-LC, Go 1.24 or newer, or a recent rustls. The fix guides name the setting for each stack.

ML-KEM is only half the story

ML-KEM protects key exchange, which is what stops harvest now, decrypt later. Signatures move separately, to ML-DSA (FIPS 204) and SLH-DSA (FIPS 205). Post-quantum certificates for public websites aren't issued yet, so today the job for a website is ML-KEM. See the glossary for the other names.

Esc