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 | 9 |
10 #ifndef __sslproto_h_ | 10 #ifndef __sslproto_h_ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 #define TLS_ECDH_anon_WITH_AES_256_CBC_SHA 0xC019 | 206 #define TLS_ECDH_anon_WITH_AES_256_CBC_SHA 0xC019 |
207 | 207 |
208 #define TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 0xC023 | 208 #define TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 0xC023 |
209 #define TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 0xC027 | 209 #define TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 0xC027 |
210 | 210 |
211 #define TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 0xC02B | 211 #define TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 0xC02B |
212 #define TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 0xC02D | 212 #define TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 0xC02D |
213 #define TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 0xC02F | 213 #define TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 0xC02F |
214 #define TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 0xC031 | 214 #define TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 0xC031 |
215 | 215 |
| 216 #define TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 0xCC13 |
| 217 #define TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 0xCC14 |
| 218 |
216 /* Netscape "experimental" cipher suites. */ | 219 /* Netscape "experimental" cipher suites. */ |
217 #define SSL_RSA_OLDFIPS_WITH_3DES_EDE_CBC_SHA 0xffe0 | 220 #define SSL_RSA_OLDFIPS_WITH_3DES_EDE_CBC_SHA 0xffe0 |
218 #define SSL_RSA_OLDFIPS_WITH_DES_CBC_SHA 0xffe1 | 221 #define SSL_RSA_OLDFIPS_WITH_DES_CBC_SHA 0xffe1 |
219 | 222 |
220 /* New non-experimental openly spec'ed versions of those cipher suites. */ | 223 /* New non-experimental openly spec'ed versions of those cipher suites. */ |
221 #define SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA 0xfeff | 224 #define SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA 0xfeff |
222 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe | 225 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe |
223 | 226 |
224 /* DTLS-SRTP cipher suites from RFC 5764 */ | 227 /* DTLS-SRTP cipher suites from RFC 5764 */ |
225 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ | 228 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ |
226 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 | 229 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 |
227 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 | 230 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 |
228 #define SRTP_NULL_HMAC_SHA1_80 0x0005 | 231 #define SRTP_NULL_HMAC_SHA1_80 0x0005 |
229 #define SRTP_NULL_HMAC_SHA1_32 0x0006 | 232 #define SRTP_NULL_HMAC_SHA1_32 0x0006 |
230 | 233 |
231 #endif /* __sslproto_h_ */ | 234 #endif /* __sslproto_h_ */ |
OLD | NEW |