- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Nat (0.03 sec)
-
lib/fips140/v1.0.0.zip
size of m in bits. func (m *Modulus) BitLen() int { return m.nat.BitLenVarTime() } // Nat returns m as a 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...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)