Module tink_streaming_aead::subtle
source · Expand description
Provides subtle implementations of the Streaming AEAD primitive.
Modules
- Provide a reusable streaming AEAD framework.
Structs
AesCtrHmac
implements streaming AEAD encryption using AES-CTR and HMAC.AesGcmHkdf
implements streaming AEAD encryption using AES-GCM.
Enums
- Supported AES variants.
Constants
- The size of the HMAC key.
- The size of the nonce prefix.
- The size of the nonces used as IVs for CTR.
- The size of the randomly generated nonce prefix.
- The size of the nonces used for GCM.
- The size of the tags of each ciphertext segment.
Functions
- Check if the given key size is a valid AES key size.