The new standards: ML-KEM, ML-DSA, SLH-DSA and friends
What NIST standardised in FIPS 203, 204 and 205, what is still coming (FN-DSA, HQC), parameter sets, key and signature sizes, and the IETF work that puts them into protocols.
On this page
In August 2024, after an eight-year public competition, NIST published the first three post-quantum cryptography standards. This article explains what each one is for, how to choose parameters, how big the keys and signatures are, what's still in the pipeline, and how the IETF is wiring them into TLS, SSH, certificates and JOSE.
The competition in brief
NIST launched its Post-Quantum Cryptography Standardization process in 2016 and received 69 complete first-round submissions. Over several public rounds, cryptographers worldwide attacked the candidates; several were broken or weakened along the way (Rainbow and SIKE most famously, both by classical attacks in 2022). In July 2022 NIST announced its first selections, and in August 2024 it published the final standards:
| Standard | Name | Based on | Job | Origin |
|---|---|---|---|---|
| FIPS 203 | ML-KEM (Module-Lattice-Based Key-Encapsulation Mechanism) | Module lattices | Key establishment | CRYSTALS-Kyber |
| FIPS 204 | ML-DSA (Module-Lattice-Based Digital Signature Algorithm) | Module lattices | Signatures | CRYSTALS-Dilithium |
| FIPS 205 | SLH-DSA (Stateless Hash-Based Digital Signature Algorithm) | Hash functions | Signatures | SPHINCS+ |
The final standards differ in small but important ways from the competition submissions (domain separation, encodings, key formats), so "Kyber" and "ML-KEM" are not interoperable. Early deployments used a draft X25519Kyber768Draft00 TLS group; it has been replaced by X25519MLKEM768. If a library or config still says "Kyber", it's pre-standard.
Security categories
NIST rates post-quantum parameter sets in five security categories, each defined by comparison with an attack on a well-understood symmetric primitive:
| Category | At least as hard to break as | Rough classical equivalent |
|---|---|---|
| 1 | Key search on AES-128 | ~128-bit |
| 2 | Collision search on SHA-256 | — |
| 3 | Key search on AES-192 | ~192-bit |
| 4 | Collision search on SHA3-384 | — |
| 5 | Key search on AES-256 | ~256-bit |
Category 1 is broadly comparable to today's 128-bit classical security (X25519, P-256). Most general deployments choose category 3; national-security systems under the NSA's CNSA 2.0 require category 5.
ML-KEM (FIPS 203): key encapsulation
A KEM (key-encapsulation mechanism) is the post-quantum replacement for Diffie-Hellman-style key agreement. The interface is slightly different:
Receiver Sender
(ek, dk) = KeyGen()
── encapsulation key ek ──────────────────►
(shared_secret, ct) = Encaps(ek)
◄────────────────────────── ciphertext ct ──
shared_secret = Decaps(dk, ct)Instead of both sides contributing equally, the sender generates a random secret and "encapsulates" it to the receiver's public key. Both end with the same 32-byte shared secret, which then feeds a key-derivation function as usual. Protocols like TLS 1.3 fit this naturally: the client's key share is an encapsulation key, and the server's key share is the ciphertext.
ML-KEM's security rests on the Module Learning With Errors (MLWE) problem: given a set of noisy linear equations over polynomial rings, recover the secret. Without the noise it's simple linear algebra; with it, no efficient classical or quantum algorithm is known.
| Parameter set | Category | Encapsulation key | Decapsulation key | Ciphertext | Shared secret |
|---|---|---|---|---|---|
| ML-KEM-512 | 1 | 800 B | 1,632 B | 768 B | 32 B |
| ML-KEM-768 | 3 | 1,184 B | 2,400 B | 1,088 B | 32 B |
| ML-KEM-1024 | 5 | 1,568 B | 3,168 B | 1,568 B | 32 B |
For comparison, an X25519 public key is 32 bytes. ML-KEM is fast, often faster than X25519 in CPU terms, but the bytes on the wire are much larger.
Which to use: ML-KEM-768 is the default choice for general use and what TLS (X25519MLKEM768) and SSH (mlkem768x25519-sha256) use. ML-KEM-1024 is required under CNSA 2.0. ML-KEM-512 is allowed but has the thinnest margin.
Practical notes:
- The decapsulation key can be stored as a 64-byte seed and expanded when needed; many libraries support seed-based private keys, and it's the recommended storage format in RFC 9935 (ML-KEM in X.509).
- ML-KEM uses implicit rejection: decapsulating a tampered ciphertext returns a pseudorandom value instead of an error. Protocols detect the mismatch later (for example, the TLS Finished message fails).
ML-DSA (FIPS 204): the general-purpose signature
ML-DSA is the main replacement for RSA and ECDSA signatures. It's also lattice-based (MLWE plus a related problem, Module-SIS) and uses a "Fiat-Shamir with aborts" design: the signer repeatedly tries to produce a signature that doesn't leak information about the key, and restarts when one would.
| Parameter set | Category | Public key | Private key | Signature |
|---|---|---|---|---|
| ML-DSA-44 | 2 | 1,312 B | 2,560 B | 2,420 B |
| ML-DSA-65 | 3 | 1,952 B | 4,032 B | 3,309 B |
| ML-DSA-87 | 5 | 2,592 B | 4,896 B | 4,627 B |
Compare Ed25519 (32-byte public key, 64-byte signature) or ECDSA P-256 (64-byte signature). ML-DSA signatures are roughly 40–70× larger. Signing and verifying are fast, though.
Which to use: ML-DSA-65 is a common general-purpose choice; ML-DSA-44 is popular where size matters (it's what OpenSSH's hybrid ssh-mldsa44-ed25519 hybrid key type uses: experimental in OpenSSH 10.4, enabled under its final name in 10.6); ML-DSA-87 is required under CNSA 2.0.
Variants and details worth knowing:
- Hedged vs deterministic. The default ("hedged") mode mixes fresh randomness into each signature, which helps against fault and side-channel attacks. A deterministic mode exists for constrained cases.
- Context strings. FIPS 204 lets you pass a short context string (up to 255 bytes) that binds a signature to an application or protocol, preventing cross-protocol reuse.
- Pure vs pre-hash. "Pure" ML-DSA signs the message itself (internally hashing it with a key-dependent prefix). HashML-DSA signs a pre-computed hash, which is useful for huge messages or HSMs, but produces different signatures and isn't interchangeable. Many protocols (including RFC 9881 for X.509) use pure ML-DSA; for large data, FIPS 204 also allows computing the internal "mu" value externally.
- Private key as seed. Like ML-KEM, ML-DSA keys can be stored as a 32-byte seed.
SLH-DSA (FIPS 205): the conservative signature
SLH-DSA (formerly SPHINCS+) builds signatures entirely from hash functions, combining many one-time signatures in a large tree structure. Its security depends only on the hash function (SHA-2 or SHAKE), which makes it the most conservative option: if lattices turn out to be weaker than believed, SLH-DSA is unaffected.
The cost is size and speed. There are 12 parameter sets: SHA2 or SHAKE, three security levels (128, 192, 256), and "s" (small signatures, slow signing) or "f" (fast signing, bigger signatures):
| Parameter set | Category | Public key | Signature |
|---|---|---|---|
| SLH-DSA-*-128s | 1 | 32 B | 7,856 B |
| SLH-DSA-*-128f | 1 | 32 B | 17,088 B |
| SLH-DSA-*-192s | 3 | 48 B | 16,224 B |
| SLH-DSA-*-192f | 3 | 48 B | 35,664 B |
| SLH-DSA-*-256s | 5 | 64 B | 29,792 B |
| SLH-DSA-*-256f | 5 | 64 B | 49,856 B |
(* is SHA2 or SHAKE.) Signing with the "s" variants can take hundreds of milliseconds or more.
Where it fits: places where signatures are rare, verification is common and long-term confidence matters more than size: firmware and secure boot, root CA keys, software release signing, archival documents. It's a poor fit for TLS handshakes.
Stateful hash-based signatures: LMS and XMSS
Before FIPS 205, NIST approved two stateful hash-based schemes in SP 800-208: LMS (RFC 8554) and XMSS (RFC 8391). They have small signatures and are fast, but each key can sign only a fixed number of messages, and the signer must never reuse a one-time key, which means carefully tracking state (a counter) even across backups and failovers. CNSA 2.0 allows them for software and firmware signing, where a single well-controlled signer (often an HSM) makes state management feasible.
What's still coming
FN-DSA (expected FIPS 206). Based on Falcon, a lattice signature using NTRU lattices and fast Fourier sampling. Its selling point is size: Falcon-512 has an 897-byte public key and signatures around 666 bytes, much smaller than ML-DSA. The catch is that secure signing needs careful floating-point arithmetic that's hard to implement in constant time. NIST submitted the FIPS 206 draft for approval in August 2025, but at the time of writing (December 2026) the final standard had not been published; check NIST's PQC project page for the current status before relying on it.
HQC. In March 2025 NIST selected HQC (Hamming Quasi-Cyclic), a code-based KEM, as a backup to ML-KEM, so that a break in lattice maths wouldn't leave the world without a standardised KEM. In its announcement NIST said it expected a draft standard (to be FIPS 207) in about a year and a final standard in 2027; check NIST for the current status before relying on a date.
More signatures. NIST is running an additional signature "on-ramp" to find schemes with smaller signatures or different maths; candidates are still being evaluated.
Others outside NIST. Classic McEliece (code-based, enormous public keys around 255 KB–1.3 MB, tiny ciphertexts) and FrodoKEM (conservative unstructured lattices) are being standardised by ISO and are recommended by some European agencies.
Into the protocols: the IETF work
Algorithms alone don't secure anything; protocols need to carry them. The status as of December 2026:
| Area | Specification | Status |
|---|---|---|
TLS 1.3 hybrid key exchange (X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024) | RFC 10024 | Published (Proposed Standard), August 2026 |
SSH hybrid key exchange (mlkem768x25519-sha256 and NIST-curve variants) | RFC 10042 | Published (Informational), August 2026 |
| ML-DSA in X.509 certificates | RFC 9881 | Published, October 2025 |
| ML-KEM in X.509 certificates | RFC 9935 | Published, March 2026 |
ML-DSA in JOSE and COSE (ML-DSA-44/65/87, AKP key type) | RFC 9964 | Published, May 2026 |
| Post-quantum OpenPGP (ML-KEM + X25519, ML-DSA + Ed25519) | RFC 9980 | Published, June 2026 |
| X-Wing hybrid KEM (X25519 + ML-KEM-768) | draft-connolly-cfrg-xwing-kem | Internet-Draft |
| Composite ML-DSA signatures for X.509 and JOSE | LAMPS / JOSE drafts | Internet-Drafts |
TLS hybrid key exchange is the most deployed by far: Chrome, Edge, Firefox and Safari all send X25519MLKEM768, and a large share of HTTPS traffic through big CDNs already uses it. Post-quantum certificates are much earlier: browsers' root programs do not yet accept ML-DSA certificates from public CAs, and Chrome has said it is pursuing a different approach (Merkle Tree Certificates) to keep handshake sizes down. Private PKIs can issue ML-DSA certificates today with OpenSSL 3.5+ and other libraries.
Choosing, at a glance
| You need... | Default choice | Higher assurance / CNSA 2.0 | Notes |
|---|---|---|---|
| TLS key exchange | X25519MLKEM768 (hybrid) | SecP384r1MLKEM1024 | Usually a runtime / config upgrade |
| SSH key exchange | mlkem768x25519-sha256 | — | Default in OpenSSH 10+ |
| Encrypting to a public key (envelope, HPKE) | ML-KEM-768 (often hybrid) | ML-KEM-1024 | |
| General signatures (tokens, documents, APIs) | ML-DSA-65 or ML-DSA-44 | ML-DSA-87 | Expect ~2.4–4.6 KB signatures |
| Firmware, roots, archives | SLH-DSA, or LMS/XMSS with an HSM | LMS/XMSS per CNSA 2.0 | Slow or stateful, but very conservative |
| Smallest PQ signatures | FN-DSA when standardised | — | Not final yet |
pqe's scanner reports which of these each finding maps to; npx -y pqe-cli explain ml-kem-768 (or any algorithm id) prints the details from this knowledge base.
Next: Hybrid cryptography: why we combine old and new algorithms during the transition.