- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DivShortVarTime (0.46 sec)
-
lib/fips140/v1.1.0-rc1.zip
:= len(a.limbs) aLimbs := a.limbs[:size] for i := range size { aLimbs[i] >>= 1 if i+1 < size { aLimbs[i] |= aLimbs[i+1] << (_W - 1) } else { aLimbs[i] |= carry << (_W - 1) } } } // DivShortVarTime calculates x = x / y and returns the remainder. // // It panics if y is zero. // //go:norace func (x *Nat) DivShortVarTime(y uint) uint { if y == 0 { panic("bigmod: division by zero") } var r uint for i := len(x.limbs) - 1; i >= 0; i-- { x.limbs[i], r = bits.Div(r, x.limbs[i], y) } return r } golang.or...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0) -
lib/fips140/v1.0.0-c2097c7c.zip
:= len(a.limbs) aLimbs := a.limbs[:size] for i := range size { aLimbs[i] >>= 1 if i+1 < size { aLimbs[i] |= aLimbs[i+1] << (_W - 1) } else { aLimbs[i] |= carry << (_W - 1) } } } // DivShortVarTime calculates x = x / y and returns the remainder. // // It panics if y is zero. // //go:norace func (x *Nat) DivShortVarTime(y uint) uint { if y == 0 { panic("bigmod: division by zero") } var r uint for i := len(x.limbs) - 1; i >= 0; i-- { x.limbs[i], r = bits.Div(r, x.limbs[i], y) } return r } golang.or...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0)