diff options
author | Jason Barnett <jason.w.barnett@gmail.com> | 2016-05-24 15:50:02 -0400 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2016-06-09 15:30:48 +0000 |
commit | 6662897b2a3260393fff9dcf64faf3abfc773181 (patch) | |
tree | a97705345481d7d72ce51a8615b6f4107d8a091d | |
parent | a8c6c4837c17ab4ec3ba78e40b9a72dc70d9cf5a (diff) | |
download | go-6662897b2a3260393fff9dcf64faf3abfc773181.tar.gz go-6662897b2a3260393fff9dcf64faf3abfc773181.zip |
crypto/subtle: expand abbreviation to eliminate confusion
Change-Id: I68d66fccf9cc8f7137c92b94820ce7d6f478a185
Reviewed-on: https://go-review.googlesource.com/23310
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r-- | src/crypto/subtle/constant_time.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/subtle/constant_time.go b/src/crypto/subtle/constant_time.go index 6f80e7c58d..11312b8dd4 100644 --- a/src/crypto/subtle/constant_time.go +++ b/src/crypto/subtle/constant_time.go @@ -6,7 +6,7 @@ // code but require careful thought to use correctly. package subtle -// ConstantTimeCompare returns 1 iff the two slices, x +// ConstantTimeCompare returns 1 if and only if the two slices, x // and y, have equal contents. The time taken is a function of the length of // the slices and is independent of the contents. func ConstantTimeCompare(x, y []byte) int { |