go/src/crypto/ecdsa/ecdsa_test.go

func testAllCurves(t *testing.T, f func(*testing.T, elliptic.Curve)) {}

// genericParamsForCurve returns the dereferenced CurveParams for
// the specified curve. This is used to avoid the logic for
// upgrading a curve to its specific implementation, forcing
// usage of the generic implementation.
func genericParamsForCurve(c elliptic.Curve) *elliptic.CurveParams {}

func TestKeyGeneration(t *testing.T) {}

func testKeyGeneration(t *testing.T, c elliptic.Curve) {}

func TestSignAndVerify(t *testing.T) {}

func testSignAndVerify(t *testing.T, c elliptic.Curve) {}

func TestSignAndVerifyASN1(t *testing.T) {}

func testSignAndVerifyASN1(t *testing.T, c elliptic.Curve) {}

func TestNonceSafety(t *testing.T) {}

func testNonceSafety(t *testing.T, c elliptic.Curve) {}

func TestINDCCA(t *testing.T) {}

func testINDCCA(t *testing.T, c elliptic.Curve) {}

func fromHex(s string) *big.Int {}

func TestVectors(t *testing.T) {}

func TestNegativeInputs(t *testing.T) {}

func testNegativeInputs(t *testing.T, curve elliptic.Curve) {}

func TestZeroHashSignature(t *testing.T) {}

func testZeroHashSignature(t *testing.T, curve elliptic.Curve) {}

func TestRandomPoint(t *testing.T) {}

func testRandomPoint[Point nistPoint[Point]](t *testing.T, c *nistCurve[Point]) {}

func TestHashToNat(t *testing.T) {}

func testHashToNat[Point nistPoint[Point]](t *testing.T, c *nistCurve[Point]) {}

func TestZeroSignature(t *testing.T) {}

func testZeroSignature(t *testing.T, curve elliptic.Curve) {}

func TestNegativeSignature(t *testing.T) {}

func testNegativeSignature(t *testing.T, curve elliptic.Curve) {}

func TestRPlusNSignature(t *testing.T) {}

func testRPlusNSignature(t *testing.T, curve elliptic.Curve) {}

func TestRMinusNSignature(t *testing.T) {}

func testRMinusNSignature(t *testing.T, curve elliptic.Curve) {}

func randomPointForCurve(curve elliptic.Curve, rand io.Reader) error {}

func benchmarkAllCurves(b *testing.B, f func(*testing.B, elliptic.Curve)) {}

func BenchmarkSign(b *testing.B) {}

func BenchmarkVerify(b *testing.B) {}

func BenchmarkGenerateKey(b *testing.B) {}