MCPcopy
hub / github.com/OpenNHP/opennhp / IsOnCurve

Method IsOnCurve

endpoints/kgc/curve/curve.go:208–210  ·  view source on GitHub ↗
(x, y *big.Int)

Source from the content-addressed store, hash-verified

206}
207
208func (c *OfficialSM2Curve) IsOnCurve(x, y *big.Int) bool {
209 return c.curve.IsOnCurve(x, y)
210}
211
212func (c *OfficialSM2Curve) Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int) {
213 return c.curve.Add(x1, y1, x2, y2)

Callers

nothing calls this directly

Calls 1

IsOnCurveMethod · 0.65

Tested by

no test coverage detected