Go stdlib package — crypto/elliptic. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.CurveParams.Add()NeutralCurveParams.Add(x1 *big.Int, y1 *big.Int, x2 *big.Int, y2 *big.Int) (*big.Int, *big.Int)
Add implements Curve.Add.
.CurveParams.Double()NeutralCurveParams.Double(x1 *big.Int, y1 *big.Int) (*big.Int, *big.Int)
Double implements Curve.Double.
.CurveParams.IsOnCurve()NeutralCurveParams.IsOnCurve(x *big.Int, y *big.Int) bool
IsOnCurve implements Curve.IsOnCurve.
.CurveParams.ScalarBaseMult()NeutralCurveParams.ScalarBaseMult(k []byte) (*big.Int, *big.Int)
ScalarBaseMult implements Curve.ScalarBaseMult.
.CurveParams.ScalarMult()NeutralCurveParams.ScalarMult(Bx *big.Int, By *big.Int, k []byte) (*big.Int, *big.Int)
ScalarMult implements Curve.ScalarMult.
.GenerateKey()NeutralGenerateKey(curve Curve, rand io.Reader) ([]byte, *big.Int, *big.Int, error)
GenerateKey returns a public/private key pair. The private key is
.Marshal()NeutralMarshal(curve Curve, x *big.Int, y *big.Int) []byte
Marshal converts a point on the curve into the uncompressed form specified in
.MarshalCompressed()NeutralMarshalCompressed(curve Curve, x *big.Int, y *big.Int) []byte
MarshalCompressed converts a point on the curve into the compressed form
.P224()NeutralP224() Curve
P224 returns a Curve which implements NIST P-224 (FIPS 186-3, section D.2.2),
| FQN | Field | |
|---|---|---|
| crypto/elliptic | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # crypto/elliptic