Expand description
Re-exports§
pub use crate::error::Error;
Modules§
- error
- Error types
- kdf
- Extended KDF functions for HPKE as defined in RFC 9180.
- kem
- Extended KEM functions for HPKE as defined in RFC 9180.
Structs§
- Context
- The HPKE cryptographic context.
- Encapsulated
Secret - The encapsulated secret produced by the KEM.
- Encapsulated
Secret Ref - The encapsulated secret produced by the KEM.
- Hpke
- The HPKE configuration.
- Hpke
Cipher Suite - A
ciphersuiteis a triple (KEM, KDF, AEAD) containing a choice of algorithm for each primitive. - Hpke
KeyPair - A HPKE public/private key pair.
- Hpke
Private Key - A HPKE private key (skX).
- Hpke
Private KeyRef - A HPKE private key (skX).
- Hpke
Public Key - A HPKE public key (pkX).
- Hpke
Public KeyRef - A HPKE public key (pkX).
- IkmRef
- The input keying material (IKM), see HKDF-Extract.
- Okm
- The output keying material (OKM), see HKDF-Expand.
- Prk
- A pseudorandom key (PRK) used in the KDF functions.
- PrkRef
- A pseudorandom key (PRK) used in the KDF functions.
- Recipient
- Marker type for
Contextthat indicates therecipientrole. - Sender
- Marker type for
Contextthat indicates thesenderrole. - Shared
Secret - The shared secret produced by the KEM.
- Shared
Secret Ref - The shared secret produced by the KEM.
- Unknown
Aead Algorithm - An unknown AEAD identifier.
- Unknown
Hpke KdfId - An unknown KDF identifier.
- Unknown
Hpke KemId - An unknown KEM identifier.
- Unknown
Hpke Mode - Error indicating an unknown HPKE mode.
Enums§
- Crypto
Error - Errors thrown by implementations.
- Hpke
Aead - AEAD cryptographic material.
- Hpke
Aead Id - HPKE Authenticated Encryption with Associated Data (AEAD) Functions identifiers.
- Hpke
KdfId - HPKE Key Derivation Functions (KDFs) identifiers.
- Hpke
KemId - HPKE Key Encapsulation Mechanisms (KEMs) identifiers.
- Hpke
Mode - The HPKE mode.
Traits§
- Crypto
- Cryptographic primitives for HPKE.