Skip to main content

Module mlkem768

Module mlkem768 

Source
Expand description

§ML-KEM-768

FIPS 203 ML-KEM-768 alone; see crate::classic::crypto_kem_mlkem768. Prefer super::xwing unless a protocol requires ML-KEM-768. The secret key is FIPS 203’s expanded decapsulation key, which contains the public key.

Modules§

protectedprotected
Protected memory type aliases

Structs§

KeyPair
An ML-KEM-768 key pair.

Functions§

encapsulate
Creates a random shared secret for public_key, returning the ML-KEM-768 ciphertext to send to its owner and the shared secret.

Type Aliases§

Ciphertext
Stack-allocated ML-KEM-768 ciphertext.
PublicKey
Stack-allocated ML-KEM-768 public key.
SecretKey
Stack-allocated ML-KEM-768 secret key.
Seed
Stack-allocated ML-KEM-768 key-generation seed.
SharedSecret
Stack-allocated ML-KEM-768 shared secret.
StackKeyPair
Stack-allocated key pair.