Expand description
Authenticated Encryption with Associated Data (AEAD).
See Authenticated encryption: relations among notions and analysis of the generic composition paradigm for an introduction to the concept of AEADs.
Modules
- aes 🔒
- aes_gcm 🔒
- block 🔒
- chacha 🔒
- The [email protected] AEAD-ish construct.
- gcm 🔒
- nonce 🔒
- Authenticated Encryption with Associated Data (AEAD).
- poly1305 🔒
- QUIC Header Protection.
- Authenticated Encryption with Associated Data (AEAD).
- shift 🔒
- Authenticated Encryption with Associated Data (AEAD).
Structs
- The additionally authenticated data (AAD) for an opening or sealing operation. This data is authenticated but is not encrypted.
- An AEAD Algorithm.
- Immutable keys for use in situations where
OpeningKey
/SealingKey
andNonceSequence
cannot reasonably be used. - A nonce for a single AEAD opening or sealing operation.
- An AEAD key for authenticating and decrypting (“opening”), bound to a nonce sequence.
- An AEAD key for encrypting and signing (“sealing”), bound to a nonce sequence.
- A possibly valid authentication tag.
- An AEAD key without a designated role or nonce sequence.
Enums
- KeyInner 🔒
Constants
- The maximum length of a tag for the algorithms in this module.
- All the AEADs we support use 96-bit nonces.
- TAG_LEN 🔒
Statics
- AES-128 in GCM mode with 128-bit tags and 96 bit nonces.
- AES-256 in GCM mode with 128-bit tags and 96 bit nonces.
- ChaCha20-Poly1305 as described in RFC 8439.
Traits
- An AEAD key bound to a nonce sequence.
- A sequences of unique nonces.