1 /* This is an include file used to define the list of ciphers clients should
2 * advertise. Before including it, you should define the CIPHER and XCIPHER
4 #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
5 CIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
7 XCIPHER(0xc00a, TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA)
9 #ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA
10 CIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
12 XCIPHER(0xc014, TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA)
14 #ifdef TLS1_TXT_DHE_RSA_WITH_AES_256_SHA
15 CIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
17 XCIPHER(0x0039, TLS1_TXT_DHE_RSA_WITH_AES_256_SHA)
19 #ifdef TLS1_TXT_DHE_DSS_WITH_AES_256_SHA
20 CIPHER(0x0038, TLS1_TXT_DHE_DSS_WITH_AES_256_SHA)
22 XCIPHER(0x0038, TLS1_TXT_DHE_DSS_WITH_AES_256_SHA)
24 #ifdef TLS1_TXT_ECDH_RSA_WITH_AES_256_CBC_SHA
25 CIPHER(0xc00f, TLS1_TXT_ECDH_RSA_WITH_AES_256_CBC_SHA)
27 XCIPHER(0xc00f, TLS1_TXT_ECDH_RSA_WITH_AES_256_CBC_SHA)
29 #ifdef TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA
30 CIPHER(0xc005, TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA)
32 XCIPHER(0xc005, TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA)
34 #ifdef TLS1_TXT_RSA_WITH_AES_256_SHA
35 CIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
37 XCIPHER(0x0035, TLS1_TXT_RSA_WITH_AES_256_SHA)
39 #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA
40 CIPHER(0xc007, TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA)
42 XCIPHER(0xc007, TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA)
44 #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
45 CIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
47 XCIPHER(0xc009, TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA)
49 #ifdef TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA
50 CIPHER(0xc011, TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA)
52 XCIPHER(0xc011, TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA)
54 #ifdef TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA
55 CIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
57 XCIPHER(0xc013, TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA)
59 #ifdef TLS1_TXT_DHE_RSA_WITH_AES_128_SHA
60 CIPHER(0x0033, TLS1_TXT_DHE_RSA_WITH_AES_128_SHA)
62 XCIPHER(0x0033, TLS1_TXT_DHE_RSA_WITH_AES_128_SHA)
64 #ifdef TLS1_TXT_DHE_DSS_WITH_AES_128_SHA
65 CIPHER(0x0032, TLS1_TXT_DHE_DSS_WITH_AES_128_SHA)
67 XCIPHER(0x0032, TLS1_TXT_DHE_DSS_WITH_AES_128_SHA)
69 #ifdef TLS1_TXT_ECDH_RSA_WITH_RC4_128_SHA
70 CIPHER(0xc00c, TLS1_TXT_ECDH_RSA_WITH_RC4_128_SHA)
72 XCIPHER(0xc00c, TLS1_TXT_ECDH_RSA_WITH_RC4_128_SHA)
74 #ifdef TLS1_TXT_ECDH_RSA_WITH_AES_128_CBC_SHA
75 CIPHER(0xc00e, TLS1_TXT_ECDH_RSA_WITH_AES_128_CBC_SHA)
77 XCIPHER(0xc00e, TLS1_TXT_ECDH_RSA_WITH_AES_128_CBC_SHA)
79 #ifdef TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA
80 CIPHER(0xc002, TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA)
82 XCIPHER(0xc002, TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA)
84 #ifdef TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA
85 CIPHER(0xc004, TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA)
87 XCIPHER(0xc004, TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA)
89 #ifdef SSL3_TXT_RSA_RC4_128_MD5
90 CIPHER(0x0004, SSL3_TXT_RSA_RC4_128_MD5)
92 XCIPHER(0x0004, SSL3_TXT_RSA_RC4_128_MD5)
94 #ifdef SSL3_TXT_RSA_RC4_128_SHA
95 CIPHER(0x0005, SSL3_TXT_RSA_RC4_128_SHA)
97 XCIPHER(0x0005, SSL3_TXT_RSA_RC4_128_SHA)
99 #ifdef TLS1_TXT_RSA_WITH_AES_128_SHA
100 CIPHER(0x002f, TLS1_TXT_RSA_WITH_AES_128_SHA)
102 XCIPHER(0x002f, TLS1_TXT_RSA_WITH_AES_128_SHA)
104 #ifdef TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA
105 CIPHER(0xc008, TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA)
107 XCIPHER(0xc008, TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA)
109 #ifdef TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA
110 CIPHER(0xc012, TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA)
112 XCIPHER(0xc012, TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA)
114 #ifdef SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA
115 CIPHER(0x0016, SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA)
117 XCIPHER(0x0016, SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA)
119 #ifdef SSL3_TXT_EDH_DSS_DES_192_CBC3_SHA
120 CIPHER(0x0013, SSL3_TXT_EDH_DSS_DES_192_CBC3_SHA)
122 XCIPHER(0x0013, SSL3_TXT_EDH_DSS_DES_192_CBC3_SHA)
124 #ifdef TLS1_TXT_ECDH_RSA_WITH_DES_192_CBC3_SHA
125 CIPHER(0xc00d, TLS1_TXT_ECDH_RSA_WITH_DES_192_CBC3_SHA)
127 XCIPHER(0xc00d, TLS1_TXT_ECDH_RSA_WITH_DES_192_CBC3_SHA)
129 #ifdef TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA
130 CIPHER(0xc003, TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA)
132 XCIPHER(0xc003, TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA)
134 #ifdef SSL3_TXT_RSA_FIPS_WITH_3DES_EDE_CBC_SHA
135 CIPHER(0xfeff, SSL3_TXT_RSA_FIPS_WITH_3DES_EDE_CBC_SHA)
137 XCIPHER(0xfeff, SSL3_TXT_RSA_FIPS_WITH_3DES_EDE_CBC_SHA)
139 #ifdef SSL3_TXT_RSA_DES_192_CBC3_SHA
140 CIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)
142 XCIPHER(0x000a, SSL3_TXT_RSA_DES_192_CBC3_SHA)