1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-22 20:32:05 +01:00

Remove support for generating EC keys over non-standard curve secp256k1

This commit is contained in:
Paul Schaub 2024-06-12 22:11:08 +02:00
parent dd3ef89a5c
commit e9c57a9ed9
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -18,7 +18,6 @@ enum class EllipticCurve(val curveName: String, val bitStrength: Int) {
_P521( _P521(
"secp521r1", "secp521r1",
521), // secp521r1 is equivalent to P-521, see https://tools.ietf.org/search/rfc4492#page-32 521), // secp521r1 is equivalent to P-521, see https://tools.ietf.org/search/rfc4492#page-32
_SECP256K1("secp256k1", 256),
_BRAINPOOLP256R1("brainpoolP256r1", 256), _BRAINPOOLP256R1("brainpoolP256r1", 256),
_BRAINPOOLP384R1("brainpoolP384r1", 384), _BRAINPOOLP384R1("brainpoolP384r1", 384),
_BRAINPOOLP512R1("brainpoolP512r1", 512), _BRAINPOOLP512R1("brainpoolP512r1", 512),