Lines Matching refs:client_hello
45 SSL_CLIENT_HELLO *client_hello) { in resolve_ecdhe_secret() argument
51 if (!ssl_client_hello_get_extension(client_hello, &key_share, in resolve_ecdhe_secret()
89 const SSL *ssl, const SSL_CLIENT_HELLO *client_hello, uint16_t group_id) { in choose_tls13_cipher() argument
91 CBS_init(&cipher_suites, client_hello->cipher_suites, in choose_tls13_cipher()
92 client_hello->cipher_suites_len); in choose_tls13_cipher()
192 SSL_CLIENT_HELLO client_hello; in do_select_parameters() local
193 if (!ssl_client_hello_init(ssl, &client_hello, msg)) { in do_select_parameters()
199 if (ssl->quic_method != nullptr && client_hello.session_id_len > 0) { in do_select_parameters()
204 OPENSSL_memcpy(hs->session_id, client_hello.session_id, in do_select_parameters()
205 client_hello.session_id_len); in do_select_parameters()
206 hs->session_id_len = client_hello.session_id_len; in do_select_parameters()
216 hs->new_cipher = choose_tls13_cipher(ssl, &client_hello, group_id); in do_select_parameters()
226 if (!ssl_negotiate_alpn(hs, &alert, &client_hello)) { in do_select_parameters()
244 const SSLMessage &msg, const SSL_CLIENT_HELLO *client_hello) { in select_session() argument
250 client_hello, &pre_shared_key, TLSEXT_TYPE_pre_shared_key); in select_session()
258 hs, &ticket, &binders, &client_ticket_age, out_alert, client_hello, in select_session()
343 SSL_CLIENT_HELLO client_hello; in do_select_session() local
344 if (!ssl_client_hello_init(ssl, &client_hello, msg)) { in do_select_session()
354 &offered_ticket, msg, &client_hello)) { in do_select_session()
391 if (!ssl_negotiate_alps(hs, &alert, &client_hello)) { in do_select_session()
467 ssl->ctx->dos_protection_cb(&client_hello) == 0) { in do_select_session()
502 if (!resolve_ecdhe_secret(hs, &need_retry, &client_hello)) { in do_select_session()
568 SSL_CLIENT_HELLO client_hello; in do_read_second_client_hello() local
569 if (!ssl_client_hello_init(ssl, &client_hello, msg)) { in do_read_second_client_hello()
584 if (!ssl_client_hello_get_extension(&client_hello, &pre_shared_key, in do_read_second_client_hello()
595 hs, &ticket, &binders, &client_ticket_age, &alert, &client_hello, in do_read_second_client_hello()
611 if (!resolve_ecdhe_secret(hs, &need_retry, &client_hello)) { in do_read_second_client_hello()