Skip to main content

Module hmac

Module hmac 

Source
Expand description

NIST FIPS 198-1 HMAC-SHA-256 keyed-hash message authentication code.

Shared primitive for both SP 800-90A Rev. 1 HMAC_DRBG(SHA-256) and FIPS 140-3 software integrity verification. Per FIPS 140-3 IG 10.2.A, HmacSha256::self_test MUST execute before any integrity verification that relies on this implementation.

Structsยง

HmacSha256
Streaming HMAC-SHA-256 authentication context (FIPS 198-1, Section 4).