Algorithm 17
FIPS 203- Input
- ek, m (32 bytes)
FIPS 203
ML-KEM.KeyGenFIPS 203 algorithm trace
ML-KEM Encapsulation & DecapsulationekGeneratem (32 bytes)CallEncaps_internalML-KEM.Encaps (Algorithm 20) supplies checked ek and internally generated m.
Key generation uses the selected parameter set and does not require external input.
| Parameter set | NIST category | Public key (bytes) | Secret key (bytes) | Ciphertext (bytes) |
|---|---|---|---|---|
| ML-KEM-512 | 1 | 800 | 1,632 | 768 |
| ML-KEM-768 | 3 | 1,184 | 2,400 | 1,088 |
| ML-KEM-1024 | 5 | 1,568 | 3,168 | 1,568 |