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

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

Issue 11275240: Update net/third_party/nss/ssl to NSS 3.14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Upload before commit Created 8 years, 1 month 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/sslnonce.c ('k') | net/third_party/nss/ssl/sslreveal.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 * This Source Code Form is subject to the terms of the Mozilla Public
7 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 7 * License, v. 2.0. If a copy of the MPL was not distributed with this
8 * 8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 * The contents of this file are subject to the Mozilla Public License Version 9 /* $Id: sslproto.h,v 1.20 2012/06/07 02:06:19 wtc%google.com Exp $ */
10 * 1.1 (the "License"); you may not use this file except in compliance with
11 * the License. You may obtain a copy of the License at
12 * http://www.mozilla.org/MPL/
13 *
14 * Software distributed under the License is distributed on an "AS IS" basis,
15 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
16 * for the specific language governing rights and limitations under the
17 * License.
18 *
19 * The Original Code is the Netscape security libraries.
20 *
21 * The Initial Developer of the Original Code is
22 * Netscape Communications Corporation.
23 * Portions created by the Initial Developer are Copyright (C) 1994-2000
24 * the Initial Developer. All Rights Reserved.
25 *
26 * Contributor(s):
27 * Dr Vipul Gupta <vipul.gupta@sun.com>, Sun Microsystems Laboratories
28 *
29 * Alternatively, the contents of this file may be used under the terms of
30 * either the GNU General Public License Version 2 or later (the "GPL"), or
31 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
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
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
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
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.
40 *
41 * ***** END LICENSE BLOCK ***** */
42 /* $Id: sslproto.h,v 1.17 2012/03/13 02:39:11 wtc%google.com Exp $ */
43 10
44 #ifndef __sslproto_h_ 11 #ifndef __sslproto_h_
45 #define __sslproto_h_ 12 #define __sslproto_h_
46 13
47 /* All versions less than 3_0 are treated as SSL version 2 */ 14 /* All versions less than 3_0 are treated as SSL version 2 */
48 #define SSL_LIBRARY_VERSION_2 0x0002 15 #define SSL_LIBRARY_VERSION_2 0x0002
49 #define SSL_LIBRARY_VERSION_3_0 0x0300 16 #define SSL_LIBRARY_VERSION_3_0 0x0300
50 #define SSL_LIBRARY_VERSION_TLS_1_0 0x0301 17 #define SSL_LIBRARY_VERSION_TLS_1_0 0x0301
51 #define SSL_LIBRARY_VERSION_TLS_1_1 0x0302 18 #define SSL_LIBRARY_VERSION_TLS_1_1 0x0302
52 /* Note: this is the internal format, not the wire format */ 19 /* Note: this is the internal format, not the wire format */
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe 205 #define SSL_RSA_FIPS_WITH_DES_CBC_SHA 0xfefe
239 206
240 /* DTLS-SRTP cipher suites from RFC 5764 */ 207 /* DTLS-SRTP cipher suites from RFC 5764 */
241 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */ 208 /* If you modify this, also modify MAX_DTLS_SRTP_CIPHER_SUITES in sslimpl.h */
242 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001 209 #define SRTP_AES128_CM_HMAC_SHA1_80 0x0001
243 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002 210 #define SRTP_AES128_CM_HMAC_SHA1_32 0x0002
244 #define SRTP_NULL_HMAC_SHA1_80 0x0005 211 #define SRTP_NULL_HMAC_SHA1_80 0x0005
245 #define SRTP_NULL_HMAC_SHA1_32 0x0006 212 #define SRTP_NULL_HMAC_SHA1_32 0x0006
246 213
247 #endif /* __sslproto_h_ */ 214 #endif /* __sslproto_h_ */
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/sslnonce.c ('k') | net/third_party/nss/ssl/sslreveal.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698