- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ConstantTimeLessOrEq (0.09 sec)
-
lib/fips140/v1.0.0.zip
!= len(y) { panic("subtle: slices have different lengths") } xmask := byte(v - 1) ymask := byte(^(v - 1)) for i := 0; i < len(x); i++ { x[i] = x[i]&xmask | y[i]&ymask } } // ConstantTimeLessOrEq returns 1 if x <= y and 0 otherwise. // Its behavior is undefined if x or y are negative or > 2**31 - 1. func ConstantTimeLessOrEq(x, y int) int { x32 := int32(x) y32 := int32(y) return int(((x32 - y32 - 1) >> 31) & 1) } golang.org/fips140@v1.0.0/fips140/v1.0.0/subtle/xor.go // Copyright 2022 The Go Authors....
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0) -
api/go1.2.txt
pkg crypto/sha256, func Sum224([]uint8) [28]uint8 pkg crypto/sha256, func Sum256([]uint8) [32]uint8 pkg crypto/sha512, func Sum384([]uint8) [48]uint8 pkg crypto/sha512, func Sum512([]uint8) [64]uint8 pkg crypto/subtle, func ConstantTimeLessOrEq(int, int) int pkg crypto/tls, const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = 49161 pkg crypto/tls, const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA uint16 pkg crypto/tls, const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 49195
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (0)