- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewPrivateKeyWithPre (0.12 sec)
-
lib/fips140/v1.0.0.zip
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 pk, nil } // NewPrivateKeyWithPre creates a new RSA private key from the given // parameters, which include precomputed CRT values. func NewPrivateKeyWithPre(N []byte, e int, d, P, Q, dP, dQ, qInv []byte) (*PrivateKey, error) { n, err := bigmod.NewModulus(N) if err != nil { return nil, err } p, err := bigmod.NewModulus(P) 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)