Expand description
Provides implementations of the AEAD primitive.
AEAD encryption assures the confidentiality and authenticity of the data. This primitive is CPA secure.
Modules
- Provides subtle implementations of the
tink_core::Aeadprimitive.
Structs
KmsEnvelopeAeadrepresents an instance of Envelope AEAD.
Constants
- Maximal version of AES-CTR-HMAC keys.
- Type URL of AES-CTR-HMAC keys that Tink supports.
- Maximal version of AES-GCM keys.
- Maximal version of AES-GCM-SIV keys.
- Type URL of AES-GCM-SIV keys that Tink supports.
- Type URL of AES-GCM keys that Tink supports.
- Maximal version of ChaCha20Poly1305 keys.
- Type URL of ChaCha20Poly1305 keys that Tink supports.
- Maximal version of KMS-wrapped keys.
- Type URL of KMS-wrapped keys that Tink supports.
- The upstream Tink version that this Rust port is based on.
- Maximal version of XChaCha20Poly1305 keys.
- Type URL of XChaCha20Poly1305 keys that Tink supports.
Functions
- Return a
KeyTemplatethat generates an AES-CTR-HMAC-AEAD key with the following parameters: - Return a
KeyTemplatethat generates an AES-GCM key with the following parameters: - Return a
KeyTemplatethat generates an AES-GCM-SIV key with the following parameters: - Return a
KeyTemplatethat generates an AES-CTR-HMAC-AEAD key with the following parameters: - Return a
KeyTemplatethat generates an AES-CTR-HMAC-AEAD key with the following parameters: - Return a
KeyTemplatethat generates an AES-GCM key with the following parameters: - Return a
KeyTemplatethat generates an AES-GCM key with the following parameters: - Return a
KeyTemplatethat generates an AES-GCM-SIV key with the following parameters: - Return a
KeyTemplatethat generates an AES-GCM-SIV key with the following parameters: - Return a
KeyTemplatethat generates a CHACHA20_POLY1305 key. - Initialize the
tink-aeadcrate, registering its primitives so they are available via tink-core. - Return a
KeyTemplatethat generates aKmsEnvelopeAeadkey for a given KEK in remote KMS. Keys generated by this key template uses RAW output prefix to make them compatible with the remote KMS’ encrypt/decrypt operations. Unlike other templates, when you generate new keys with this template, Tink does not generate new key material, but only creates a reference to the remote KEK. - Returns a
tink_core::Aeadprimitive from the given keyset handle. - Return a
KeyTemplatethat generates a XCHACHA20_POLY1305 key.