Skip to main content

Module aead

Module aead 

Source
Expand description

AEAD algorithms for HPKE ciphersuites (draft-ietf-hpke-hpke-05 Section 5.2 and Section 7.3).

The AEADs registered by the specification are owned by the crypto crate and re-exported here, so users of this crate never need to depend on crypto directly:

HPKE-specific metadata (the AEAD identifier, message length limits, and the keyed constructor) is added through the Aead extension trait.

Structs§

Aes256Gcm
AES-256-GCM authenticated cipher.
ChaCha20Poly1305
ChaCha20-Poly1305 AEAD as specified in RFC 8439.
ExportOnly
Export-Only pseudo-AEAD (AEAD id 0xffff).

Traits§

Aead
HPKE ciphersuite binding for an AEAD algorithm.