• Home
  • Raw
  • Download

Lines Matching refs:client_hello

206   out->client_hello = CBS_data(&msg.body);  in ssl_client_hello_init()
209 CBS client_hello, random, session_id; in ssl_client_hello_init() local
210 CBS_init(&client_hello, out->client_hello, out->client_hello_len); in ssl_client_hello_init()
211 if (!CBS_get_u16(&client_hello, &out->version) || in ssl_client_hello_init()
212 !CBS_get_bytes(&client_hello, &random, SSL3_RANDOM_SIZE) || in ssl_client_hello_init()
213 !CBS_get_u8_length_prefixed(&client_hello, &session_id) || in ssl_client_hello_init()
226 if (!CBS_get_u8_length_prefixed(&client_hello, &cookie) || in ssl_client_hello_init()
233 if (!CBS_get_u16_length_prefixed(&client_hello, &cipher_suites) || in ssl_client_hello_init()
235 !CBS_get_u8_length_prefixed(&client_hello, &compression_methods) || in ssl_client_hello_init()
247 if (CBS_len(&client_hello) == 0) { in ssl_client_hello_init()
255 if (!CBS_get_u16_length_prefixed(&client_hello, &extensions) || in ssl_client_hello_init()
257 CBS_len(&client_hello) != 0) { in ssl_client_hello_init()
267 bool ssl_client_hello_get_extension(const SSL_CLIENT_HELLO *client_hello, in ssl_client_hello_get_extension() argument
270 CBS_init(&extensions, client_hello->extensions, client_hello->extensions_len); in ssl_client_hello_get_extension()
1480 const SSL_CLIENT_HELLO *client_hello) { in ssl_negotiate_alpn() argument
1485 client_hello, &contents, in ssl_negotiate_alpn()
3219 const SSL_CLIENT_HELLO *client_hello, in ssl_scan_clienthello_tlsext() argument
3229 CBS_init(&extensions, client_hello->extensions, client_hello->extensions_len); in ssl_scan_clienthello_tlsext()
3266 ssl_client_cipher_list_contains_cipher(client_hello, in ssl_scan_clienthello_tlsext()
3291 const SSL_CLIENT_HELLO *client_hello) { in ssl_parse_clienthello_tlsext() argument
3294 if (!ssl_scan_clienthello_tlsext(hs, client_hello, &alert)) { in ssl_parse_clienthello_tlsext()
3930 int SSL_early_callback_ctx_extension_get(const SSL_CLIENT_HELLO *client_hello, in SSL_early_callback_ctx_extension_get() argument
3935 if (!ssl_client_hello_get_extension(client_hello, &cbs, extension_type)) { in SSL_early_callback_ctx_extension_get()