aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/crypto/subtle/constant_time.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/subtle/constant_time.go')
-rw-r--r--libgo/go/crypto/subtle/constant_time.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/crypto/subtle/constant_time.go b/libgo/go/crypto/subtle/constant_time.go
index 6f80e7c..11312b8 100644
--- a/libgo/go/crypto/subtle/constant_time.go
+++ b/libgo/go/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 {