U.S. flag   An official website of the United States government

Cryptographic Algorithm Validation Program CAVP

CAVP Testing: Keyed-Hash Message Authentication Code (HMAC)

Algorithm Specifications

Algorithm information is available from the Cryptographic Toolkit page.

Algorithm Validation Testing Requirements

The algorithm validation testing requirements for FIPS 198-1 are specified in:

The Keyed-Hash Message Authentication Code (HMAC) Validation System (HMACVS).

Testing Notes

Test Vectors

Use of these test vectors does not replace validation obtained through the CAVP.

The test vectors linked below can be used to informally verify the correctness of a HMAC algorithm listed above.

HMAC Test Vectors

Created October 05, 2016, Updated March 08, 2021