rpanah / tlsparser

A parser for raw TLS records and TLS flows.
Apache License 2.0
4 stars 2 forks source link

support for OLD_TLS ciphers #14

Open rpanah opened 7 years ago

rpanah commented 7 years ago
OLD_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 (0xcc14)
OLD_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xcc13)
OLD_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xcc15) 
rpanah commented 7 years ago
    { 0x0080,  "TLS_GOSTR341094_WITH_28147_CNT_IMIT" },
    { 0x0081,  "TLS_GOSTR341001_WITH_28147_CNT_IMIT" },
    { 0x0082,  "TLS_GOSTR341094_WITH_NULL_GOSTR3411" },
    { 0x0083,  "TLS_GOSTR341001_WITH_NULL_GOSTR3411" },
rpanah commented 7 years ago

0xff85 and 0xff87

    {
     1,
     "GOST2012-GOST8912-GOST8912",
     0x0300ff85,
     SSL_kGOST,
     SSL_aGOST12 | SSL_aGOST01,
     SSL_eGOST2814789CNT12,
     SSL_GOST89MAC12,
     TLS1_VERSION, TLS1_2_VERSION,
     0, 0,
     SSL_HIGH,
     SSL_HANDSHAKE_MAC_GOST12_256 | TLS1_PRF_GOST12_256 | TLS1_STREAM_MAC,
     256,
     256,
     },
    {
     1,
     "GOST2012-NULL-GOST12",
     0x0300ff87,
     SSL_kGOST,
     SSL_aGOST12 | SSL_aGOST01,
     SSL_eNULL,
     SSL_GOST12_256,
     TLS1_VERSION, TLS1_2_VERSION,
     0, 0,
     SSL_STRONG_NONE,
     SSL_HANDSHAKE_MAC_GOST12_256 | TLS1_PRF_GOST12_256 | TLS1_STREAM_MAC,
     0,
     0,
     },
rpanah commented 7 years ago

Seed ciphers from https://tools.ietf.org/html/draft-lee-tls-seed-00

      CipherSuite TLS_RSA_WITH_SEED_CBC_SHA      = { 0x00,0x60};
      CipherSuite TLS_DH_DSS_WITH_SEED_CBC_SHA   = { 0x00,0x61);
      CipherSuite TLS_DH_RSA_WITH_SEED_CBC_SHA   = { 0x00,0x62);
      CipherSuite TLS_DHE_DSS_WITH_SEED_CBC_SHA  = { 0x00,0x63};
      CipherSuite TLS_DHE_RSA_WITH_SEED_CBC_SHA  = { 0x00,0x64};
      CipherSuite TLS_DH_anon_WITH_SEED_CBC_SHA  = { 0x00,0x65};