Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for http2isBadCipher (0.15 sec)

  1. src/crypto/tls/tls_test.go

    	if got, exp := VersionName(0x12a), "0x012A"; got != exp {
    		t.Errorf("unexpected fallback VersionName: got %q, expected %q", got, exp)
    	}
    }
    
    // http2isBadCipher is copied from net/http.
    // TODO: if it ends up exposed somewhere, use that instead.
    func http2isBadCipher(cipher uint16) bool {
    	switch cipher {
    	case TLS_RSA_WITH_RC4_128_SHA,
    		TLS_RSA_WITH_3DES_EDE_CBC_SHA,
    		TLS_RSA_WITH_AES_128_CBC_SHA,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    // Reject cipher suites from Appendix A.
    // "This list includes those cipher suites that do not
    // offer an ephemeral key exchange and those that are
    // based on the TLS null, stream or block cipher type"
    func http2isBadCipher(cipher uint16) bool {
    	switch cipher {
    	case http2cipher_TLS_NULL_WITH_NULL_NULL,
    		http2cipher_TLS_RSA_WITH_NULL_MD5,
    		http2cipher_TLS_RSA_WITH_NULL_SHA,
    		http2cipher_TLS_RSA_EXPORT_WITH_RC4_40_MD5,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top