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

Unified Diff: net/third_party/nss/ssl/sslt.h

Issue 23299002: Make the AES-GCM cipher suites work in DTLS, by moving the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« net/third_party/nss/ssl/sslimpl.h ('K') | « net/third_party/nss/ssl/sslinfo.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/sslt.h
===================================================================
--- net/third_party/nss/ssl/sslt.h (revision 218090)
+++ net/third_party/nss/ssl/sslt.h (working copy)
@@ -103,7 +103,10 @@
ssl_mac_sha = 2,
ssl_hmac_md5 = 3, /* TLS HMAC version of mac_md5 */
ssl_hmac_sha = 4, /* TLS HMAC version of mac_sha */
- ssl_hmac_sha256 = 5
+ ssl_hmac_sha256 = 5,
+ ssl_hmac_sha384 = 6,
+ ssl_hmac_sha512 = 7,
wtc 2013/08/17 00:21:15 Question: to be future-proof, I added ssl_hmac_sha
Ryan Sleevi 2013/08/17 02:00:23 My preference would be not to introduce them until
wtc 2013/08/19 23:31:56 Done.
+ ssl_mac_aead = 8
} SSLMACAlgorithm;
typedef enum {
@@ -159,6 +162,9 @@
PRUint16 effectiveKeyBits;
/* MAC info */
+ /* AEAD ciphers don't have a MAC. For an AEAD cipher, macAlgorithmName
+ * is "AEAD", macAlgorithm is ssl_mac_aead, and macBits is the length in
+ * bits of the authentication tag. */
const char * macAlgorithmName;
SSLMACAlgorithm macAlgorithm;
PRUint16 macBits;
« net/third_party/nss/ssl/sslimpl.h ('K') | « net/third_party/nss/ssl/sslinfo.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698