func genericParamsForCurve(c Curve) *CurveParams { … }
func testAllCurves(t *testing.T, f func(*testing.T, Curve)) { … }
func TestOnCurve(t *testing.T) { … }
func TestOffCurve(t *testing.T) { … }
func TestInfinity(t *testing.T) { … }
func isInfinity(x, y *big.Int) bool { … }
func testInfinity(t *testing.T, curve Curve) { … }
func TestMarshal(t *testing.T) { … }
func TestUnmarshalToLargeCoordinates(t *testing.T) { … }
func testUnmarshalToLargeCoordinates(t *testing.T, curve Curve) { … }
func TestInvalidCoordinates(t *testing.T) { … }
func testInvalidCoordinates(t *testing.T, curve Curve) { … }
func TestMarshalCompressed(t *testing.T) { … }
func testMarshalCompressed(t *testing.T, curve Curve, x, y *big.Int, want []byte) { … }
func TestLargeIsOnCurve(t *testing.T) { … }
func benchmarkAllCurves(b *testing.B, f func(*testing.B, Curve)) { … }
func BenchmarkScalarBaseMult(b *testing.B) { … }
func BenchmarkScalarMult(b *testing.B) { … }
func BenchmarkMarshalUnmarshal(b *testing.B) { … }