- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ConstantTimeLessOrEq (0.12 sec)
-
lib/fips140/v1.1.0-rc1.zip
max { max[i] = 0xff } if got := ConstantTimeLessOrEq(a, max); got != 1 { t.Errorf("ConstantTimeLessOrEq(%x, %x) = %d, want 1", a, max, got) } if got := ConstantTimeLessOrEq(b, max); got != 1 { t.Errorf("ConstantTimeLessOrEq(%x, %x) = %d, want 1", b, max, got) } if got := ConstantTimeLessOrEq(empty, max); got != 1 { t.Errorf("ConstantTimeLessOrEq(%x, %x) = %d, want 1", empty, max, got) } if got := ConstantTimeLessOrEq(max, max); got != 1 { t.Errorf("ConstantTimeLessOrEq(%x, %x) = %d, want 1", max, max,...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0) -
lib/fips140/v1.0.0-c2097c7c.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-c2097c7c/fips140/v1.0.0-c2097c7c/subtle/xor.go // Copyright...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K 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 Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (1)