Module hmac

Source
Expand description

HMAC (Hash-based Message Authentication Code) – constant-time & allocation-free

• RFC 2104 / FIPS 198-1 compliant
• Secret-dependent work happens on stack-fixed buffers (≤ 144 bytes)
• Error paths burn the same CPU cycles as success paths

Structs§

Hmac
Constant-time HMAC implementation.