diff --git a/crypto/ecdsa_test.go b/crypto/ecdsa_test.go index 717c8d160f6..a79b2d3bb4d 100644 --- a/crypto/ecdsa_test.go +++ b/crypto/ecdsa_test.go @@ -25,18 +25,6 @@ func createSeed(t *testing.T) []byte { return seed } -// keyType returns an elliptic.Curve for an fcrypto.SigningAlgorithm if it exists -func ecdsaAlgoFromSA(sa SigningAlgorithm) (*ecdsaAlgo, error) { - switch sa { - case ECDSAP256: - return p256Instance, nil - case ECDSASecp256k1: - return secp256k1Instance, nil - default: - return nil, newInvalidInputsError("Input does not correspond to an ECDSA Algorithm") - } -} - // ECDSA tests func TestECDSA(t *testing.T) { ecdsaCurves := []SigningAlgorithm{