Expand description
This crate provides implementations of the streaming AEAD primitive.
AEAD encryption assures the confidentiality and authenticity of the data. This primitive is CPA secure.
Modules§
- subtle
- Provides subtle implementations of the Streaming AEAD primitive.
Constants§
- AES_
CTR_ HMAC_ KEY_ VERSION - Maximal version of AES-CTR-HMAC keys.
- AES_
CTR_ HMAC_ TYPE_ URL - Type URL of AES-CTR-HMAC keys that Tink supports.
- AES_
GCM_ HKDF_ KEY_ VERSION - Maximal version of AES-GCM-HKDF keys.
- AES_
GCM_ HKDF_ TYPE_ URL - Type URL of AES-GCM-HKDF keys that Tink supports.
- UPSTREAM_
VERSION - The upstream Tink version that this Rust port is based on.
Functions§
- aes128_
ctr_ hmac_ sha256_ segment_ 1mb_ key_ template - Return a
KeyTemplatethat generates an AES-CTR-HMAC key with the following parameters: - aes128_
ctr_ hmac_ sha256_ segment_ 4kb_ key_ template - Return a
KeyTemplatethat generates an AES-CTR-HMAC key with the following parameters: - aes128_
gcm_ hkdf_ 1mb_ key_ template - Return a
KeyTemplatethat generates an AES-GCM key with the following parameters: - aes128_
gcm_ hkdf_ 4kb_ key_ template - Return a
KeyTemplatethat generates an AES-GCM key with the following parameters: - aes256_
ctr_ hmac_ sha256_ segment_ 1mb_ key_ template - Return a
KeyTemplatethat generates an AES-CTR-HMAC key with the following parameters: - aes256_
ctr_ hmac_ sha256_ segment_ 4kb_ key_ template - Return a
KeyTemplatethat generates an AES-CTR-HMAC key with the following parameters: - aes256_
gcm_ hkdf_ 1mb_ key_ template - Return a
KeyTemplatethat generates an AES-GCM key with the following parameters: - aes256_
gcm_ hkdf_ 4kb_ key_ template - Return a
KeyTemplatethat generates an AES-GCM key with the following parameters: - init
- Initialize the
tink-streaming-aeadcrate, registering its primitives so they are available via tink-core. - new
- Return a
tink_core::StreamingAeadprimitive from the given keyset handle.