Skip to main content

Module kem

Module kem 

Source
Expand description

Key encapsulation mechanisms (KEMs) for HPKE (draft-ietf-hpke-hpke-05 Section 4 and Section 7.1).

Structs§

MLKEM768X25519
MLKEM768-X25519 hybrid post-quantum KEM (ML-KEM-768 with X25519), as specified in draft-ietf-hpke-pq-05.
P256HkdfSha256
Diffie-Hellman KEM(P-256, HKDF-SHA256) (KEM id 0x0010).
P521HkdfSha512
Diffie-Hellman KEM(P-521, HKDF-SHA512) (KEM id 0x0012).
X25519HkdfSha256
Diffie-Hellman KEM(X25519, HKDF-SHA256) (KEM id 0x0020).

Traits§

Kem
Key encapsulation mechanism (KEM) usable within an HPKE ciphersuite.