Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for InverseVarTime (0.15 sec)

  1. lib/fips140/v1.0.0.zip

    k != 0 { out.montgomeryMul(out, xR, m) } } return out.montgomeryReduction(m) } // InverseVarTime calculates x = a⁻¹ mod m and returns (x, true) if a is // invertible. Otherwise, InverseVarTime returns (x, false) and x is not // modified. // // a must be reduced modulo m, but doesn't need to have the same size. The // output will be resized to the size of m and overwritten. // //go:norace func (x *Nat) InverseVarTime(a *Nat, m *Modulus) (*Nat, bool) { u, A, err := extendedGCD(a, m.nat) if err != nil...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top