- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GCDVarTime (0.07 sec)
-
lib/fips140/v1.0.0.zip
err := extendedGCD(a, m.nat) if err != nil { return x, false } if u.IsOne() == no { return x, false } return x.set(A), true } // GCDVarTime calculates x = GCD(a, b) where at least one of a or b is odd, and // both are non-zero. If GCDVarTime returns an error, x is not modified. // // The output will be resized to the size of the larger of a and b. func (x *Nat) GCDVarTime(a, b *Nat) (*Nat, error) { u, _, err := extendedGCD(a, b) if err != nil { return nil, err } return x.set(u), nil } // extendedGCD...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)