Add short list of default EC curves to keep client_hello smaller

This commit is contained in:
dmiller 2017-10-31 04:26:56 +00:00
parent 6f5cd7465b
commit 1342099614

View file

@ -161,6 +161,14 @@ ELLIPTIC_CURVES = {
arbitrary_explicit_char2_curves = 0xFF02,
}
-- Most likely set, supported by Firefox and Chrome
DEFAULT_ELLIPTIC_CURVES = {
"secp256r1",
"secp384r1",
"secp521r1",
"ecdh_x25519",
}
---
-- RFC 4492 section 5.1.2 "Supported Point Formats Extension".
EC_POINT_FORMATS = {