Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BitLenVarTime (2.33 sec)

  1. lib/fips140/v1.0.0.zip

    xLimbs[i] = shiftedLimbs[i] >> shift if i+1 < len(shiftedLimbs) { xLimbs[i] |= shiftedLimbs[i+1] << (_W - shift) } } return x } // BitLenVarTime returns the actual size of x in bits. // // The actual size of x (but nothing more) leaks through timing side-channels. // Note that this is ordinarily secret, as opposed to the announced size of x. func (x *Nat) BitLenVarTime() int { // Eliminate bounds checks in the loop. size := len(x.limbs) xLimbs := x.limbs[:size] for i := size - 1; i >= 0; i-- { if...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top