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

Unified Diff: net/socket/nss_ssl_util.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: ... 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 side-by-side diff with in-line comments
Download patch
Index: net/socket/nss_ssl_util.h
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h
index 09ae3562cd77fa32c3360f3fe9a907586766b4d0..715312b02d576be9337192ee47f87ab59ebe4d34 100644
--- a/net/socket/nss_ssl_util.h
+++ b/net/socket/nss_ssl_util.h
@@ -27,6 +27,15 @@ void LogFailedNSSFunction(const BoundNetLog& net_log,
// Map network error code to NSS error code.
PRErrorCode MapErrorToNSS(int result);
+// GetNSSCipherOrder either returns NULL, to indicate the no special cipher
wtc 2013/11/22 01:14:16 indicate the => "indicate that" or remove "the"
agl 2013/11/22 17:53:49 Done.
+// order is required, or it returns a pointer to an array of cipher suite ids.
+// On return, |*out_length| is set to the length of the returned array.
+//
+// The array, if not NULL, indicates the preferred order of cipher suites but
+// inclusion in the array does not mean that the given cipher suite should
+// necessarily be enabled.
+const uint16* GetNSSCipherOrder(size_t* out_length);
+
// Map NSS error code to network error code.
int MapNSSError(PRErrorCode err);
« no previous file with comments | « base/cpu.cc ('k') | net/socket/nss_ssl_util.cc » ('j') | net/socket/nss_ssl_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698