diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-15 00:51:34 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-15 00:51:34 +0000 |
commit | 80096fe8895efbbc7b0fe8ca1580b03e03c57f0e (patch) | |
tree | 663c6d406852517ee07346d1f3d45f93f8091326 /net/third_party/nss/ssl/dtlscon.c | |
parent | 206a5f3ed884fd480fde01abca12c40d7886cf58 (diff) | |
download | chromium_src-80096fe8895efbbc7b0fe8ca1580b03e03c57f0e.zip chromium_src-80096fe8895efbbc7b0fe8ca1580b03e03c57f0e.tar.gz chromium_src-80096fe8895efbbc7b0fe8ca1580b03e03c57f0e.tar.bz2 |
Implement the AES GCM cipher suites for TLS.
The AES GCM cipher suites are disabled in DTLS. This will be fixed soon.
Disable the HMAC-SHA256 cipher suites so that our ClientHello doesn't
become too big.
Patch by Adam Langley.
R=agl@chromium.org,rsleevi@chromium.org
BUG=255241
TEST=none
Review URL: https://chromiumcodereview.appspot.com/21696002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/third_party/nss/ssl/dtlscon.c')
-rw-r--r-- | net/third_party/nss/ssl/dtlscon.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/third_party/nss/ssl/dtlscon.c b/net/third_party/nss/ssl/dtlscon.c index 78371e6..e86ae01 100644 --- a/net/third_party/nss/ssl/dtlscon.c +++ b/net/third_party/nss/ssl/dtlscon.c @@ -30,6 +30,13 @@ static const PRUint16 COMMON_MTU_VALUES[] = { /* List copied from ssl3con.c:cipherSuites */ static const ssl3CipherSuite nonDTLSSuites[] = { + /* XXX Make AES-GCM work with DTLS. */ +#ifdef NSS_ENABLE_ECC + TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, + TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, +#endif /* NSS_ENABLE_ECC */ + TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, + TLS_RSA_WITH_AES_128_GCM_SHA256, #ifdef NSS_ENABLE_ECC TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, |