[−][src]Crate tink_mac
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
subtle | Provides subtle implementations of the |
Constants
CMAC_KEY_VERSION | Maximal version of AES-CMAC keys. |
CMAC_TYPE_URL | Type URL of AES-CMAC keys that Tink supports. |
HMAC_KEY_VERSION | Maximal version of HMAC keys. |
HMAC_TYPE_URL | Type URL of HMAC keys that Tink supports. |
UPSTREAM_VERSION | The upstream Tink version that this Rust port is based on. |
Functions
aes_cmac_tag128_key_template | Return a |
hmac_sha256_tag128_key_template | Return a |
hmac_sha256_tag256_key_template | Return a |
hmac_sha512_tag256_key_template | Return a |
hmac_sha512_tag512_key_template | Return a |
init | Initialize the |
new | Create a |