- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for constantTimeAbs (0.09 seconds)
-
lib/fips140/v1.1.0-rc1.zip
returns yes if a == b, no otherwise, in constant time. func constantTimeSelectEq(a, b, yes, no uint32) uint32 { return uint32(constanttime.Select(constanttime.Eq(int32(a), int32(b)), int(yes), int(no))) } // constantTimeAbs returns the absolute value of x in constant time. func constantTimeAbs(x int32) uint32 { return uint32(constantTimeSelectLe(0, x, x, -x)) } golang.org/fips140@v1.1.0-rc1/fips140/v1.1.0-rc1/mldsa/field_test.go // Copyright 2025 The Go Authors. All rights reserved. // Use of this...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)