mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 01:17:04 +00:00
Add TLS 1.3 cipher suites
This commit is contained in:
parent
b1b339ff0f
commit
76cbb5cd15
2 changed files with 27 additions and 0 deletions
|
@ -656,6 +656,13 @@ ClientKeyExchange(16)
|
||||||
CipherSuite TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = { 0xCC,0xAD };
|
CipherSuite TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = { 0xCC,0xAD };
|
||||||
CipherSuite TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256 = { 0xCC,0xAE };
|
CipherSuite TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256 = { 0xCC,0xAE };
|
||||||
CipherSuite TLS_FALLBACK_SCSV = { 0x56,0x00 };
|
CipherSuite TLS_FALLBACK_SCSV = { 0x56,0x00 };
|
||||||
|
// New PSK ciphers introduced by TLS 1.3
|
||||||
|
// https://tlswg.github.io/tls13-spec/#rfc.appendix.A.4
|
||||||
|
CipherSuite TLS_AES_128_GCM_SHA256 = { 0x13,0x01 };
|
||||||
|
CipherSuite TLS_AES_256_GCM_SHA384 = { 0x13,0x02 };
|
||||||
|
CipherSuite TLS_CHACHA20_POLY1305_SHA256 = { 0x13,0x03 };
|
||||||
|
CipherSuite TLS_AES_128_CCM_SHA256 = { 0x13,0x04 };
|
||||||
|
CipherSuite TLS_AES_128_CCM_8_SHA256 = { 0x13,0x05 };
|
||||||
// DRAFT-IETF-TLS-ECC
|
// DRAFT-IETF-TLS-ECC
|
||||||
CipherSuite TLS_ECDH_ECDSA_WITH_NULL_SHA = { 0x00,0x47 };
|
CipherSuite TLS_ECDH_ECDSA_WITH_NULL_SHA = { 0x00,0x47 };
|
||||||
CipherSuite TLS_ECDH_ECDSA_WITH_RC4_128_SHA = { 0x00,0x48 };
|
CipherSuite TLS_ECDH_ECDSA_WITH_RC4_128_SHA = { 0x00,0x48 };
|
||||||
|
|
|
@ -1083,6 +1083,26 @@ decoder cipher_suite_decoder[]={
|
||||||
255,
|
255,
|
||||||
"TLS_EMPTY_RENEGOTIATION_INFO_SCSV",
|
"TLS_EMPTY_RENEGOTIATION_INFO_SCSV",
|
||||||
0 },
|
0 },
|
||||||
|
{
|
||||||
|
4865,
|
||||||
|
"TLS_AES_128_GCM_SHA256",
|
||||||
|
0 },
|
||||||
|
{
|
||||||
|
4866,
|
||||||
|
"TLS_AES_256_GCM_SHA384",
|
||||||
|
0 },
|
||||||
|
{
|
||||||
|
4867,
|
||||||
|
"TLS_CHACHA20_POLY1305_SHA256",
|
||||||
|
0 },
|
||||||
|
{
|
||||||
|
4868,
|
||||||
|
"TLS_AES_128_CCM_SHA256",
|
||||||
|
0 },
|
||||||
|
{
|
||||||
|
4869,
|
||||||
|
"TLS_AES_128_CCM_8_SHA256",
|
||||||
|
0 },
|
||||||
{
|
{
|
||||||
22016,
|
22016,
|
||||||
"TLS_FALLBACK_SCSV",
|
"TLS_FALLBACK_SCSV",
|
||||||
|
|
Loading…
Reference in a new issue