2008-06-13 00:39:13 +02:00
|
|
|
/* This is an include file used to define the list of ciphers clients should
|
2008-06-13 06:26:05 +02:00
|
|
|
* advertise. Before including it, you should define the CIPHER and XCIPHER
|
2012-05-15 21:25:54 +02:00
|
|
|
* macros.
|
|
|
|
*
|
2018-01-23 15:23:21 +01:00
|
|
|
* This file was automatically generated by get_mozilla_ciphers.py;
|
|
|
|
* TLSv1.3 ciphers were added manually.
|
2012-05-15 21:25:54 +02:00
|
|
|
*/
|
2018-01-23 15:23:21 +01:00
|
|
|
|
|
|
|
/* Here are the TLS1.3 ciphers. Note that we don't have XCIPHER instances
|
|
|
|
* here, since we don't want to ever fake them.
|
|
|
|
*/
|
|
|
|
#ifdef TLS1_3_TXT_AES_128_GCM_SHA256
|
|
|
|
CIPHER(0x1301, TLS1_3_TXT_AES_128_GCM_SHA256)
|
|
|
|
#endif
|
|
|
|
#ifdef TLS1_3_TXT_AES_256_GCM_SHA384
|
|
|
|
CIPHER(0x1302, TLS1_3_TXT_AES_256_GCM_SHA384)
|
|
|
|
#endif
|
|
|
|
#ifdef TLS1_3_TXT_CHACHA20_POLY1305_SHA256
|
|
|
|
CIPHER(0x1303, TLS1_3_TXT_CHACHA20_POLY1305_SHA256)
|
|
|
|
#endif
|
|
|
|
#ifdef TLS1_3_TXT_AES_128_CCM_SHA256
|
|
|
|
CIPHER(0x1304, TLS1_3_TXT_AES_128_CCM_SHA256)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Here's the machine-generated list. */
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
|
|
|
|
CIPHER(0xc02b, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256)
|
2012-05-15 21:25:54 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0xc02b, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256)
|
2012-05-15 21:25:54 +02:00
|
|
|
#endif
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256
|
|
|
|
CIPHER(0xc02f, TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256)
|
2008-06-13 00:39:13 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0xc02f, TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256)
|
2008-06-13 00:39:13 +02:00
|
|
|
#endif
|
2017-01-24 21:05:35 +01:00
|
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
|
|
|
|
CIPHER(0xcca9, TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
|
|
|
|
#else
|
|
|
|
XCIPHER(0xcca9, TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
|
|
|
|
#endif
|
|
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305
|
|
|
|
CIPHER(0xcca8, TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305)
|
|
|
|
#else
|
|
|
|
XCIPHER(0xcca8, TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305)
|
|
|
|
#endif
|
|
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
|
|
|
|
CIPHER(0xc02c, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384)
|
|
|
|
#else
|
|
|
|
XCIPHER(0xc02c, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384)
|
|
|
|
#endif
|
|
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384
|
|
|
|
CIPHER(0xc030, TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384)
|
|
|
|
#else
|
|
|
|
XCIPHER(0xc030, TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384)
|
|
|
|
#endif
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
|
|
|
|
CIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#endif
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
|
|
|
|
CIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#endif
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA
|
|
|
|
CIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#endif
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA
|
|
|
|
CIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
|
2012-05-15 21:25:54 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
|
2012-05-15 21:25:54 +02:00
|
|
|
#endif
|
2008-06-13 00:39:13 +02:00
|
|
|
#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
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef TLS1_TXT_DHE_RSA_WITH_AES_256_SHA
|
|
|
|
CIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
|
2012-05-15 21:25:54 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
|
2012-05-15 21:25:54 +02:00
|
|
|
#endif
|
2008-06-13 00:39:13 +02:00
|
|
|
#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
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef TLS1_TXT_RSA_WITH_AES_256_SHA
|
|
|
|
CIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#endif
|
2014-04-08 17:31:48 +02:00
|
|
|
#ifdef SSL3_TXT_RSA_DES_192_CBC3_SHA
|
|
|
|
CIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#else
|
2014-04-08 17:31:48 +02:00
|
|
|
XCIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
|
2008-06-13 00:39:13 +02:00
|
|
|
#endif
|