KEM family

CRYSTALS-Kyber (Round 3)

The Round 3 submission of Kyber, predecessor of the ML-KEM standard

unverified 6 variants NIST PQC Round 3 selection, superseded by ML-KEM (FIPS 203)

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–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. CRYSTALS-Kyber submitted to NIST PQC

  3. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  4. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  5. Kyber selected by NIST

  6. Standardised as ML-KEM in FIPS 203

  7. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. A public matrix is expanded from a seed using SHAKE-128, or AES-256-CTR in the 90s variants.
  2. The public key is a noisy product of the matrix and a small secret vector.
  3. Encapsulation encrypts a random message and hashes it, together with the ciphertext, into the shared key.
  4. 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

Interoperating with early post-quantum deployments and experiments built before FIPS 203Reproducing Round 3 known-answer tests and research resultsComparing the 90s (AES/SHA-2) variants with SHAKE-based ones

Variants in NextSSL

6
AlgorithmTierSizes (bytes)StandardsAPI
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.