Blame SOURCES/nss-reorder-cipher-suites.patch

c6cc0b
diff -up nss/lib/ssl/ssl3con.c.reorder-cipher-suites nss/lib/ssl/ssl3con.c
c6cc0b
--- nss/lib/ssl/ssl3con.c.reorder-cipher-suites	2017-04-26 11:47:33.690047402 +0200
c6cc0b
+++ nss/lib/ssl/ssl3con.c	2017-04-26 11:51:51.103013632 +0200
c6cc0b
@@ -91,54 +91,44 @@ PRBool ssl_IsRsaPssSignatureScheme(SSLSi
5f1c2b
 /* clang-format off */
5f1c2b
 static ssl3CipherSuiteCfg cipherSuites[ssl_V3_SUITES_IMPLEMENTED] = {
5f1c2b
    /*      cipher_suite                     policy       enabled   isPresent */
5f1c2b
- /* Special TLS 1.3 suites. */
5f1c2b
- { TLS_AES_128_GCM_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE },
5f1c2b
- { TLS_CHACHA20_POLY1305_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE },
5f1c2b
- { TLS_AES_256_GCM_SHA384, SSL_ALLOWED, PR_TRUE, PR_FALSE },
5f1c2b
-
5f1c2b
- { TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,   SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,   SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
  { TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
-   /* TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA is out of order to work around
5f1c2b
-    * bug 946147.
5f1c2b
-    */
5f1c2b
  { TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,    SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
+ { TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
+ { TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE},
c6cc0b
+ { TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
  { TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,    SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,      SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
  { TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,   SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
+ { TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
+ { TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,        SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
+ { TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,      SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
+ { TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,   SSL_ALLOWED, PR_TRUE, PR_FALSE},
c6cc0b
+ { TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,   SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
+ { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,      SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
+ { TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,   SSL_ALLOWED, PR_TRUE, PR_FALSE},
5f1c2b
  { TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
- { TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,        SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_ECDHE_RSA_WITH_RC4_128_SHA,          SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
-
c6cc0b
+ { TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
+ { TLS_DHE_DSS_WITH_AES_256_GCM_SHA384,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
+ { TLS_DHE_RSA_WITH_AES_256_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
+ { TLS_DHE_DSS_WITH_AES_256_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
+ { TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,     SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
+ { TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
+ { TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
+ { TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
  { TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,     SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
  { TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256,SSL_ALLOWED,PR_TRUE,  PR_FALSE},
c6cc0b
  { TLS_DHE_DSS_WITH_AES_128_GCM_SHA256,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
- { TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
- { TLS_DHE_DSS_WITH_AES_256_GCM_SHA384,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
  { TLS_DHE_RSA_WITH_AES_128_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
  { TLS_DHE_DSS_WITH_AES_128_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
  { TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,     SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
  { TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
  { TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
  { TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
- { TLS_DHE_RSA_WITH_AES_256_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
- { TLS_DHE_DSS_WITH_AES_256_CBC_SHA,        SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
- { TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,     SSL_ALLOWED, PR_TRUE,  PR_FALSE},
c6cc0b
- { TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
- { TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
- { TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,   SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,       SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
  { TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,       SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
  { TLS_DHE_DSS_WITH_RC4_128_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
-
c6cc0b
  { TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
  { TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,     SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
@@ -147,27 +137,21 @@ static ssl3CipherSuiteCfg cipherSuites[s
5f1c2b
  { TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,      SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_ECDH_ECDSA_WITH_RC4_128_SHA,         SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_ECDH_RSA_WITH_RC4_128_SHA,           SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
-
5f1c2b
- /* RSA */
5f1c2b
- { TLS_RSA_WITH_AES_128_GCM_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_AES_256_GCM_SHA384,         SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
- { TLS_RSA_WITH_AES_128_CBC_SHA,            SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
- { TLS_RSA_WITH_AES_128_CBC_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
- { TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_AES_256_CBC_SHA,            SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_AES_256_CBC_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
+ { TLS_RSA_WITH_AES_128_GCM_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
+ { TLS_RSA_WITH_AES_128_CBC_SHA,            SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
+ { TLS_RSA_WITH_AES_128_CBC_SHA256,         SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
+ { TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,       SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_SEED_CBC_SHA,               SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_3DES_EDE_CBC_SHA,           SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_RC4_128_SHA,                SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_RC4_128_MD5,                SSL_ALLOWED, PR_TRUE,  PR_FALSE},
5f1c2b
-
5f1c2b
- /* 56-bit DES "domestic" cipher suites */
5f1c2b
  { TLS_DHE_RSA_WITH_DES_CBC_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_DHE_DSS_WITH_DES_CBC_SHA,            SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_DES_CBC_SHA,                SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
-
5f1c2b
- /* ciphersuites with no encryption */
5f1c2b
  { TLS_ECDHE_ECDSA_WITH_NULL_SHA,           SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_ECDHE_RSA_WITH_NULL_SHA,             SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_ECDH_RSA_WITH_NULL_SHA,              SSL_ALLOWED, PR_FALSE, PR_FALSE},
c6cc0b
@@ -175,6 +159,9 @@ static ssl3CipherSuiteCfg cipherSuites[s
5f1c2b
  { TLS_RSA_WITH_NULL_SHA,                   SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_NULL_SHA256,                SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
  { TLS_RSA_WITH_NULL_MD5,                   SSL_ALLOWED, PR_FALSE, PR_FALSE},
5f1c2b
+ { TLS_AES_128_GCM_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE },
5f1c2b
+ { TLS_CHACHA20_POLY1305_SHA256, SSL_ALLOWED, PR_TRUE, PR_FALSE },
5f1c2b
+ { TLS_AES_256_GCM_SHA384, SSL_ALLOWED, PR_TRUE, PR_FALSE },
5f1c2b
 };
5f1c2b
 /* clang-format on */
5f1c2b
 
c6cc0b
diff -up nss/lib/ssl/sslenum.c.reorder-cipher-suites nss/lib/ssl/sslenum.c
c6cc0b
--- nss/lib/ssl/sslenum.c.reorder-cipher-suites	2017-04-26 11:46:50.215066457 +0200
c6cc0b
+++ nss/lib/ssl/sslenum.c	2017-04-26 11:47:09.362617638 +0200
c6cc0b
@@ -55,53 +55,44 @@
5f1c2b
  * the third one.
5f1c2b
  */
5f1c2b
 const PRUint16 SSL_ImplementedCiphers[] = {
5f1c2b
-    TLS_AES_128_GCM_SHA256,
5f1c2b
-    TLS_CHACHA20_POLY1305_SHA256,
5f1c2b
-    TLS_AES_256_GCM_SHA384,
5f1c2b
-
5f1c2b
-    TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
5f1c2b
-    TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
5f1c2b
-    TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,
5f1c2b
-    TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
5f1c2b
     TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
5f1c2b
-    TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
5f1c2b
-    /* TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA must appear before
5f1c2b
-     * TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA to work around bug 946147.
5f1c2b
-     */
5f1c2b
     TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
5f1c2b
+    TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,
5f1c2b
+    TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
c6cc0b
+    TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,
5f1c2b
     TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
5f1c2b
-    TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
5f1c2b
     TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
5f1c2b
-    TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
5f1c2b
+    TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,
5f1c2b
+    TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
5f1c2b
+    TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
5f1c2b
     TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
5f1c2b
-    TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,
5f1c2b
     TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,
5f1c2b
-    TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,
5f1c2b
+    TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
c6cc0b
+    TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
5f1c2b
+    TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
5f1c2b
+    TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
5f1c2b
     TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,
5f1c2b
-    TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
5f1c2b
     TLS_ECDHE_RSA_WITH_RC4_128_SHA,
5f1c2b
-
c6cc0b
+    TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,
c6cc0b
+    TLS_DHE_DSS_WITH_AES_256_GCM_SHA384,
c6cc0b
+    TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
c6cc0b
+    TLS_DHE_DSS_WITH_AES_256_CBC_SHA,
c6cc0b
+    TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,
c6cc0b
+    TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,
c6cc0b
+    TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,
c6cc0b
+    TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,
c6cc0b
     TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
c6cc0b
     TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
c6cc0b
     TLS_DHE_DSS_WITH_AES_128_GCM_SHA256,
c6cc0b
-    TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,
c6cc0b
-    TLS_DHE_DSS_WITH_AES_256_GCM_SHA384,
c6cc0b
     TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
c6cc0b
     TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
c6cc0b
     TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,
c6cc0b
     TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,
c6cc0b
     TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,
c6cc0b
     TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,
c6cc0b
-    TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
c6cc0b
-    TLS_DHE_DSS_WITH_AES_256_CBC_SHA,
c6cc0b
-    TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,
c6cc0b
-    TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,
c6cc0b
-    TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,
c6cc0b
-    TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,
5f1c2b
     TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,
5f1c2b
     TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,
5f1c2b
     TLS_DHE_DSS_WITH_RC4_128_SHA,
5f1c2b
-
c6cc0b
     TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,
c6cc0b
     TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,
5f1c2b
     TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,
c6cc0b
@@ -110,26 +101,21 @@ const PRUint16 SSL_ImplementedCiphers[]
5f1c2b
     TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,
5f1c2b
     TLS_ECDH_ECDSA_WITH_RC4_128_SHA,
5f1c2b
     TLS_ECDH_RSA_WITH_RC4_128_SHA,
5f1c2b
-
5f1c2b
-    TLS_RSA_WITH_AES_128_GCM_SHA256,
5f1c2b
     TLS_RSA_WITH_AES_256_GCM_SHA384,
5f1c2b
-    TLS_RSA_WITH_AES_128_CBC_SHA,
5f1c2b
-    TLS_RSA_WITH_AES_128_CBC_SHA256,
5f1c2b
-    TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,
5f1c2b
     TLS_RSA_WITH_AES_256_CBC_SHA,
5f1c2b
     TLS_RSA_WITH_AES_256_CBC_SHA256,
5f1c2b
     TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,
5f1c2b
+    TLS_RSA_WITH_AES_128_GCM_SHA256,
5f1c2b
+    TLS_RSA_WITH_AES_128_CBC_SHA,
5f1c2b
+    TLS_RSA_WITH_AES_128_CBC_SHA256,
5f1c2b
+    TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,
5f1c2b
     TLS_RSA_WITH_SEED_CBC_SHA,
5f1c2b
     TLS_RSA_WITH_3DES_EDE_CBC_SHA,
5f1c2b
     TLS_RSA_WITH_RC4_128_SHA,
5f1c2b
     TLS_RSA_WITH_RC4_128_MD5,
5f1c2b
-
5f1c2b
-    /* 56-bit DES "domestic" cipher suites */
5f1c2b
     TLS_DHE_RSA_WITH_DES_CBC_SHA,
5f1c2b
     TLS_DHE_DSS_WITH_DES_CBC_SHA,
5f1c2b
     TLS_RSA_WITH_DES_CBC_SHA,
5f1c2b
-
5f1c2b
-    /* ciphersuites with no encryption */
5f1c2b
     TLS_ECDHE_ECDSA_WITH_NULL_SHA,
5f1c2b
     TLS_ECDHE_RSA_WITH_NULL_SHA,
5f1c2b
     TLS_ECDH_RSA_WITH_NULL_SHA,
c6cc0b
@@ -137,6 +123,9 @@ const PRUint16 SSL_ImplementedCiphers[]
5f1c2b
     TLS_RSA_WITH_NULL_SHA,
5f1c2b
     TLS_RSA_WITH_NULL_SHA256,
5f1c2b
     TLS_RSA_WITH_NULL_MD5,
5f1c2b
+    TLS_AES_128_GCM_SHA256,
5f1c2b
+    TLS_CHACHA20_POLY1305_SHA256,
5f1c2b
+    TLS_AES_256_GCM_SHA384,
5f1c2b
 
5f1c2b
     0
5f1c2b
 };