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

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

Issue 75663004: net: boost AES-GCM ciphers if the machine has AES-NI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused variable Created 7 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
OLDNEW
1 /* 1 /*
2 * This file is PRIVATE to SSL and should be the first thing included by 2 * This file is PRIVATE to SSL and should be the first thing included by
3 * any SSL implementation file. 3 * any SSL implementation file.
4 * 4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public 5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 8
9 #ifndef __sslimpl_h_ 9 #ifndef __sslimpl_h_
10 #define __sslimpl_h_ 10 #define __sslimpl_h_
(...skipping 1654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1665 1665
1666 extern SECStatus ssl3_CipherPrefSetDefault(ssl3CipherSuite which, PRBool on); 1666 extern SECStatus ssl3_CipherPrefSetDefault(ssl3CipherSuite which, PRBool on);
1667 extern SECStatus ssl3_CipherPrefGetDefault(ssl3CipherSuite which, PRBool *on); 1667 extern SECStatus ssl3_CipherPrefGetDefault(ssl3CipherSuite which, PRBool *on);
1668 extern SECStatus ssl2_CipherPrefSetDefault(PRInt32 which, PRBool enabled); 1668 extern SECStatus ssl2_CipherPrefSetDefault(PRInt32 which, PRBool enabled);
1669 extern SECStatus ssl2_CipherPrefGetDefault(PRInt32 which, PRBool *enabled); 1669 extern SECStatus ssl2_CipherPrefGetDefault(PRInt32 which, PRBool *enabled);
1670 1670
1671 extern SECStatus ssl3_CipherPrefSet(sslSocket *ss, ssl3CipherSuite which, PRBool on); 1671 extern SECStatus ssl3_CipherPrefSet(sslSocket *ss, ssl3CipherSuite which, PRBool on);
1672 extern SECStatus ssl3_CipherPrefGet(sslSocket *ss, ssl3CipherSuite which, PRBool *on); 1672 extern SECStatus ssl3_CipherPrefGet(sslSocket *ss, ssl3CipherSuite which, PRBool *on);
1673 extern SECStatus ssl2_CipherPrefSet(sslSocket *ss, PRInt32 which, PRBool enabled ); 1673 extern SECStatus ssl2_CipherPrefSet(sslSocket *ss, PRInt32 which, PRBool enabled );
1674 extern SECStatus ssl2_CipherPrefGet(sslSocket *ss, PRInt32 which, PRBool *enable d); 1674 extern SECStatus ssl2_CipherPrefGet(sslSocket *ss, PRInt32 which, PRBool *enable d);
1675 extern SECStatus ssl3_CipherOrderSet(sslSocket *ss, const PRUint16 *cipher, size _t len);
wtc 2013/11/19 23:00:44 Nit: use "unsigned int" for |len|. Nit: it seems
agl 2013/11/20 18:21:07 Done.
1675 1676
1676 extern SECStatus ssl3_SetPolicy(ssl3CipherSuite which, PRInt32 policy); 1677 extern SECStatus ssl3_SetPolicy(ssl3CipherSuite which, PRInt32 policy);
1677 extern SECStatus ssl3_GetPolicy(ssl3CipherSuite which, PRInt32 *policy); 1678 extern SECStatus ssl3_GetPolicy(ssl3CipherSuite which, PRInt32 *policy);
1678 extern SECStatus ssl2_SetPolicy(PRInt32 which, PRInt32 policy); 1679 extern SECStatus ssl2_SetPolicy(PRInt32 which, PRInt32 policy);
1679 extern SECStatus ssl2_GetPolicy(PRInt32 which, PRInt32 *policy); 1680 extern SECStatus ssl2_GetPolicy(PRInt32 which, PRInt32 *policy);
1680 1681
1681 extern void ssl2_InitSocketPolicy(sslSocket *ss); 1682 extern void ssl2_InitSocketPolicy(sslSocket *ss);
1682 extern void ssl3_InitSocketPolicy(sslSocket *ss); 1683 extern void ssl3_InitSocketPolicy(sslSocket *ss);
1683 1684
1684 extern SECStatus ssl3_ConstructV2CipherSpecsHack(sslSocket *ss, 1685 extern SECStatus ssl3_ConstructV2CipherSpecsHack(sslSocket *ss,
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
1949 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) 1950 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS)
1950 #define SSL_GETPID getpid 1951 #define SSL_GETPID getpid
1951 #elif defined(WIN32) 1952 #elif defined(WIN32)
1952 extern int __cdecl _getpid(void); 1953 extern int __cdecl _getpid(void);
1953 #define SSL_GETPID _getpid 1954 #define SSL_GETPID _getpid
1954 #else 1955 #else
1955 #define SSL_GETPID() 0 1956 #define SSL_GETPID() 0
1956 #endif 1957 #endif
1957 1958
1958 #endif /* __sslimpl_h_ */ 1959 #endif /* __sslimpl_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698