Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mutualCipherSuite (0.23 sec)

  1. src/crypto/tls/cipher_suites.go

    }
    
    func ecdheRSAKA(version uint16) keyAgreement {
    	return &ecdheKeyAgreement{
    		isRSA:   true,
    		version: version,
    	}
    }
    
    // mutualCipherSuite returns a cipherSuite given a list of supported
    // ciphersuites and the id requested by the peer.
    func mutualCipherSuite(have []uint16, want uint16) *cipherSuite {
    	for _, id := range have {
    		if id == want {
    			return cipherSuiteByID(id)
    		}
    	}
    	return nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client.go

    	}
    	configCipherSuites := config.cipherSuites()
    	hello.cipherSuites = make([]uint16, 0, len(configCipherSuites))
    
    	for _, suiteId := range preferenceOrder {
    		suite := mutualCipherSuite(configCipherSuites, suiteId)
    		if suite == nil {
    			continue
    		}
    		// Don't advertise TLS 1.2-only cipher suites unless
    		// we're attempting TLS 1.2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
Back to top