diff --git a/p2p/crypto/key.go b/p2p/crypto/key.go index 37f330b1b..3f7a27dc3 100644 --- a/p2p/crypto/key.go +++ b/p2p/crypto/key.go @@ -102,8 +102,6 @@ func GenerateEKeyPair(curveName string) ([]byte, GenSharedKey, error) { var curve elliptic.Curve switch curveName { - case "P-224": - curve = elliptic.P224() case "P-256": curve = elliptic.P256() case "P-384": diff --git a/p2p/crypto/secio/al.go b/p2p/crypto/secio/al.go index 071e75db6..9fc3833e3 100644 --- a/p2p/crypto/secio/al.go +++ b/p2p/crypto/secio/al.go @@ -18,7 +18,7 @@ import ( ) // List of supported ECDH curves -var SupportedExchanges = "P-256,P-224,P-384,P-521" +var SupportedExchanges = "P-256,P-384,P-521" // List of supported Ciphers var SupportedCiphers = "AES-256,AES-128,Blowfish"