Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for constantTimeAbs (0.13 seconds)

  1. lib/fips140/v1.26.0.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.26.0/fips140/v1.26.0/mldsa/field_test.go // Copyright 2025 The Go Authors. All rights reserved. // Use of this source...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
Back to Top