Expand description
NIST FIPS 203 (ML-KEM) parameter constants (Table 2).
Modules§
- ml_
kem_ 512 - ML-KEM-512 parameter constants (NIST Security Category 1).
- ml_
kem_ 768 - ML-KEM-768 parameter constants (NIST Security Category 3).
- ml_
kem_ 1024 - ML-KEM-1024 parameter constants (NIST Security Category 5).
Constants§
- N
- Polynomial degree
n = 256inR_q = Z_q[X] / (X^256 + 1). - POLY_
BYTES - Encoded byte length of a single polynomial with 12-bit coefficients (
384bytes). - Q
- Prime modulus
q = 3329 = 2^8 * 13 + 1. - Q_U32
- Prime modulus as
u32. - SEED_
LEN - Random seed byte length (
d,z,m,rho,sigmaare all 32 bytes). - SHARED_
SECRET_ LEN - Shared secret byte length (32 bytes across all ML-KEM parameter sets).