Computer Security Resource Center

Computer Security Resource Center

Computer Security
Resource Center

Cryptographic Algorithm Validation Program

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


Validation List

HMAC Validation List


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 February 09, 2018