Kyber1024-R1
The first-round CRYSTALS-Kyber submission, a Module-LWE KEM with 512, 768 and 1024 parameter sets
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Kyber1024-R1
Kyber1024-R1 is one of 3 CRYSTALS-Kyber Round 1 variants in the NextSSL registry, a key encapsulation mechanism. It uses a 1,440-byte public key, a 3,168-byte secret key, a 1,504-byte ciphertext and a 32-byte shared secret. It is designed to resist attacks by large quantum computers. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
CRYSTALS-Kyber Round 1 is the first-round submission of the Kyber key encapsulation mechanism to the NIST post-quantum process. It is a Module-LWE scheme with three parameter sets, Kyber512, Kyber768 and Kyber1024. NextSSL carries the round-1 specification as an unverified archival entry.
Kyber was submitted to the NIST post-quantum standardisation process by the CRYSTALS team, and its round-1 specification is the earliest version in the archive. The scheme is built on the Module Learning With Errors problem, and its design became the basis for the later Round 3 specification and then for ML-KEM.
NextSSL carries three round-1 variants: kyber512-r1, kyber768-r1 and kyber1024-r1, each with a 32-byte shared secret. Public keys run from 736 to 1440 bytes and ciphertexts from 800 to 1504 bytes, so the round-1 sizes differ from those of the later standardised parameter sets.
Round 1 Kyber is not interoperable with ML-KEM or with Round 3 Kyber. The unverified tier reflects the archive's status for this entry. Use it for reproducing early results, and use ML-KEM for any current deployment.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationCRYSTALS-Kyber Round 1 published
69 complete round-1 submissions published
NIST Post-Quantum Cryptography standardisation26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens
NIST Post-Quantum Cryptography standardisationFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisationHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen generates a matrix from a seed and a small secret vector, and publishes a noisy product as the public key.
- Encaps encrypts a random message under the public key, and the shared secret is derived from that message and the ciphertext.
- Decaps decrypts, re-encrypts to check the result, and returns a pseudorandom value on a mismatch.
Security notes
Unverified in NextSSL and superseded by later Kyber specifications and ML-KEM. Round 1 implementations are not interoperable with the standard. Implementations should be constant time.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,440 | Public key |
| sk | 3,168 | Secret key |
| ct | 1,504 | Ciphertext |
| ss | 32 | Shared secret |
| seed | 0 | Seed |
| coins | 0 | Encapsulation randomness |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
pk, sk = root.call("kem_keygen", "kyber1024-r1", None, outs=2)
ct, ss = root.call("kem_encaps", "kyber1024-r1", None, pk, outs=2)
assert ss == root.call("kem_decaps", "kyber1024-r1", None, sk, ct)[0]
nextssl_root_kem_keygen("kyber1024-r1", NULL, pk, sk);
nextssl_root_kem_encaps("kyber1024-r1", NULL, pk, ct, ss);
nextssl_root_kem_decaps("kyber1024-r1", NULL, sk, ct, ss);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_kem_in(reg::all(), Policy::Any, "kyber1024-r1", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let (ct, ss) = alg.encaps(&pk, &mut *rng)?;
assert_eq!(ss, alg.decaps(&sk, &ct)?);
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other CRYSTALS-Kyber Round 1 variants
2Similar names
Looking for something else?More key encapsulation
All 110Frequently asked questions
What is Kyber1024-R1?
Kyber1024-R1 is a KEM in the CRYSTALS-Kyber Round 1 family. CRYSTALS-Kyber Round 1 is the first-round submission of the Kyber key encapsulation mechanism to the NIST post-quantum process.
What are the Kyber1024-R1 sizes?
In NextSSL, Kyber1024-R1 uses: public key 1,440 bytes, ciphertext 1,504 bytes, shared secret 32 bytes.
Is Kyber1024-R1 post-quantum?
Yes. Kyber1024-R1 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Kyber1024-R1 and when?
Kyber1024-R1 belongs to the CRYSTALS-Kyber Round 1 family, first published in 2017 by Roberto Avanzi, Joppe Bos, Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, John M. Schanck, Peter Schwabe, Gregor Seiler, Damien Stehlé. Its origin: NIST PQC Round 1 submission.
Is Kyber1024-R1 safe to use?
Kyber1024-R1 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other CRYSTALS-Kyber Round 1 variants are there?
NextSSL also registers kyber512-r1, kyber768-r1 in the CRYSTALS-Kyber Round 1 family.
Related families
The second-round CRYSTALS-Kyber submission, including 90s variants built on AES and SHA-2
CRYSTALS-Kyber (Round 3)The Round 3 submission of Kyber, predecessor of the ML-KEM standard
Kyber-512The pre-standard Kyber-512 parameter set, a category 1 Module-LWE KEM before FIPS 203
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
Saber Round 1The round-1 Saber KEM family, a Module-LWR scheme with light, default and fire parameter sets