- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for qInv (0.33 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
modular inversion with prime modulus by Fermat's Little // Theorem: qInv = q⁻¹ mod p = q^(p-2) mod p. if p.Nat().IsOdd() == 0 { // [bigmod.Nat.Exp] requires an odd modulus. return nil, errors.New("crypto/rsa: p is even") } pMinusTwo := p.Nat().SubOne(p).SubOne(p).Bytes(p) qInv := bigmod.NewNat().Mod(q.Nat(), p) qInv.Exp(qInv, pMinusTwo, p) pk := &PrivateKey{ pub: PublicKey{ N: n, E: e, }, d: d, p: p, q: q, dP: dP, dQ: dQ, qInv: qInv, } if err := checkPrivateKey(pk); err != nil { return nil, err } return...
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
modular inversion with prime modulus by Fermat's Little // Theorem: qInv = q⁻¹ mod p = q^(p-2) mod p. if p.Nat().IsOdd() == 0 { // [bigmod.Nat.Exp] requires an odd modulus. return nil, errors.New("crypto/rsa: p is even") } pMinusTwo := p.Nat().SubOne(p).SubOne(p).Bytes(p) qInv := bigmod.NewNat().Mod(q.Nat(), p) qInv.Exp(qInv, pMinusTwo, p) pk := &PrivateKey{ pub: PublicKey{ N: n, E: e, }, d: d, p: p, q: q, dP: dP, dQ: dQ, qInv: qInv, } if err := checkPrivateKey(pk); err != nil { return nil, err } return...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0) -
api/go1.txt
pkg crypto/rsa, type PrecomputedValues struct, CRTValues []CRTValue pkg crypto/rsa, type PrecomputedValues struct, Dp *big.Int pkg crypto/rsa, type PrecomputedValues struct, Dq *big.Int pkg crypto/rsa, type PrecomputedValues struct, Qinv *big.Int pkg crypto/rsa, type PrivateKey struct pkg crypto/rsa, type PrivateKey struct, D *big.Int pkg crypto/rsa, type PrivateKey struct, Precomputed PrecomputedValues pkg crypto/rsa, type PrivateKey struct, Primes []*big.Int
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)