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

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: ... 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
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 #define TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0086 158 #define TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0086
159 #define TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0087 159 #define TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0087
160 #define TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0088 160 #define TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0088
161 #define TLS_DH_ANON_WITH_CAMELLIA_256_CBC_SHA 0x0089 161 #define TLS_DH_ANON_WITH_CAMELLIA_256_CBC_SHA 0x0089
162 162
163 #define TLS_RSA_WITH_SEED_CBC_SHA 0x0096 163 #define TLS_RSA_WITH_SEED_CBC_SHA 0x0096
164 164
165 #define TLS_RSA_WITH_AES_128_GCM_SHA256 0x009C 165 #define TLS_RSA_WITH_AES_128_GCM_SHA256 0x009C
166 #define TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 0x009E 166 #define TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 0x009E
167 #define TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 0x00A2 167 #define TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 0x00A2
168 #define TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 0xCC13
169 #define TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 0xCC14
wtc 2013/09/13 17:29:14 Move these after 0xC031 (line 216).
agl 2013/09/13 20:51:45 Done.
168 170
169 /* TLS "Signaling Cipher Suite Value" (SCSV). May be requested by client. 171 /* TLS "Signaling Cipher Suite Value" (SCSV). May be requested by client.
170 * Must NEVER be chosen by server. SSL 3.0 server acknowledges by sending 172 * Must NEVER be chosen by server. SSL 3.0 server acknowledges by sending
171 * back an empty Renegotiation Info (RI) server hello extension. 173 * back an empty Renegotiation Info (RI) server hello extension.
172 */ 174 */
173 #define TLS_EMPTY_RENEGOTIATION_INFO_SCSV 0x00FF 175 #define TLS_EMPTY_RENEGOTIATION_INFO_SCSV 0x00FF
174 176
175 /* Cipher Suite Values starting with 0xC000 are defined in informational 177 /* Cipher Suite Values starting with 0xC000 are defined in informational
176 * RFCs. 178 * RFCs.
177 */ 179 */
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe 224 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe
223 225
224 /* DTLS-SRTP cipher suites from RFC 5764 */ 226 /* DTLS-SRTP cipher suites from RFC 5764 */
225 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ 227 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */
226 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 228 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001
227 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 229 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002
228 #define SRTP_NULL_HMAC_SHA1_80 0x0005 230 #define SRTP_NULL_HMAC_SHA1_80 0x0005
229 #define SRTP_NULL_HMAC_SHA1_32 0x0006 231 #define SRTP_NULL_HMAC_SHA1_32 0x0006
230 232
231 #endif /* __sslproto_h_ */ 233 #endif /* __sslproto_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698