MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / Params

Method Params

crypto/secp256k1/curve.go:90–99  ·  view source on GitHub ↗

Params returns Koblitz Curve parameters.

()

Source from the content-addressed store, hash-verified

88
89// Params returns Koblitz Curve parameters.
90func (BitCurve *BitCurve) Params() *elliptic.CurveParams {
91 return &elliptic.CurveParams{
92 P: BitCurve.P,
93 N: BitCurve.N,
94 B: BitCurve.B,
95 Gx: BitCurve.Gx,
96 Gy: BitCurve.Gy,
97 BitSize: BitCurve.BitSize,
98 }
99}
100
101// IsOnCurve returns true if the given (x,y) lies on the BitCurve.
102func (BitCurve *BitCurve) IsOnCurve(x, y *big.Int) bool {

Callers 1

SignMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected