- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for shiftMix (0.09 sec)
-
lib/fips140/v1.0.0.zip
Nat. func (m *Modulus) Nat() *Nat { // Make a copy so that the caller can't modify m.nat or alias it with // another Nat in a modulus operation. n := NewNat() n.set(m.nat) return n } // shiftIn calculates x = x << _W + y mod m. // // This assumes that x is already reduced mod m. // //go:norace func (x *Nat) shiftIn(y uint, m *Modulus) *Nat { d := NewNat().resetFor(m) // Eliminate bounds checks in the loop. size := len(m.nat.limbs) xLimbs := x.limbs[:size] dLimbs := d.limbs[:size] mLimbs := m.nat.limbs[:size]...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)