U.S. flag   An unofficial archive of your favorite United States government website
Dot gov

Official websites do not use .rip
We are an unofficial archive, replace .rip by .gov in the URL to access the official website. Access our document index here.

Https

We are building a provable archive!
A lock (Dot gov) or https:// don't prove our archive is authentic, only that you securely accessed it. Note that we are working to fix that :)

This is an archive
(replace .gov by .rip)

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 February 24, 2022