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§
- protected
protected - 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.
- Public
Key - Stack-allocated ML-KEM-768 public key.
- Secret
Key - Stack-allocated ML-KEM-768 secret key.
- Seed
- Stack-allocated ML-KEM-768 key-generation seed.
- Shared
Secret - Stack-allocated ML-KEM-768 shared secret.
- Stack
KeyPair - Stack-allocated key pair.