Skip to main content

Module hmac

Module hmac 

Source
Expand description

HMAC (FIPS 198-1) under a profile.

Structs§

Key
An HMAC key whose algorithm and length the profile admits. Its key material is held in the module’s HMAC context, which the module clears on drop. Its methods panic only if that context fails.
Tag
A full-length HMAC tag. Key::verify is the only constant-time comparison; comparing as_ref() bytes directly is not.