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 π
- chacha20_poly1305 π
- The [email protected] AEAD-ish construct.
- gcm π
- less_safe_key π
- nonce π
- opening_key πAuthenticated Encryption with Associated Data (AEAD).
- poly1305 π
- QUIC Header Protection.
- sealing_key πAuthenticated Encryption with Associated Data (AEAD).
- shift π
- unbound_key π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§
- AlgorithmID π
- KeyInner π
Constants§
- MAX_KEY_LEN π
- 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.
Functions§
- max_input_len π