Skip to content

Commit

Permalink
fixup! [crypto] Add EncodeCompressed, DecodepublicKeyCompressed to th…
Browse files Browse the repository at this point in the history
…e signer API
  • Loading branch information
huitseeker committed Aug 17, 2021
1 parent cb9aef6 commit a08b3c7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions crypto/ecdsa_test.go
Expand Up @@ -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{
Expand Down

0 comments on commit a08b3c7

Please sign in to comment.