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§
- chacha20_
poly1305_ openssh - The chacha20-poly1305@openssh.com AEAD-ish construct.
- quic
- QUIC Header Protection.
Structs§
- Aad
- The additionally authenticated data (AAD) for an opening or sealing operation. This data is authenticated but is not encrypted.
- Algorithm
- An AEAD Algorithm.
- Less
Safe Key - Immutable keys for use in situations where
OpeningKey
/SealingKey
andNonceSequence
cannot reasonably be used. - Nonce
- A nonce for a single AEAD opening or sealing operation.
- Opening
Key - An AEAD key for authenticating and decrypting (“opening”), bound to a nonce sequence.
- Sealing
Key - An AEAD key for encrypting and signing (“sealing”), bound to a nonce sequence.
- Tag
- A possibly valid authentication tag.
- Unbound
Key - An AEAD key without a designated role or nonce sequence.
Constants§
- MAX_
TAG_ LEN - The maximum length of a tag for the algorithms in this module.
- NONCE_
LEN - All the AEADs we support use 96-bit nonces.
Statics§
- AES_
128_ GCM - AES-128 in GCM mode with 128-bit tags and 96 bit nonces.
- AES_
256_ GCM - AES-256 in GCM mode with 128-bit tags and 96 bit nonces.
- CHACH
A20_ POLY1305 - ChaCha20-Poly1305 as described in RFC 8439.
Traits§
- Bound
Key - An AEAD key bound to a nonce sequence.
- Nonce
Sequence - A sequences of unique nonces.