| 23 | } |
| 24 | |
| 25 | type Curve interface { |
| 26 | Params() *CurveParams |
| 27 | IsOnCurve(x, y *big.Int) bool |
| 28 | Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int) |
| 29 | ScalarMult(x1, y1 *big.Int, k []byte) (x, y *big.Int) |
| 30 | ScalarBaseMult(k []byte) (x, y *big.Int) |
| 31 | } |
| 32 | |
| 33 | type CustomStandardCurve struct { |
| 34 | *CurveParams |
no outgoing calls
no test coverage detected