- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GCDVarTime (0.41 sec)
-
lib/fips140/v1.0.0-c2097c7c.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 Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.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 Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)