Module params

Module params 

Source
Expand description

Parameter Sets and Constants

  • ML-KEM-512: K = 2, ETA_1 = 3, ETA_2 = 2, D_U = 10, D_V = 4
  • ML-KEM-768: K = 3, ETA_1 = 2, ETA_2 = 2, D_U = 10, D_V = 4
  • ML-KEM-1024: K = 4, ETA_1 = 2, ETA_2 = 2, D_U = 11, D_V = 5

Constants are only used internally, but N represents the size of a ring (256 elements), Q is the prime modulus (3329), ZETA is the primitive root of unity (17)

Structs§

MlKem512
MlKem768
MlKem1024

Constants§

N
Q
Q32
Q64
ZETA

Traits§

MlKemParams
Trait for adding parameter values to the 3 parameter set structs.