CRYSTALS-Kyber (Round 3)
The Round 3 submission of Kyber, predecessor of the ML-KEM standard
Overview
CRYSTALS-Kyber is the Module-LWE key encapsulation mechanism that NIST selected for standardisation in 2022 and later published, with modifications, as ML-KEM in FIPS 203. This family preserves the third-round specification, including the 90s variants built on AES and SHA-2.
Kyber was submitted to the NIST post-quantum process in 2017 by the CRYSTALS team and progressed through three rounds before being selected. Its structure is the one inherited by ML-KEM: an IND-CPA lattice encryption scheme over the ring Z_3329[X]/(X^256 + 1), turned into an IND-CCA2 KEM with a Fujisaki-Okamoto style transform and implicit rejection. It was designed with constant-time implementation and vectorisation in mind.
ML-KEM is not byte-compatible with Round 3 Kyber. FIPS 203 changed how the shared secret is derived (Round 3 hashed the ciphertext into the final key), dropped the hashing of the initial random message, and added mandatory input checks on encapsulation and decapsulation keys. Round 3 test vectors therefore do not match ML-KEM outputs, and the two must not be mixed in a protocol.
Six parameter sets are present: Kyber512, Kyber768 and Kyber1024 (security categories 1, 3 and 5), and their 90s counterparts, which replace SHAKE and SHA-3 with AES-256 in counter mode and SHA-2 to benefit from hardware acceleration. The 90s variants were not carried forward into ML-KEM. Round 3 public keys and ciphertexts have the same sizes as the corresponding ML-KEM parameter sets, which makes the two easy to confuse in practice.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationCRYSTALS-Kyber submitted to NIST PQC
26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber selected by NIST
Standardised as ML-KEM in FIPS 203
HQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- A public matrix is expanded from a seed using SHAKE-128, or AES-256-CTR in the 90s variants.
- The public key is a noisy product of the matrix and a small secret vector.
- Encapsulation encrypts a random message and hashes it, together with the ciphertext, into the shared key.
- Decapsulation decrypts, re-encrypts and compares, falling back to a pseudorandom key on mismatch.
Security notes
Superseded by ML-KEM; new deployments should use FIPS 203 instead. Round 3 Kyber remains cryptographically sound, but it is not interoperable with ML-KEM, and several implementations were affected by the KyberSlash timing leak in secret-dependent division.
Typical uses
Variants in NextSSL
6| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Kyber1024-90s-R3 kyber1024-90s-r3 |
unverified | pk 1568 · sk 3168 · ct 1568 · ss 32 · seed 0 · coins 0 | — | root |
| Kyber1024-R3 kyber1024-r3 |
unverified | pk 1568 · sk 3168 · ct 1568 · ss 32 · seed 0 · coins 0 | — | root |
| Kyber512-90s-R3 kyber512-90s-r3 |
unverified | pk 800 · sk 1632 · ct 768 · ss 32 · seed 0 · coins 0 | — | root |
| Kyber512-R3 kyber512-r3 |
unverified | pk 800 · sk 1632 · ct 768 · ss 32 · seed 0 · coins 0 | — | root |
| Kyber768-90s-R3 kyber768-90s-r3 |
unverified | pk 1184 · sk 2400 · ct 1088 · ss 32 · seed 0 · coins 0 | — | root |
| Kyber768-R3 kyber768-r3 |
unverified | pk 1184 · sk 2400 · ct 1088 · ss 32 · seed 0 · coins 0 | — | root |
Frequently asked questions
Which CRYSTALS-Kyber (Round 3) variants does NextSSL include?
NextSSL registers 6 CRYSTALS-Kyber (Round 3) variants: kyber1024-90s-r3, kyber1024-r3, kyber512-90s-r3, kyber512-r3, kyber768-90s-r3, kyber768-r3.
Families with similar names
Other key encapsulation
All 110Related
NIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
Saber (Round 3)Module Learning With Rounding KEM, a NIST Round 3 finalist
CRYSTALS-Dilithium (Round 3)The Round 3 submission of Dilithium, predecessor of the ML-DSA standard
AES-CTRCounter mode: turns AES into a fast, parallel stream cipher
SHAKEThe extendable-output functions of FIPS 202, producing any length of output from Keccak