OLD | NEW |
1 /* | 1 /* |
2 * Various and sundry protocol constants. DON'T CHANGE THESE. These values | 2 * Various and sundry protocol constants. DON'T CHANGE THESE. These values |
3 * are mostly defined by the SSL2, SSL3, or TLS protocol specifications. | 3 * are mostly defined by the SSL2, SSL3, or TLS protocol specifications. |
4 * Cipher kinds and ciphersuites are part of the public API. | 4 * Cipher kinds and ciphersuites are part of the public API. |
5 * | 5 * |
6 * This Source Code Form is subject to the terms of the Mozilla Public | 6 * This Source Code Form is subject to the terms of the Mozilla Public |
7 * License, v. 2.0. If a copy of the MPL was not distributed with this | 7 * License, v. 2.0. If a copy of the MPL was not distributed with this |
8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
9 /* $Id$ */ | 9 /* $Id$ */ |
10 | 10 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 #define TLS_DHE_DSS_WITH_AES_128_CBC_SHA 0x0032 | 127 #define TLS_DHE_DSS_WITH_AES_128_CBC_SHA 0x0032 |
128 #define TLS_DHE_RSA_WITH_AES_128_CBC_SHA 0x0033 | 128 #define TLS_DHE_RSA_WITH_AES_128_CBC_SHA 0x0033 |
129 #define TLS_DH_ANON_WITH_AES_128_CBC_SHA 0x0034 | 129 #define TLS_DH_ANON_WITH_AES_128_CBC_SHA 0x0034 |
130 | 130 |
131 #define TLS_RSA_WITH_AES_256_CBC_SHA 0x0035 | 131 #define TLS_RSA_WITH_AES_256_CBC_SHA 0x0035 |
132 #define TLS_DH_DSS_WITH_AES_256_CBC_SHA 0x0036 | 132 #define TLS_DH_DSS_WITH_AES_256_CBC_SHA 0x0036 |
133 #define TLS_DH_RSA_WITH_AES_256_CBC_SHA 0x0037 | 133 #define TLS_DH_RSA_WITH_AES_256_CBC_SHA 0x0037 |
134 #define TLS_DHE_DSS_WITH_AES_256_CBC_SHA 0x0038 | 134 #define TLS_DHE_DSS_WITH_AES_256_CBC_SHA 0x0038 |
135 #define TLS_DHE_RSA_WITH_AES_256_CBC_SHA 0x0039 | 135 #define TLS_DHE_RSA_WITH_AES_256_CBC_SHA 0x0039 |
136 #define TLS_DH_ANON_WITH_AES_256_CBC_SHA 0x003A | 136 #define TLS_DH_ANON_WITH_AES_256_CBC_SHA 0x003A |
| 137 #define TLS_RSA_WITH_NULL_SHA256 0x003B |
| 138 #define TLS_RSA_WITH_AES_128_CBC_SHA256 0x003C |
| 139 #define TLS_RSA_WITH_AES_256_CBC_SHA256 0x003D |
137 | 140 |
138 #define TLS_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0041 | 141 #define TLS_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0041 |
139 #define TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA 0x0042 | 142 #define TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA 0x0042 |
140 #define TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0043 | 143 #define TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0043 |
141 #define TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA 0x0044 | 144 #define TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA 0x0044 |
142 #define TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0045 | 145 #define TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0045 |
143 #define TLS_DH_ANON_WITH_CAMELLIA_128_CBC_SHA 0x0046 | 146 #define TLS_DH_ANON_WITH_CAMELLIA_128_CBC_SHA 0x0046 |
144 | 147 |
145 #define TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA 0x0062 | 148 #define TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA 0x0062 |
146 #define TLS_RSA_EXPORT1024_WITH_RC4_56_SHA 0x0064 | 149 #define TLS_RSA_EXPORT1024_WITH_RC4_56_SHA 0x0064 |
147 | 150 |
148 #define TLS_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA 0x0063 | 151 #define TLS_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA 0x0063 |
149 #define TLS_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA 0x0065 | 152 #define TLS_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA 0x0065 |
150 #define TLS_DHE_DSS_WITH_RC4_128_SHA 0x0066 | 153 #define TLS_DHE_DSS_WITH_RC4_128_SHA 0x0066 |
| 154 #define TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 0x0067 |
| 155 #define TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 0x006B |
151 | 156 |
152 #define TLS_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0084 | 157 #define TLS_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0084 |
153 #define TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0085 | 158 #define TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0085 |
154 #define TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0086 | 159 #define TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0086 |
155 #define TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0087 | 160 #define TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0087 |
156 #define TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0088 | 161 #define TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0088 |
157 #define TLS_DH_ANON_WITH_CAMELLIA_256_CBC_SHA 0x0089 | 162 #define TLS_DH_ANON_WITH_CAMELLIA_256_CBC_SHA 0x0089 |
158 | 163 |
159 #define TLS_RSA_WITH_SEED_CBC_SHA 0x0096 | 164 #define TLS_RSA_WITH_SEED_CBC_SHA 0x0096 |
160 | 165 |
(...skipping 29 matching lines...) Expand all Loading... |
190 #define TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA 0xC012 | 195 #define TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA 0xC012 |
191 #define TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA 0xC013 | 196 #define TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA 0xC013 |
192 #define TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA 0xC014 | 197 #define TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA 0xC014 |
193 | 198 |
194 #define TLS_ECDH_anon_WITH_NULL_SHA 0xC015 | 199 #define TLS_ECDH_anon_WITH_NULL_SHA 0xC015 |
195 #define TLS_ECDH_anon_WITH_RC4_128_SHA 0xC016 | 200 #define TLS_ECDH_anon_WITH_RC4_128_SHA 0xC016 |
196 #define TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA 0xC017 | 201 #define TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA 0xC017 |
197 #define TLS_ECDH_anon_WITH_AES_128_CBC_SHA 0xC018 | 202 #define TLS_ECDH_anon_WITH_AES_128_CBC_SHA 0xC018 |
198 #define TLS_ECDH_anon_WITH_AES_256_CBC_SHA 0xC019 | 203 #define TLS_ECDH_anon_WITH_AES_256_CBC_SHA 0xC019 |
199 | 204 |
| 205 #define TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 0xC023 |
| 206 #define TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 0xC027 |
| 207 |
200 /* Netscape "experimental" cipher suites. */ | 208 /* Netscape "experimental" cipher suites. */ |
201 #define SSL_RSA_OLDFIPS_WITH_3DES_EDE_CBC_SHA 0xffe0 | 209 #define SSL_RSA_OLDFIPS_WITH_3DES_EDE_CBC_SHA 0xffe0 |
202 #define SSL_RSA_OLDFIPS_WITH_DES_CBC_SHA 0xffe1 | 210 #define SSL_RSA_OLDFIPS_WITH_DES_CBC_SHA 0xffe1 |
203 | 211 |
204 /* New non-experimental openly spec'ed versions of those cipher suites. */ | 212 /* New non-experimental openly spec'ed versions of those cipher suites. */ |
205 #define SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA 0xfeff | 213 #define SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA 0xfeff |
206 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe | 214 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe |
207 | 215 |
208 /* DTLS-SRTP cipher suites from RFC 5764 */ | 216 /* DTLS-SRTP cipher suites from RFC 5764 */ |
209 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ | 217 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ |
210 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 | 218 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 |
211 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 | 219 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 |
212 #define SRTP_NULL_HMAC_SHA1_80 0x0005 | 220 #define SRTP_NULL_HMAC_SHA1_80 0x0005 |
213 #define SRTP_NULL_HMAC_SHA1_32 0x0006 | 221 #define SRTP_NULL_HMAC_SHA1_32 0x0006 |
214 | 222 |
215 #endif /* __sslproto_h_ */ | 223 #endif /* __sslproto_h_ */ |
OLD | NEW |