Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shiftLimbs (0.06 sec)

  1. lib/fips140/v1.0.0-c2097c7c.zip

    announced length of x is unchanged. // //go:norace func (x *Nat) ShiftRightVarTime(n uint) *Nat { // 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) } }...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  2. lib/fips140/v1.1.0-rc1.zip

    announced length of x is unchanged. // //go:norace func (x *Nat) ShiftRightVarTime(n uint) *Nat { // 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) } }...
    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