- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for shiftedLimbs (0.96 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
Eliminate bounds checks in the loop. size := len(x.limbs) xLimbs := x.limbs[:size] shift := int(n % _W) shiftLimbs := int(n / _W) var shiftedLimbs []uint if shiftLimbs < size { shiftedLimbs = xLimbs[shiftLimbs:] } for i := range xLimbs { if i >= len(shiftedLimbs) { xLimbs[i] = 0 continue } 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...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
Eliminate bounds checks in the loop. size := len(x.limbs) xLimbs := x.limbs[:size] shift := int(n % _W) shiftLimbs := int(n / _W) var shiftedLimbs []uint if shiftLimbs < size { shiftedLimbs = xLimbs[shiftLimbs:] } for i := range xLimbs { if i >= len(shiftedLimbs) { xLimbs[i] = 0 continue } 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...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)