| 187 | } |
| 188 | |
| 189 | type OfficialSM2Curve struct { |
| 190 | curve elliptic.Curve |
| 191 | } |
| 192 | |
| 193 | func (c *OfficialSM2Curve) Params() *CurveParams { |
| 194 | A := new(big.Int).Mod(big.NewInt(-3), c.curve.Params().P) |
nothing calls this directly
no outgoing calls
no test coverage detected