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

Provides subtle implementations of the Streaming AEAD primitive.

Constants

Maximal version of AES-CTR-HMAC keys.

Type URL of AES-CTR-HMAC keys that Tink supports.

Maximal version of AES-GCM-HKDF keys.

Type URL of AES-GCM-HKDF keys that Tink supports.

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

Functions

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

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

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

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

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

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

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

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

Initialize the tink-streaming-aead crate, registering its primitives so they are available via tink-core.

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