| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 #define TLS_RSA_WITH_AES_256_CBC_SHA 0x0035 | 170 #define TLS_RSA_WITH_AES_256_CBC_SHA 0x0035 |
| 171 #define TLS_DH_DSS_WITH_AES_256_CBC_SHA 0x0036 | 171 #define TLS_DH_DSS_WITH_AES_256_CBC_SHA 0x0036 |
| 172 #define TLS_DH_RSA_WITH_AES_256_CBC_SHA 0x0037 | 172 #define TLS_DH_RSA_WITH_AES_256_CBC_SHA 0x0037 |
| 173 #define TLS_DHE_DSS_WITH_AES_256_CBC_SHA 0x0038 | 173 #define TLS_DHE_DSS_WITH_AES_256_CBC_SHA 0x0038 |
| 174 #define TLS_DHE_RSA_WITH_AES_256_CBC_SHA 0x0039 | 174 #define TLS_DHE_RSA_WITH_AES_256_CBC_SHA 0x0039 |
| 175 #define TLS_DH_anon_WITH_AES_256_CBC_SHA 0x003A | 175 #define TLS_DH_anon_WITH_AES_256_CBC_SHA 0x003A |
| 176 #define TLS_RSA_WITH_NULL_SHA256 0x003B | 176 #define TLS_RSA_WITH_NULL_SHA256 0x003B |
| 177 #define TLS_RSA_WITH_AES_128_CBC_SHA256 0x003C | 177 #define TLS_RSA_WITH_AES_128_CBC_SHA256 0x003C |
| 178 #define TLS_RSA_WITH_AES_256_CBC_SHA256 0x003D | 178 #define TLS_RSA_WITH_AES_256_CBC_SHA256 0x003D |
| 179 | 179 |
| 180 #define TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 0x0040 |
| 180 #define TLS_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0041 | 181 #define TLS_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0041 |
| 181 #define TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA 0x0042 | 182 #define TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA 0x0042 |
| 182 #define TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0043 | 183 #define TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0043 |
| 183 #define TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA 0x0044 | 184 #define TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA 0x0044 |
| 184 #define TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0045 | 185 #define TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA 0x0045 |
| 185 #define TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA 0x0046 | 186 #define TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA 0x0046 |
| 186 | 187 |
| 187 #define TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA 0x0062 | 188 #define TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA 0x0062 |
| 188 #define TLS_RSA_EXPORT1024_WITH_RC4_56_SHA 0x0064 | 189 #define TLS_RSA_EXPORT1024_WITH_RC4_56_SHA 0x0064 |
| 189 | 190 |
| 190 #define TLS_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA 0x0063 | 191 #define TLS_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA 0x0063 |
| 191 #define TLS_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA 0x0065 | 192 #define TLS_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA 0x0065 |
| 192 #define TLS_DHE_DSS_WITH_RC4_128_SHA 0x0066 | 193 #define TLS_DHE_DSS_WITH_RC4_128_SHA 0x0066 |
| 193 #define TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 0x0067 | 194 #define TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 0x0067 |
| 195 #define TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 0x006A |
| 194 #define TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 0x006B | 196 #define TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 0x006B |
| 195 | 197 |
| 196 #define TLS_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0084 | 198 #define TLS_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0084 |
| 197 #define TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0085 | 199 #define TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0085 |
| 198 #define TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0086 | 200 #define TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0086 |
| 199 #define TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0087 | 201 #define TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0087 |
| 200 #define TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0088 | 202 #define TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0088 |
| 201 #define TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA 0x0089 | 203 #define TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA 0x0089 |
| 202 | 204 |
| 203 #define TLS_RSA_WITH_SEED_CBC_SHA 0x0096 | 205 #define TLS_RSA_WITH_SEED_CBC_SHA 0x0096 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe | 272 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe |
| 271 | 273 |
| 272 /* DTLS-SRTP cipher suites from RFC 5764 */ | 274 /* DTLS-SRTP cipher suites from RFC 5764 */ |
| 273 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ | 275 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ |
| 274 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 | 276 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 |
| 275 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 | 277 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 |
| 276 #define SRTP_NULL_HMAC_SHA1_80 0x0005 | 278 #define SRTP_NULL_HMAC_SHA1_80 0x0005 |
| 277 #define SRTP_NULL_HMAC_SHA1_32 0x0006 | 279 #define SRTP_NULL_HMAC_SHA1_32 0x0006 |
| 278 | 280 |
| 279 #endif /* __sslproto_h_ */ | 281 #endif /* __sslproto_h_ */ |
| OLD | NEW |