mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 21:53:48 +01:00
4231729176
The major changes are to re-order some ciphers, to drop the ECDH suites (note: *not* ECDHE: ECDHE is still there), to kill off some made-up stuff (like the SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA suite), to drop some of the DSS suites... *and* to enable the ECDHE+GCM ciphersuites. This change is autogenerated by get_mozilla_ciphers.py from Firefox 28 and OpenSSL 1.0.1g. Resolves ticket 11438.
122 lines
4.0 KiB
C++
122 lines
4.0 KiB
C++
/* This is an include file used to define the list of ciphers clients should
|
|
* advertise. Before including it, you should define the CIPHER and XCIPHER
|
|
* macros.
|
|
*
|
|
* This file was automatically generated by get_mozilla_ciphers.py.
|
|
*/
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
|
|
CIPHER(0xc02b, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256)
|
|
#else
|
|
XCIPHER(0xc02b, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256)
|
|
#endif
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256
|
|
CIPHER(0xc02f, TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256)
|
|
#else
|
|
XCIPHER(0xc02f, TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256)
|
|
#endif
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
|
|
CIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
|
|
#else
|
|
XCIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
|
|
CIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
|
|
#else
|
|
XCIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA
|
|
CIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
|
|
#else
|
|
XCIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA
|
|
CIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
|
|
#else
|
|
XCIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA
|
|
CIPHER(0xc012, TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA)
|
|
#else
|
|
XCIPHER(0xc012, TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA
|
|
CIPHER(0xc007, TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA)
|
|
#else
|
|
XCIPHER(0xc007, TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA
|
|
CIPHER(0xc011, TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA)
|
|
#else
|
|
XCIPHER(0xc011, TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_DHE_RSA_WITH_AES_128_SHA
|
|
CIPHER(0x0033, TLS1_TXT_DHE_RSA_WITH_AES_128_SHA)
|
|
#else
|
|
XCIPHER(0x0033, TLS1_TXT_DHE_RSA_WITH_AES_128_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_DHE_DSS_WITH_AES_128_SHA
|
|
CIPHER(0x0032, TLS1_TXT_DHE_DSS_WITH_AES_128_SHA)
|
|
#else
|
|
XCIPHER(0x0032, TLS1_TXT_DHE_DSS_WITH_AES_128_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA
|
|
CIPHER(0x0045, TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA)
|
|
#else
|
|
XCIPHER(0x0045, TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_DHE_RSA_WITH_AES_256_SHA
|
|
CIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
|
|
#else
|
|
XCIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_DHE_DSS_WITH_AES_256_SHA
|
|
CIPHER(0x0038, TLS1_TXT_DHE_DSS_WITH_AES_256_SHA)
|
|
#else
|
|
XCIPHER(0x0038, TLS1_TXT_DHE_DSS_WITH_AES_256_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA
|
|
CIPHER(0x0088, TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA)
|
|
#else
|
|
XCIPHER(0x0088, TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA)
|
|
#endif
|
|
#ifdef SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA
|
|
CIPHER(0x0016, SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA)
|
|
#else
|
|
XCIPHER(0x0016, SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_RSA_WITH_AES_128_SHA
|
|
CIPHER(0x002f, TLS1_TXT_RSA_WITH_AES_128_SHA)
|
|
#else
|
|
XCIPHER(0x002f, TLS1_TXT_RSA_WITH_AES_128_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA
|
|
CIPHER(0x0041, TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA)
|
|
#else
|
|
XCIPHER(0x0041, TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_RSA_WITH_AES_256_SHA
|
|
CIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
|
|
#else
|
|
XCIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
|
|
#endif
|
|
#ifdef TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA
|
|
CIPHER(0x0084, TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA)
|
|
#else
|
|
XCIPHER(0x0084, TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA)
|
|
#endif
|
|
#ifdef SSL3_TXT_RSA_DES_192_CBC3_SHA
|
|
CIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
|
|
#else
|
|
XCIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
|
|
#endif
|
|
#ifdef SSL3_TXT_RSA_RC4_128_SHA
|
|
CIPHER(0x0005, SSL3_TXT_RSA_RC4_128_SHA)
|
|
#else
|
|
XCIPHER(0x0005, SSL3_TXT_RSA_RC4_128_SHA)
|
|
#endif
|
|
#ifdef SSL3_TXT_RSA_RC4_128_MD5
|
|
CIPHER(0x0004, SSL3_TXT_RSA_RC4_128_MD5)
|
|
#else
|
|
XCIPHER(0x0004, SSL3_TXT_RSA_RC4_128_MD5)
|
|
#endif
|