]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/hmac: update link to FIPS HMAC spec
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 5 Jan 2016 16:56:16 +0000 (16:56 +0000)
committerRuss Cox <rsc@golang.org>
Wed, 6 Jan 2016 02:17:06 +0000 (02:17 +0000)
Thanks to Kevin Kirsche (github kkirsche).

Change-Id: Ia0017371f56065a5e88d1ebb800a6489136ee9b1
Reviewed-on: https://go-review.googlesource.com/18280
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/crypto/hmac/hmac.go

index e0cc1d6d2241331c02f2fd489e4c5efff5fb2c52..3b41cde0bd50f4684a84b7a89de274f53acafca1 100644 (file)
@@ -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