1
0
mirror of https://github.com/golang/go synced 2024-11-27 05:11:22 -07:00

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>
This commit is contained in:
Jason Barnett 2016-05-24 15:50:02 -04:00 committed by Ian Lance Taylor
parent a8c6c4837c
commit 6662897b2a

View File

@ -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 {