Expand description
Provides subtle implementations of the tink_core::Aead
primitive.
Structs
AesCtr
is an implementation of AEAD interface.AesGcm
is an implementation of thetink_core::Aead
trait.AesGcmSiv
is an implementation of thetink_core::Aead
trait.ChaCha20Poly1305
is an implementation of thetink_core::Aead
trait.EncryptThenAuthenticate
performs an encrypt-then-MAC operation on plaintext and additional authenticated data (aad). The MAC is computed over (aad || ciphertext || size of aad). This implementation is based on http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha2-05.XChaCha20Poly1305
is an implementation of thetink_core::Aead
trait.
Constants
- The minimum IV size that this implementation supports.
- The only IV size that this implementation supports.
- The only IV size that this implementation supports.
- The only tag size that this implementation supports.
- The only tag size that this implementation supports.
- Size of a ChaCh20 key in bytes.
- Size of a ChaCh20 nonce in bytes.
- Size of an XChaCh20 key in bytes.
- Size of an XChaCh20 nonce in bytes.
Traits
- Trait bound to indicate that primitive trait objects should support cloning themselves as trait objects.
Functions
- Check if the given key size is a valid AES key size.