• Home
  • Raw
  • Download

Lines Matching refs:client_hello

176     const SSL_CLIENT_HELLO *client_hello, uint16_t id) {  in ssl_client_cipher_list_contains_cipher()  argument
178 CBS_init(&cipher_suites, client_hello->cipher_suites, in ssl_client_cipher_list_contains_cipher()
179 client_hello->cipher_suites_len); in ssl_client_cipher_list_contains_cipher()
196 const SSL_CLIENT_HELLO *client_hello) { in negotiate_version() argument
200 if (ssl_client_hello_get_extension(client_hello, &supported_versions, in negotiate_version()
225 if (client_hello->version <= DTLS1_2_VERSION) { in negotiate_version()
227 } else if (client_hello->version <= DTLS1_VERSION) { in negotiate_version()
233 if (client_hello->version >= TLS1_2_VERSION) { in negotiate_version()
235 } else if (client_hello->version >= TLS1_1_VERSION) { in negotiate_version()
237 } else if (client_hello->version >= TLS1_VERSION) { in negotiate_version()
255 if (ssl_client_cipher_list_contains_cipher(client_hello, in negotiate_version()
267 const SSL_CLIENT_HELLO *client_hello) { in ssl_parse_client_cipher_list() argument
269 CBS_init(&cipher_suites, client_hello->cipher_suites, in ssl_parse_client_cipher_list()
270 client_hello->cipher_suites_len); in ssl_parse_client_cipher_list()
330 SSL_HANDSHAKE *hs, const SSL_CLIENT_HELLO *client_hello, in ssl3_choose_cipher() argument
344 ssl_parse_client_cipher_list(client_hello); in ssl3_choose_cipher()
406 static bool is_probably_jdk11_with_tls13(const SSL_CLIENT_HELLO *client_hello) { in is_probably_jdk11_with_tls13() argument
413 client_hello, TLS1_CK_CHACHA20_POLY1305_SHA256 & 0xffff)) { in is_probably_jdk11_with_tls13()
445 CBS_init(&extensions, client_hello->extensions, client_hello->extensions_len); in is_probably_jdk11_with_tls13()
522 SSL_CLIENT_HELLO client_hello; in do_read_client_hello() local
523 if (!ssl_client_hello_init(ssl, &client_hello, msg)) { in do_read_client_hello()
531 switch (ssl->ctx->select_certificate_cb(&client_hello)) { in do_read_client_hello()
552 is_probably_jdk11_with_tls13(&client_hello)) { in do_read_client_hello()
557 if (!negotiate_version(hs, &alert, &client_hello)) { in do_read_client_hello()
562 hs->client_version = client_hello.version; in do_read_client_hello()
563 if (client_hello.random_len != SSL3_RANDOM_SIZE) { in do_read_client_hello()
567 OPENSSL_memcpy(ssl->s3->client_random, client_hello.random, in do_read_client_hello()
568 client_hello.random_len); in do_read_client_hello()
572 if (OPENSSL_memchr(client_hello.compression_methods, 0, in do_read_client_hello()
573 client_hello.compression_methods_len) == NULL || in do_read_client_hello()
575 client_hello.compression_methods_len != 1)) { in do_read_client_hello()
582 if (!ssl_parse_clienthello_tlsext(hs, &client_hello)) { in do_read_client_hello()
638 SSL_CLIENT_HELLO client_hello; in do_select_certificate() local
639 if (!ssl_client_hello_init(ssl, &client_hello, msg)) { in do_select_certificate()
648 hs->new_cipher = ssl3_choose_cipher(hs, &client_hello, prefs); in do_select_certificate()
677 SSL_CLIENT_HELLO client_hello; in do_select_parameters() local
678 if (!ssl_client_hello_init(ssl, &client_hello, msg)) { in do_select_parameters()
686 hs, &session, &tickets_supported, &renew_ticket, &client_hello); in do_select_parameters()
727 ssl->ctx->dos_protection_cb(&client_hello) == 0) { in do_select_parameters()
759 if (!ssl_negotiate_alpn(hs, &alert, &client_hello)) { in do_select_parameters()