mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Add short list of default EC curves to keep client_hello smaller
This commit is contained in:
parent
6f5cd7465b
commit
1342099614
1 changed files with 8 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue