From 17ce03725cc549fc24e8972780d18ffd673f6b6c Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 5 Jan 2016 16:56:16 +0000 Subject: [PATCH] crypto/hmac: update link to FIPS HMAC spec Thanks to Kevin Kirsche (github kkirsche). Change-Id: Ia0017371f56065a5e88d1ebb800a6489136ee9b1 Reviewed-on: https://go-review.googlesource.com/18280 Reviewed-by: Andrew Gerrand --- src/crypto/hmac/hmac.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/hmac/hmac.go b/src/crypto/hmac/hmac.go index e0cc1d6d22..3b41cde0bd 100644 --- a/src/crypto/hmac/hmac.go +++ b/src/crypto/hmac/hmac.go @@ -26,8 +26,8 @@ import ( "hash" ) -// FIPS 198: -// http://csrc.nist.gov/publications/fips/fips198/fips-198a.pdf +// FIPS 198-1: +// http://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf // key is zero padded to the block size of the hash function // ipad = 0x36 byte repeated for key length -- 2.50.0