Structs§
- Public
Key768 - ML-KEM-768 encapsulation key (public key) as defined in FIPS 203.
- Public
Key1024 - ML-KEM-1024 encapsulation key (public key) as defined in FIPS 203.
- Secret
Key768 - ML-KEM-768 decapsulation key (secret key) as defined in FIPS 203.
- Secret
Key1024 - ML-KEM-1024 decapsulation key (secret key) as defined in FIPS 203.
Enums§
- MlKem
Error - ML-KEM error type.
Constants§
- CIPHERTEXT_
SIZE_ 768 - CIPHERTEXT_
SIZE_ 1024 - PUBLIC_
KEY_ SIZE_ 768 - PUBLIC_
KEY_ SIZE_ 1024 - SECRET_
KEY_ SIZE_ 768 - SECRET_
KEY_ SIZE_ 1024 - SHARED_
SECRET_ SIZE - Size of the shared secret produced by ML-KEM encapsulation/decapsulation (32 bytes).
Functions§
- generate_
keypair_ 768 - Generate an ML-KEM-768 keypair.
- generate_
keypair_ 1024 - Generate an ML-KEM-1024 keypair.