[][src]Crate tink_streaming_aead

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
AES_CTR_HMAC_TYPE_URL
AES_GCM_HKDF_KEY_VERSION
AES_GCM_HKDF_TYPE_URL
UPSTREAM_VERSION

The upstream Tink version that this Rust port is based on.

Functions

aes128_ctr_hmac_sha256_segment_1mb_key_template

Return a KeyTemplate that generates an AES-CTR-HMAC key with the following parameters:

aes128_ctr_hmac_sha256_segment_4kb_key_template

Return a KeyTemplate that generates an AES-CTR-HMAC key with the following parameters:

aes128_gcm_hkdf_1mb_key_template

Return a KeyTemplate that generates an AES-GCM key with the following parameters:

aes128_gcm_hkdf_4kb_key_template

Return a KeyTemplate that generates an AES-GCM key with the following parameters:

aes256_ctr_hmac_sha256_segment_1mb_key_template

Return a KeyTemplate that generates an AES-CTR-HMAC key with the following parameters:

aes256_ctr_hmac_sha256_segment_4kb_key_template

Return a KeyTemplate that generates an AES-CTR-HMAC key with the following parameters:

aes256_gcm_hkdf_1mb_key_template

Return a KeyTemplate that generates an AES-GCM key with the following parameters:

aes256_gcm_hkdf_4kb_key_template

Return a KeyTemplate that generates an AES-GCM key with the following parameters:

init
new

Return a tink_core::StreamingAead primitive from the given keyset handle.