- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for pn (0.04 sec)
-
lib/fips140/v1.0.0.zip
p.BitLen() != q.BitLen() { priv.fipsApproved = false } // Check that pq ≡ 1 mod N (and that p < N and q < N). pN := bigmod.NewNat().ExpandFor(N) if _, err := pN.SetBytes(p.Nat().Bytes(p), N); err != nil { return errors.New("crypto/rsa: invalid prime") } qN := bigmod.NewNat().ExpandFor(N) if _, err := qN.SetBytes(q.Nat().Bytes(q), N); err != nil { return errors.New("crypto/rsa: invalid prime") } if pN.Mul(qN, N).IsZero() != 1 { return errors.New("crypto/rsa: p * q != n") } // Check that de ≡ 1 mod p-1, and...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)