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::verifyis the only constant-time comparison; comparingas_ref()bytes directly is not.