Skip to content

Instantly share code, notes, and snippets.

@atyachin
Created February 8, 2023 00:53
Show Gist options
  • Save atyachin/688e90ab539d74e52964e6de7e33619b to your computer and use it in GitHub Desktop.
Save atyachin/688e90ab539d74e52964e6de7e33619b to your computer and use it in GitHub Desktop.
Curl SSL/TLS EC Curves (CURLOPT_SSL_EC_CURVES) - OpenSSL
{
"sect163k1": {
"hex": "0x0001",
"dec": 1,
"alias": "K-163"
},
"sect163r1": {
"hex": "0x0002",
"dec": 2
},
"sect163r2": {
"hex": "0x0003",
"dec": 3,
"alias": "B-163"
},
"sect193r1": {
"hex": "0x0004",
"dec": 4
},
"sect193r2": {
"hex": "0x0005",
"dec": 5
},
"sect233k1": {
"hex": "0x0006",
"dec": 6,
"alias": "K-233"
},
"sect233r1": {
"hex": "0x0007",
"dec": 7,
"alias": "B-233"
},
"sect239k1": {
"hex": "0x0008",
"dec": 8
},
"sect283k1": {
"hex": "0x0009",
"dec": 9,
"alias": "K-283"
},
"sect283r1": {
"hex": "0x000A",
"dec": 10,
"alias": "B-283"
},
"sect409k1": {
"hex": "0x000B",
"dec": 11,
"alias": "K-409"
},
"sect409r1": {
"hex": "0x000C",
"dec": 12,
"alias": "B-409"
},
"sect571k1": {
"hex": "0x000D",
"dec": 13,
"alias": "K-571"
},
"sect571r1": {
"hex": "0x000E",
"dec": 14,
"alias": "B-571"
},
"secp160k1": {
"hex": "0x000F",
"dec": 15
},
"secp160r1": {
"hex": "0x0010",
"dec": 16
},
"secp160r2": {
"hex": "0x0011",
"dec": 17
},
"secp192k1": {
"hex": "0x0012",
"dec": 18
},
"secp192r1": {
"hex": "0x0013",
"dec": 19,
"alias": "P-192"
},
"secp224k1": {
"hex": "0x0014",
"dec": 20
},
"secp224r1": {
"hex": "0x0015",
"dec": 21,
"alias": "P-224"
},
"secp256k1": {
"hex": "0x0016",
"dec": 22
},
"secp256r1": {
"hex": "0x0017",
"dec": 23,
"alias": "P-256"
},
"secp384r1": {
"hex": "0x0018",
"dec": 24,
"alias": "P-384"
},
"secp521r1": {
"hex": "0x0019",
"dec": 25,
"alias": "P-521"
},
"brainpoolP256r1": {
"hex": "0x001A",
"dec": 26
},
"brainpoolP384r1": {
"hex": "0x001B",
"dec": 27
},
"brainpoolP512r1": {
"hex": "0x001C",
"dec": 28
},
"x25519": {
"hex": "0x001D",
"dec": 29
},
"x448": {
"hex": "0x001E",
"dec": 30
},
"brainpoolP256r1_tls13": {
"hex": "0x001F",
"dec": 31
},
"brainpoolP384r1_tls13": {
"hex": "0x0020",
"dec": 32
},
"brainpoolP512r1_tls13": {
"hex": "0x0021",
"dec": 33
},
"gc256A": {
"hex": "0x0022",
"dec": 34
},
"gc256B": {
"hex": "0x0023",
"dec": 35
},
"gc256C": {
"hex": "0x0024",
"dec": 36
},
"gc256D": {
"hex": "0x0025",
"dec": 37
},
"gc512A": {
"hex": "0x0026",
"dec": 38
},
"gc512B": {
"hex": "0x0027",
"dec": 39
},
"gc512C": {
"hex": "0x0028",
"dec": 40
},
"ffdhe2048": {
"hex": "0x0100",
"dec": 256
},
"ffdhe3072": {
"hex": "0x0101",
"dec": 257
},
"ffdhe4096": {
"hex": "0x0102",
"dec": 258
},
"ffdhe6144": {
"hex": "0x0103",
"dec": 259
},
"ffdhe8192": {
"hex": "0x0104",
"dec": 260
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment