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

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

Issue 3177012: Update to NSS 3.12.7. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/sslmutex.c ('k') | net/third_party/nss/ssl/sslsnce.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 * ***** BEGIN LICENSE BLOCK ***** 6 * ***** BEGIN LICENSE BLOCK *****
7 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 7 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
8 * 8 *
9 * The contents of this file are subject to the Mozilla Public License Version 9 * The contents of this file are subject to the Mozilla Public License Version
10 * 1.1 (the "License"); you may not use this file except in compliance with 10 * 1.1 (the "License"); you may not use this file except in compliance with
(...skipping 21 matching lines...) Expand all
32 * in which case the provisions of the GPL or the LGPL are applicable instead 32 * in which case the provisions of the GPL or the LGPL are applicable instead
33 * of those above. If you wish to allow use of your version of this file only 33 * of those above. If you wish to allow use of your version of this file only
34 * under the terms of either the GPL or the LGPL, and not to allow others to 34 * under the terms of either the GPL or the LGPL, and not to allow others to
35 * use your version of this file under the terms of the MPL, indicate your 35 * use your version of this file under the terms of the MPL, indicate your
36 * decision by deleting the provisions above and replace them with the notice 36 * decision by deleting the provisions above and replace them with the notice
37 * and other provisions required by the GPL or the LGPL. If you do not delete 37 * and other provisions required by the GPL or the LGPL. If you do not delete
38 * the provisions above, a recipient may use your version of this file under 38 * the provisions above, a recipient may use your version of this file under
39 * the terms of any one of the MPL, the GPL or the LGPL. 39 * the terms of any one of the MPL, the GPL or the LGPL.
40 * 40 *
41 * ***** END LICENSE BLOCK ***** */ 41 * ***** END LICENSE BLOCK ***** */
42 /* $Id: sslproto.h,v 1.14 2010/01/28 06:19:12 nelson%bolyard.com Exp $ */ 42 /* $Id: sslproto.h,v 1.15 2010/02/16 18:56:48 wtc%google.com Exp $ */
43 43
44 #ifndef __sslproto_h_ 44 #ifndef __sslproto_h_
45 #define __sslproto_h_ 45 #define __sslproto_h_
46 46
47 /* All versions less than 3_0 are treated as SSL version 2 */ 47 /* All versions less than 3_0 are treated as SSL version 2 */
48 #define SSL_LIBRARY_VERSION_2 0x0002 48 #define SSL_LIBRARY_VERSION_2 0x0002
49 #define SSL_LIBRARY_VERSION_3_0 0x0300 49 #define SSL_LIBRARY_VERSION_3_0 0x0300
50 #define SSL_LIBRARY_VERSION_3_1_TLS 0x0301 50 #define SSL_LIBRARY_VERSION_3_1_TLS 0x0301
51 51
52 /* Header lengths of some of the messages */ 52 /* Header lengths of some of the messages */
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 #define TLS_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0084 175 #define TLS_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0084
176 #define TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0085 176 #define TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0085
177 #define TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0086 177 #define TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0086
178 #define TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0087 178 #define TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x0087
179 #define TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0088 179 #define TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x0088
180 #define TLS_DH_ANON_WITH_CAMELLIA_256_CBC_SHA 0x0089 180 #define TLS_DH_ANON_WITH_CAMELLIA_256_CBC_SHA 0x0089
181 181
182 #define TLS_RSA_WITH_SEED_CBC_SHA 0x0096 182 #define TLS_RSA_WITH_SEED_CBC_SHA 0x0096
183 183
184 /* TLS "Signalling Cipher Suite Value" (SCSV). May be requested by client. 184 /* TLS "Signaling Cipher Suite Value" (SCSV). May be requested by client.
185 * Must NEVER be chosen by server. SSL 3.0 server acknowledges by sending 185 * Must NEVER be chosen by server. SSL 3.0 server acknowledges by sending
186 * back an empty Renegotiation Info (RI) server hello extension. 186 * back an empty Renegotiation Info (RI) server hello extension.
187 */ 187 */
188 #define TLS_RENEGO_PROTECTION_REQUEST» » 0x00FF 188 #define TLS_EMPTY_RENEGOTIATION_INFO_SCSV» 0x00FF
189 189
190 /* Cipher Suite Values starting with 0xC000 are defined in informational 190 /* Cipher Suite Values starting with 0xC000 are defined in informational
191 * RFCs. 191 * RFCs.
192 */ 192 */
193 #define TLS_ECDH_ECDSA_WITH_NULL_SHA 0xC001 193 #define TLS_ECDH_ECDSA_WITH_NULL_SHA 0xC001
194 #define TLS_ECDH_ECDSA_WITH_RC4_128_SHA 0xC002 194 #define TLS_ECDH_ECDSA_WITH_RC4_128_SHA 0xC002
195 #define TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA 0xC003 195 #define TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA 0xC003
196 #define TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA 0xC004 196 #define TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA 0xC004
197 #define TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA 0xC005 197 #define TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA 0xC005
198 198
(...skipping 23 matching lines...) Expand all
222 222
223 /* Netscape "experimental" cipher suites. */ 223 /* Netscape "experimental" cipher suites. */
224 #define SSL_RSA_OLDFIPS_WITH_3DES_EDE_CBC_SHA 0xffe0 224 #define SSL_RSA_OLDFIPS_WITH_3DES_EDE_CBC_SHA 0xffe0
225 #define SSL_RSA_OLDFIPS_WITH_DES_CBC_SHA 0xffe1 225 #define SSL_RSA_OLDFIPS_WITH_DES_CBC_SHA 0xffe1
226 226
227 /* New non-experimental openly spec'ed versions of those cipher suites. */ 227 /* New non-experimental openly spec'ed versions of those cipher suites. */
228 #define SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA 0xfeff 228 #define SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA 0xfeff
229 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe 229 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe
230 230
231 #endif /* __sslproto_h_ */ 231 #endif /* __sslproto_h_ */
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/sslmutex.c ('k') | net/third_party/nss/ssl/sslsnce.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698