From: Brad Fitzpatrick Date: Tue, 5 Jan 2016 16:56:16 +0000 (+0000) Subject: crypto/hmac: update link to FIPS HMAC spec X-Git-Tag: go1.6beta2~141 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=17ce03725cc549fc24e8972780d18ffd673f6b6c;p=gostls13.git 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 --- 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