Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mismatching (0.07 sec)

  1. lib/fips140/v1.0.0.zip

    bigmod.NewNat().SetBytes(D, c.N) if err != nil { return nil, err } priv := &PrivateKey{pub: *pub, d: d.Bytes(c.N)} if err := fipsPCT(c, priv); err != nil { // This can happen if the application went out of its way to make an // ecdsa.PrivateKey with a mismatching PublicKey. return nil, err } return priv, nil } func NewPublicKey[P Point[P]](c *Curve[P], Q []byte) (*PublicKey, error) { // SetBytes checks that Q is a valid point on the curve, and that its // coordinates are reduced modulo p, fulfilling the...
    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