]> Cypherpunks repositories - gostls13.git/commit
crypto/subtle: normalize constant time ops docs
authorFilippo Valsorda <hi@filippo.io>
Sun, 20 Jan 2019 21:18:04 +0000 (16:18 -0500)
committerFilippo Valsorda <filippo@golang.org>
Tue, 22 Jan 2019 19:40:30 +0000 (19:40 +0000)
commitef82ecd0f604f6323bcca6fc06ccd3ac94982c60
treeec70625643a5030d2156283ad04d744a1155270d
parent8d2e65d22408e9e1c6329485baf432be9300f410
crypto/subtle: normalize constant time ops docs

ConstantTimeCompare is fairly useless if you can't rely on it being zero
when the slices are different, but thankfully it has that property
thanks to the final ConstantTimeByteEq.

Change-Id: Id51100ed7d8237abbbb15778a259065b162a48ad
Reviewed-on: https://go-review.googlesource.com/c/158643
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/subtle/constant_time.go