Kyber90s1024
The category 5 Kyber variant that uses AES-256 and SHA-2 instead of SHAKE for expansion
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 Kyber90s1024
Kyber90s1024 is a key encapsulation mechanism from the Kyber-90s-1024 family. It uses a 1,568-byte public key, a 3,168-byte secret key, a 1,408-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
Kyber-90s-1024 is the category 5 pre-standard Kyber variant that replaces SHAKE with AES-256 in counter mode and SHA-2. It has a 1568-byte public key and a 1408-byte ciphertext. NextSSL carries it as an unverified entry.
The 90s variants of Kyber swap the SHAKE and SHA-3 functions for AES-256 in counter mode and SHA-2, which suits processors that accelerate those primitives. The core lattice scheme is unchanged, so the security basis is the same Module-LWE problem as the SHAKE-based set.
NextSSL records a 1568-byte public key, a 3168-byte secret key, a 1408-byte ciphertext and a 32-byte shared secret. The sizes match the SHAKE-based Kyber-1024, though the expansion functions differ, so outputs are not interchangeable.
The 90s variants were not carried into ML-KEM. The archive tier is unverified, so the entry is kept for comparison and research.
History
2017–2024CRYSTALS-Kyber submitted to NIST PQC
Kyber selected by NIST
Standardised as ML-KEM in FIPS 203
How it works
- A matrix is expanded from a seed using AES-256 in counter mode.
- The public key and ciphertext are built from the same noisy-product structure as the SHAKE-based set.
- Decapsulation re-encrypts and returns a pseudorandom key on mismatch.
Security notes
Unverified in NextSSL. The 90s variants were not carried into ML-KEM, so ML-KEM-1024 is the standard choice.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,568 | Public key |
| sk | 3,168 | Secret key |
| ct | 1,408 | 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", "kyber90s1024", None, outs=2)
ct, ss = root.call("kem_encaps", "kyber90s1024", None, pk, outs=2)
assert ss == root.call("kem_decaps", "kyber90s1024", None, sk, ct)[0]
nextssl_root_kem_keygen("kyber90s1024", NULL, pk, sk);
nextssl_root_kem_encaps("kyber90s1024", NULL, pk, ct, ss);
nextssl_root_kem_decaps("kyber90s1024", 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, "kyber90s1024", &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.
Similar names
Looking for something else?More key encapsulation
All 110Frequently asked questions
What is Kyber90s1024?
Kyber90s1024 is a KEM in the Kyber-90s-1024 family. Kyber-90s-1024 is the category 5 pre-standard Kyber variant that replaces SHAKE with AES-256 in counter mode and SHA-2.
What are the Kyber90s1024 sizes?
In NextSSL, Kyber90s1024 uses: public key 1,568 bytes, ciphertext 1,408 bytes, shared secret 32 bytes.
Is Kyber90s1024 post-quantum?
Yes. Kyber90s1024 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Kyber90s1024 and when?
Kyber90s1024 belongs to the Kyber-90s-1024 family, first published in 2017.
Is Kyber90s1024 safe to use?
Kyber90s1024 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).
Related families
The Round 3 submission of Kyber, predecessor of the ML-KEM standard
Kyber-1024The pre-standard Kyber-1024 parameter set, a category 5 Module-LWE KEM before FIPS 203
Kyber-90s-512The category 1 Kyber variant that uses AES-256 and SHA-2 instead of SHAKE for expansion
Kyber-90s-768The category 3 Kyber variant that uses AES-256 and SHA-2 instead of SHAKE for expansion
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203