mirror of
https://github.com/ipxe/ipxe
synced 2026-02-11 22:00:06 +03:00
[tls] Add ECDHE cipher suites
Add ECDHE variants of the existing cipher suites, and lower the priority of the non-ECDHE variants. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -96,6 +96,12 @@ struct tls_header {
|
||||
#define TLS_RSA_WITH_AES_256_GCM_SHA384 0x009d
|
||||
#define TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 0x009e
|
||||
#define TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 0x009f
|
||||
#define TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA 0xc013
|
||||
#define TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA 0xc014
|
||||
#define TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 0xc027
|
||||
#define TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 0xc028
|
||||
#define TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 0xc02f
|
||||
#define TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 0xc030
|
||||
|
||||
/* TLS hash algorithm identifiers */
|
||||
#define TLS_MD5_ALGORITHM 1
|
||||
|
||||
Reference in New Issue
Block a user