- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for qInv (0.05 seconds)
-
lib/fips140/v1.26.0.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...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
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...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)