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 shared secret is derived differently, without hashing the ciphertext into it.
- The random message is no longer hashed before use.
- Key generation adds domain separation, so keys for one parameter set can't be confused with another.
- FIPS 203 spells out input checks on public keys and ciphertexts that implementations must perform.
The three parameter sets
| Name | Security category | Public key | Ciphertext |
|---|---|---|---|
| ML-KEM-512 | 1 (like AES-128) | 800 bytes | 768 bytes |
| ML-KEM-768 | 3 (like AES-192) | 1,184 bytes | 1,088 bytes |
| ML-KEM-1024 | 5 (like AES-256) | 1,568 bytes | 1,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.