Module ring::aead [−][src]
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
The chacha20-poly1305@openssh.com AEAD-ish construct.
QUIC Header Protection.
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
and
NonceSequence
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.
An authentication tag.
An AEAD key without a designated role or nonce sequence.
Constants
The maximum length of a tag for the algorithms in this module.
All the AEADs we support use 96-bit nonces.
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 7539.
Traits
An AEAD key bound to a nonce sequence.
A sequences of unique nonces.