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::Macprimitive.
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
KeyTemplatethat generates a AES-CMAC key with the following parameters: - Return a
KeyTemplatethat generates a HMAC key with the following parameters: - Return a
KeyTemplatethat generates a HMAC key with the following parameters: - Return a
KeyTemplatethat generates a HMAC key with the following parameters: - Return a
KeyTemplatethat generates a HMAC key with the following parameters: - Initialize the
tink-daeadcrate, registering its primitives so they are available via Tink. - Create a
tink_core::Macprimitive from the given keyset handle.