1
0
mirror of https://github.com/golang/go synced 2024-11-08 14:46:20 -07:00
go/src/crypto/hmac
Adam Langley 69371671c7 crypto/hmac: don't test for length equality in Equal.
subtle.ConstantTimeCompare now tests the length of the inputs (although
it didn't when this code was written) so this test in crypto/hmac is now
superfluous.

Fixes #16336.

Change-Id: Ic02d8537e776fa1dd5694d3af07a28c4d840d14b
Reviewed-on: https://go-review.googlesource.com/27239
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-17 23:23:28 +00:00
..
hmac_test.go
hmac.go crypto/hmac: don't test for length equality in Equal. 2016-08-17 23:23:28 +00:00