FIPS 198-1: The Keyed-Hash Message Authentication Code (HMAC)
What it covers
FIPS 198-1 specifies HMAC, a message authentication code built from a shared secret key and an approved hash function from FIPS 180-4 or FIPS 202. HMAC checks integrity and origin between parties that share the key, and is also the pseudorandom function inside many key-derivation functions and random bit generators.
FIPS 198-1 is issued by NIST. NIST's FIPS compliance FAQ (content last updated July 3, 2024) describes FIPS as standards for federal computer systems that are not always mandatory for federal agencies (each FIPS's applicability section says when it is), notes that FIPS do not apply to national security systems, and says private-sector organizations use them voluntarily, although companies with government contracts must comply with FISMA, which mandates the use of FIPS.
In a planning note dated June 23, 2025, NIST pointed to a Federal Register notice seeking feedback by July 23, 2025, on its plans to withdraw FIPS 198-1 and move its content into a new Special Publication, SP 800-224 (initial public draft June 28, 2024). This is a proposal: FIPS 198-1 has not been withdrawn. The stated plan is to move the HMAC specification into SP 800-224; teams citing FIPS 198-1 in requirements or validation evidence should track that change.
Timeline of key dates
| Date | Event |
|---|---|
| NIST published FIPS 198-1 as a final standard. | |
| NIST released the initial public draft of SP 800-224, intended to carry the HMAC specification. | |
| NIST posted a planning note about a Federal Register notice proposing to withdraw FIPS 198-1 and move its content into SP 800-224. | |
| Feedback on the proposed withdrawal was due. |
Relationship with other standards
NIST IR 8547 (October 2026) does not name HMAC in its body. Section 2.1.3 lists "data authentication using keyed-hash constructions" among the uses of NIST's symmetric algorithms, and says NIST does not expect to need to transition away from these standards as part of the post-quantum migration. HMAC is therefore not a post-quantum migration item in itself, although HMAC with a deprecated hash such as SHA-1 falls under the SHA-1 phase-out described on the FIPS 180-4 page.
HMAC is not a substitute for a digital signature: both parties hold the same key, so it cannot provide third-party verifiable signatures. Where HMAC is used as a pseudorandom function, see NIST SP 800-108, NIST SP 800-56C and NIST SP 800-90A.
Sources
- NIST, The Keyed-Hash Message Authentication Code (HMAC), FIPS 198-1, published July 16, 2008; planning note of June 23, 2025. FIPS 198-1 (PDF), CSRC publication page
- NIST, notice proposing the withdrawal of FIPS 198-1, Federal Register, 90 FR 26540, June 23, 2025 (comments due July 23, 2025). Federal Register notice
- NIST, SP 800-224, initial public draft, June 28, 2024. CSRC draft page
- NIST IR 8547, Transition to Post-Quantum Cryptography Standards, October 2026. NIST IR 8547 (PDF)
- NIST, Compliance FAQs: Federal Information Processing Standards (FIPS), content last updated July 3, 2024. NIST FIPS compliance FAQ