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

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

Issue 91913002: net: boost AES-GCM ciphers if the machine has AES-NI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add new symbol to .def Created 7 years 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 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1704 1704
1705 extern SECStatus ssl3_CipherPrefSetDefault(ssl3CipherSuite which, PRBool on); 1705 extern SECStatus ssl3_CipherPrefSetDefault(ssl3CipherSuite which, PRBool on);
1706 extern SECStatus ssl3_CipherPrefGetDefault(ssl3CipherSuite which, PRBool *on); 1706 extern SECStatus ssl3_CipherPrefGetDefault(ssl3CipherSuite which, PRBool *on);
1707 extern SECStatus ssl2_CipherPrefSetDefault(PRInt32 which, PRBool enabled); 1707 extern SECStatus ssl2_CipherPrefSetDefault(PRInt32 which, PRBool enabled);
1708 extern SECStatus ssl2_CipherPrefGetDefault(PRInt32 which, PRBool *enabled); 1708 extern SECStatus ssl2_CipherPrefGetDefault(PRInt32 which, PRBool *enabled);
1709 1709
1710 extern SECStatus ssl3_CipherPrefSet(sslSocket *ss, ssl3CipherSuite which, PRBool on); 1710 extern SECStatus ssl3_CipherPrefSet(sslSocket *ss, ssl3CipherSuite which, PRBool on);
1711 extern SECStatus ssl3_CipherPrefGet(sslSocket *ss, ssl3CipherSuite which, PRBool *on); 1711 extern SECStatus ssl3_CipherPrefGet(sslSocket *ss, ssl3CipherSuite which, PRBool *on);
1712 extern SECStatus ssl2_CipherPrefSet(sslSocket *ss, PRInt32 which, PRBool enabled ); 1712 extern SECStatus ssl2_CipherPrefSet(sslSocket *ss, PRInt32 which, PRBool enabled );
1713 extern SECStatus ssl2_CipherPrefGet(sslSocket *ss, PRInt32 which, PRBool *enable d); 1713 extern SECStatus ssl2_CipherPrefGet(sslSocket *ss, PRInt32 which, PRBool *enable d);
1714 extern SECStatus ssl3_CipherOrderSet(sslSocket *ss, const ssl3CipherSuite *ciphe r,
1715 unsigned int len);
1714 1716
1715 extern SECStatus ssl3_SetPolicy(ssl3CipherSuite which, PRInt32 policy); 1717 extern SECStatus ssl3_SetPolicy(ssl3CipherSuite which, PRInt32 policy);
1716 extern SECStatus ssl3_GetPolicy(ssl3CipherSuite which, PRInt32 *policy); 1718 extern SECStatus ssl3_GetPolicy(ssl3CipherSuite which, PRInt32 *policy);
1717 extern SECStatus ssl2_SetPolicy(PRInt32 which, PRInt32 policy); 1719 extern SECStatus ssl2_SetPolicy(PRInt32 which, PRInt32 policy);
1718 extern SECStatus ssl2_GetPolicy(PRInt32 which, PRInt32 *policy); 1720 extern SECStatus ssl2_GetPolicy(PRInt32 which, PRInt32 *policy);
1719 1721
1720 extern void ssl2_InitSocketPolicy(sslSocket *ss); 1722 extern void ssl2_InitSocketPolicy(sslSocket *ss);
1721 extern void ssl3_InitSocketPolicy(sslSocket *ss); 1723 extern void ssl3_InitSocketPolicy(sslSocket *ss);
1722 1724
1723 extern SECStatus ssl3_ConstructV2CipherSpecsHack(sslSocket *ss, 1725 extern SECStatus ssl3_ConstructV2CipherSpecsHack(sslSocket *ss,
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
1988 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) 1990 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS)
1989 #define SSL_GETPID getpid 1991 #define SSL_GETPID getpid
1990 #elif defined(WIN32) 1992 #elif defined(WIN32)
1991 extern int __cdecl _getpid(void); 1993 extern int __cdecl _getpid(void);
1992 #define SSL_GETPID _getpid 1994 #define SSL_GETPID _getpid
1993 #else 1995 #else
1994 #define SSL_GETPID() 0 1996 #define SSL_GETPID() 0
1995 #endif 1997 #endif
1996 1998
1997 #endif /* __sslimpl_h_ */ 1999 #endif /* __sslimpl_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698