Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for constantTimeAbs (0.09 sec)

  1. 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...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top