github.com/lianghucheng/zrddz@v0.0.0-20200923083010-c71f680932e2/src/golang.org/x/net/http2/ciphers_test.go (about)

     1  // Copyright 2017 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package http2
     6  
     7  import "testing"
     8  
     9  func TestIsBadCipherBad(t *testing.T) {
    10  	for _, c := range badCiphers {
    11  		if !isBadCipher(c) {
    12  			t.Errorf("Wrong result for isBadCipher(%d), want true", c)
    13  		}
    14  	}
    15  }
    16  
    17  // verify we don't give false positives on ciphers not on blacklist
    18  func TestIsBadCipherGood(t *testing.T) {
    19  	goodCiphers := map[uint16]string{
    20  		cipher_TLS_DHE_RSA_WITH_AES_256_CCM:                "cipher_TLS_DHE_RSA_WITH_AES_256_CCM",
    21  		cipher_TLS_ECDHE_ECDSA_WITH_AES_128_CCM:            "cipher_TLS_ECDHE_ECDSA_WITH_AES_128_CCM",
    22  		cipher_TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: "cipher_TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256",
    23  	}
    24  	for c, name := range goodCiphers {
    25  		if isBadCipher(c) {
    26  			t.Errorf("Wrong result for isBadCipher(%d) %s, want false", c, name)
    27  		}
    28  	}
    29  }
    30  
    31  // copied from https://http2.github.io/http2-spec/#BadCipherSuites,
    32  var badCiphers = []uint16{
    33  	cipher_TLS_NULL_WITH_NULL_NULL,
    34  	cipher_TLS_RSA_WITH_NULL_MD5,
    35  	cipher_TLS_RSA_WITH_NULL_SHA,
    36  	cipher_TLS_RSA_EXPORT_WITH_RC4_40_MD5,
    37  	cipher_TLS_RSA_WITH_RC4_128_MD5,
    38  	cipher_TLS_RSA_WITH_RC4_128_SHA,
    39  	cipher_TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5,
    40  	cipher_TLS_RSA_WITH_IDEA_CBC_SHA,
    41  	cipher_TLS_RSA_EXPORT_WITH_DES40_CBC_SHA,
    42  	cipher_TLS_RSA_WITH_DES_CBC_SHA,
    43  	cipher_TLS_RSA_WITH_3DES_EDE_CBC_SHA,
    44  	cipher_TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA,
    45  	cipher_TLS_DH_DSS_WITH_DES_CBC_SHA,
    46  	cipher_TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA,
    47  	cipher_TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA,
    48  	cipher_TLS_DH_RSA_WITH_DES_CBC_SHA,
    49  	cipher_TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA,
    50  	cipher_TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA,
    51  	cipher_TLS_DHE_DSS_WITH_DES_CBC_SHA,
    52  	cipher_TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,
    53  	cipher_TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA,
    54  	cipher_TLS_DHE_RSA_WITH_DES_CBC_SHA,
    55  	cipher_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,
    56  	cipher_TLS_DH_anon_EXPORT_WITH_RC4_40_MD5,
    57  	cipher_TLS_DH_anon_WITH_RC4_128_MD5,
    58  	cipher_TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA,
    59  	cipher_TLS_DH_anon_WITH_DES_CBC_SHA,
    60  	cipher_TLS_DH_anon_WITH_3DES_EDE_CBC_SHA,
    61  	cipher_TLS_KRB5_WITH_DES_CBC_SHA,
    62  	cipher_TLS_KRB5_WITH_3DES_EDE_CBC_SHA,
    63  	cipher_TLS_KRB5_WITH_RC4_128_SHA,
    64  	cipher_TLS_KRB5_WITH_IDEA_CBC_SHA,
    65  	cipher_TLS_KRB5_WITH_DES_CBC_MD5,
    66  	cipher_TLS_KRB5_WITH_3DES_EDE_CBC_MD5,
    67  	cipher_TLS_KRB5_WITH_RC4_128_MD5,
    68  	cipher_TLS_KRB5_WITH_IDEA_CBC_MD5,
    69  	cipher_TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA,
    70  	cipher_TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA,
    71  	cipher_TLS_KRB5_EXPORT_WITH_RC4_40_SHA,
    72  	cipher_TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5,
    73  	cipher_TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5,
    74  	cipher_TLS_KRB5_EXPORT_WITH_RC4_40_MD5,
    75  	cipher_TLS_PSK_WITH_NULL_SHA,
    76  	cipher_TLS_DHE_PSK_WITH_NULL_SHA,
    77  	cipher_TLS_RSA_PSK_WITH_NULL_SHA,
    78  	cipher_TLS_RSA_WITH_AES_128_CBC_SHA,
    79  	cipher_TLS_DH_DSS_WITH_AES_128_CBC_SHA,
    80  	cipher_TLS_DH_RSA_WITH_AES_128_CBC_SHA,
    81  	cipher_TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
    82  	cipher_TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
    83  	cipher_TLS_DH_anon_WITH_AES_128_CBC_SHA,
    84  	cipher_TLS_RSA_WITH_AES_256_CBC_SHA,
    85  	cipher_TLS_DH_DSS_WITH_AES_256_CBC_SHA,
    86  	cipher_TLS_DH_RSA_WITH_AES_256_CBC_SHA,
    87  	cipher_TLS_DHE_DSS_WITH_AES_256_CBC_SHA,
    88  	cipher_TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
    89  	cipher_TLS_DH_anon_WITH_AES_256_CBC_SHA,
    90  	cipher_TLS_RSA_WITH_NULL_SHA256,
    91  	cipher_TLS_RSA_WITH_AES_128_CBC_SHA256,
    92  	cipher_TLS_RSA_WITH_AES_256_CBC_SHA256,
    93  	cipher_TLS_DH_DSS_WITH_AES_128_CBC_SHA256,
    94  	cipher_TLS_DH_RSA_WITH_AES_128_CBC_SHA256,
    95  	cipher_TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,
    96  	cipher_TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,
    97  	cipher_TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA,
    98  	cipher_TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA,
    99  	cipher_TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA,
   100  	cipher_TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,
   101  	cipher_TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA,
   102  	cipher_TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,
   103  	cipher_TLS_DH_DSS_WITH_AES_256_CBC_SHA256,
   104  	cipher_TLS_DH_RSA_WITH_AES_256_CBC_SHA256,
   105  	cipher_TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,
   106  	cipher_TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,
   107  	cipher_TLS_DH_anon_WITH_AES_128_CBC_SHA256,
   108  	cipher_TLS_DH_anon_WITH_AES_256_CBC_SHA256,
   109  	cipher_TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,
   110  	cipher_TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA,
   111  	cipher_TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA,
   112  	cipher_TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA,
   113  	cipher_TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,
   114  	cipher_TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA,
   115  	cipher_TLS_PSK_WITH_RC4_128_SHA,
   116  	cipher_TLS_PSK_WITH_3DES_EDE_CBC_SHA,
   117  	cipher_TLS_PSK_WITH_AES_128_CBC_SHA,
   118  	cipher_TLS_PSK_WITH_AES_256_CBC_SHA,
   119  	cipher_TLS_DHE_PSK_WITH_RC4_128_SHA,
   120  	cipher_TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA,
   121  	cipher_TLS_DHE_PSK_WITH_AES_128_CBC_SHA,
   122  	cipher_TLS_DHE_PSK_WITH_AES_256_CBC_SHA,
   123  	cipher_TLS_RSA_PSK_WITH_RC4_128_SHA,
   124  	cipher_TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA,
   125  	cipher_TLS_RSA_PSK_WITH_AES_128_CBC_SHA,
   126  	cipher_TLS_RSA_PSK_WITH_AES_256_CBC_SHA,
   127  	cipher_TLS_RSA_WITH_SEED_CBC_SHA,
   128  	cipher_TLS_DH_DSS_WITH_SEED_CBC_SHA,
   129  	cipher_TLS_DH_RSA_WITH_SEED_CBC_SHA,
   130  	cipher_TLS_DHE_DSS_WITH_SEED_CBC_SHA,
   131  	cipher_TLS_DHE_RSA_WITH_SEED_CBC_SHA,
   132  	cipher_TLS_DH_anon_WITH_SEED_CBC_SHA,
   133  	cipher_TLS_RSA_WITH_AES_128_GCM_SHA256,
   134  	cipher_TLS_RSA_WITH_AES_256_GCM_SHA384,
   135  	cipher_TLS_DH_RSA_WITH_AES_128_GCM_SHA256,
   136  	cipher_TLS_DH_RSA_WITH_AES_256_GCM_SHA384,
   137  	cipher_TLS_DH_DSS_WITH_AES_128_GCM_SHA256,
   138  	cipher_TLS_DH_DSS_WITH_AES_256_GCM_SHA384,
   139  	cipher_TLS_DH_anon_WITH_AES_128_GCM_SHA256,
   140  	cipher_TLS_DH_anon_WITH_AES_256_GCM_SHA384,
   141  	cipher_TLS_PSK_WITH_AES_128_GCM_SHA256,
   142  	cipher_TLS_PSK_WITH_AES_256_GCM_SHA384,
   143  	cipher_TLS_RSA_PSK_WITH_AES_128_GCM_SHA256,
   144  	cipher_TLS_RSA_PSK_WITH_AES_256_GCM_SHA384,
   145  	cipher_TLS_PSK_WITH_AES_128_CBC_SHA256,
   146  	cipher_TLS_PSK_WITH_AES_256_CBC_SHA384,
   147  	cipher_TLS_PSK_WITH_NULL_SHA256,
   148  	cipher_TLS_PSK_WITH_NULL_SHA384,
   149  	cipher_TLS_DHE_PSK_WITH_AES_128_CBC_SHA256,
   150  	cipher_TLS_DHE_PSK_WITH_AES_256_CBC_SHA384,
   151  	cipher_TLS_DHE_PSK_WITH_NULL_SHA256,
   152  	cipher_TLS_DHE_PSK_WITH_NULL_SHA384,
   153  	cipher_TLS_RSA_PSK_WITH_AES_128_CBC_SHA256,
   154  	cipher_TLS_RSA_PSK_WITH_AES_256_CBC_SHA384,
   155  	cipher_TLS_RSA_PSK_WITH_NULL_SHA256,
   156  	cipher_TLS_RSA_PSK_WITH_NULL_SHA384,
   157  	cipher_TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256,
   158  	cipher_TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256,
   159  	cipher_TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256,
   160  	cipher_TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256,
   161  	cipher_TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256,
   162  	cipher_TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256,
   163  	cipher_TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256,
   164  	cipher_TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256,
   165  	cipher_TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256,
   166  	cipher_TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256,
   167  	cipher_TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256,
   168  	cipher_TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256,
   169  	cipher_TLS_EMPTY_RENEGOTIATION_INFO_SCSV,
   170  	cipher_TLS_ECDH_ECDSA_WITH_NULL_SHA,
   171  	cipher_TLS_ECDH_ECDSA_WITH_RC4_128_SHA,
   172  	cipher_TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA,
   173  	cipher_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,
   174  	cipher_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,
   175  	cipher_TLS_ECDHE_ECDSA_WITH_NULL_SHA,
   176  	cipher_TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
   177  	cipher_TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,
   178  	cipher_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
   179  	cipher_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
   180  	cipher_TLS_ECDH_RSA_WITH_NULL_SHA,
   181  	cipher_TLS_ECDH_RSA_WITH_RC4_128_SHA,
   182  	cipher_TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,
   183  	cipher_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,
   184  	cipher_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA,
   185  	cipher_TLS_ECDHE_RSA_WITH_NULL_SHA,
   186  	cipher_TLS_ECDHE_RSA_WITH_RC4_128_SHA,
   187  	cipher_TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,
   188  	cipher_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
   189  	cipher_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
   190  	cipher_TLS_ECDH_anon_WITH_NULL_SHA,
   191  	cipher_TLS_ECDH_anon_WITH_RC4_128_SHA,
   192  	cipher_TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA,
   193  	cipher_TLS_ECDH_anon_WITH_AES_128_CBC_SHA,
   194  	cipher_TLS_ECDH_anon_WITH_AES_256_CBC_SHA,
   195  	cipher_TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA,
   196  	cipher_TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA,
   197  	cipher_TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA,
   198  	cipher_TLS_SRP_SHA_WITH_AES_128_CBC_SHA,
   199  	cipher_TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA,
   200  	cipher_TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA,
   201  	cipher_TLS_SRP_SHA_WITH_AES_256_CBC_SHA,
   202  	cipher_TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA,
   203  	cipher_TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA,
   204  	cipher_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
   205  	cipher_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,
   206  	cipher_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256,
   207  	cipher_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384,
   208  	cipher_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
   209  	cipher_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,
   210  	cipher_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256,
   211  	cipher_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384,
   212  	cipher_TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256,
   213  	cipher_TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384,
   214  	cipher_TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256,
   215  	cipher_TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384,
   216  	cipher_TLS_ECDHE_PSK_WITH_RC4_128_SHA,
   217  	cipher_TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA,
   218  	cipher_TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA,
   219  	cipher_TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA,
   220  	cipher_TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256,
   221  	cipher_TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384,
   222  	cipher_TLS_ECDHE_PSK_WITH_NULL_SHA,
   223  	cipher_TLS_ECDHE_PSK_WITH_NULL_SHA256,
   224  	cipher_TLS_ECDHE_PSK_WITH_NULL_SHA384,
   225  	cipher_TLS_RSA_WITH_ARIA_128_CBC_SHA256,
   226  	cipher_TLS_RSA_WITH_ARIA_256_CBC_SHA384,
   227  	cipher_TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256,
   228  	cipher_TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384,
   229  	cipher_TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256,
   230  	cipher_TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384,
   231  	cipher_TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256,
   232  	cipher_TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384,
   233  	cipher_TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256,
   234  	cipher_TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384,
   235  	cipher_TLS_DH_anon_WITH_ARIA_128_CBC_SHA256,
   236  	cipher_TLS_DH_anon_WITH_ARIA_256_CBC_SHA384,
   237  	cipher_TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256,
   238  	cipher_TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384,
   239  	cipher_TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256,
   240  	cipher_TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384,
   241  	cipher_TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256,
   242  	cipher_TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384,
   243  	cipher_TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256,
   244  	cipher_TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384,
   245  	cipher_TLS_RSA_WITH_ARIA_128_GCM_SHA256,
   246  	cipher_TLS_RSA_WITH_ARIA_256_GCM_SHA384,
   247  	cipher_TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256,
   248  	cipher_TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384,
   249  	cipher_TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256,
   250  	cipher_TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384,
   251  	cipher_TLS_DH_anon_WITH_ARIA_128_GCM_SHA256,
   252  	cipher_TLS_DH_anon_WITH_ARIA_256_GCM_SHA384,
   253  	cipher_TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256,
   254  	cipher_TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384,
   255  	cipher_TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256,
   256  	cipher_TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384,
   257  	cipher_TLS_PSK_WITH_ARIA_128_CBC_SHA256,
   258  	cipher_TLS_PSK_WITH_ARIA_256_CBC_SHA384,
   259  	cipher_TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256,
   260  	cipher_TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384,
   261  	cipher_TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256,
   262  	cipher_TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384,
   263  	cipher_TLS_PSK_WITH_ARIA_128_GCM_SHA256,
   264  	cipher_TLS_PSK_WITH_ARIA_256_GCM_SHA384,
   265  	cipher_TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256,
   266  	cipher_TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384,
   267  	cipher_TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256,
   268  	cipher_TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384,
   269  	cipher_TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256,
   270  	cipher_TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384,
   271  	cipher_TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256,
   272  	cipher_TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384,
   273  	cipher_TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256,
   274  	cipher_TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384,
   275  	cipher_TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256,
   276  	cipher_TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384,
   277  	cipher_TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256,
   278  	cipher_TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384,
   279  	cipher_TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256,
   280  	cipher_TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384,
   281  	cipher_TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256,
   282  	cipher_TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384,
   283  	cipher_TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256,
   284  	cipher_TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384,
   285  	cipher_TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256,
   286  	cipher_TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384,
   287  	cipher_TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256,
   288  	cipher_TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384,
   289  	cipher_TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256,
   290  	cipher_TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384,
   291  	cipher_TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256,
   292  	cipher_TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384,
   293  	cipher_TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256,
   294  	cipher_TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384,
   295  	cipher_TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256,
   296  	cipher_TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384,
   297  	cipher_TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256,
   298  	cipher_TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384,
   299  	cipher_TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256,
   300  	cipher_TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384,
   301  	cipher_TLS_RSA_WITH_AES_128_CCM,
   302  	cipher_TLS_RSA_WITH_AES_256_CCM,
   303  	cipher_TLS_RSA_WITH_AES_128_CCM_8,
   304  	cipher_TLS_RSA_WITH_AES_256_CCM_8,
   305  	cipher_TLS_PSK_WITH_AES_128_CCM,
   306  	cipher_TLS_PSK_WITH_AES_256_CCM,
   307  	cipher_TLS_PSK_WITH_AES_128_CCM_8,
   308  	cipher_TLS_PSK_WITH_AES_256_CCM_8,
   309  }