Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: net/third_party/nss/ssl/sslproto.h

Issue 23619044: net: add ChaCha20+Poly1305 support to libssl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing wtc's comments. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/third_party/nss/ssl/sslinfo.c ('k') | net/third_party/nss/ssl/sslsock.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_ */
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/sslinfo.c ('k') | net/third_party/nss/ssl/sslsock.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698