Expand description
This crate provides implementations of the tink_core::Mac
primitive.
MAC computes a tag for a given message that can be used to authenticate a message. MAC protects data integrity as well as provides for authenticity of the message.
Modules
- Provides subtle implementations of the
tink_core::Mac
primitive.
Constants
- Maximal version of AES-CMAC keys.
- Type URL of AES-CMAC keys that Tink supports.
- Maximal version of HMAC keys.
- Type URL of HMAC keys that Tink supports.
- The upstream Tink version that this Rust port is based on.
Functions
- Return a
KeyTemplate
that generates a AES-CMAC key with the following parameters: - Return a
KeyTemplate
that generates a HMAC key with the following parameters: - Return a
KeyTemplate
that generates a HMAC key with the following parameters: - Return a
KeyTemplate
that generates a HMAC key with the following parameters: - Return a
KeyTemplate
that generates a HMAC key with the following parameters: - Initialize the
tink-daead
crate, registering its primitives so they are available via Tink. - Create a
tink_core::Mac
primitive from the given keyset handle.