Lines Matching refs:client_hello

1052   const uint8_t *client_hello;  in GetClientHello()  local
1054 if (!BIO_mem_contents(bio.get(), &client_hello, &client_hello_len)) { in GetClientHello()
1057 *out = std::vector<uint8_t>(client_hello, client_hello + client_hello_len); in GetClientHello()
1081 std::vector<uint8_t> client_hello; in GetClientHelloLen() local
1082 if (!GetClientHello(ssl.get(), &client_hello) || in GetClientHelloLen()
1083 client_hello.size() <= SSL3_RT_HEADER_LENGTH) { in GetClientHelloLen()
1087 return client_hello.size() - SSL3_RT_HEADER_LENGTH; in GetClientHelloLen()
2037 std::vector<uint8_t> client_hello; in TEST() local
2038 ASSERT_TRUE(GetClientHello(ssl.get(), &client_hello)); in TEST()
2044 ASSERT_GE(client_hello.size(), kRandomOffset + SSL3_RANDOM_SIZE); in TEST()
2045 OPENSSL_memset(client_hello.data() + kRandomOffset, 0, SSL3_RANDOM_SIZE); in TEST()
2047 if (client_hello != t.expected) { in TEST()
2050 for (size_t i = 0; i < client_hello.size(); i += 12) { in TEST()
2052 for (size_t j = i; j < client_hello.size() && j < i + 12; j++) { in TEST()
2056 printf("0x%02x", client_hello[j]); in TEST()
2057 if (j < client_hello.size() - 1) { in TEST()
2061 if (i + 12 >= client_hello.size()) { in TEST()
2220 [](const SSL_CLIENT_HELLO *client_hello) -> ssl_select_cert_result_t { in TEST_P() argument
2223 if (!SSL_set_session_id_context(client_hello->ssl, kContext, in TEST_P()
2586 [](const SSL_CLIENT_HELLO *client_hello) -> ssl_select_cert_result_t { in TEST() argument
2587 if (!SSL_set_max_proto_version(client_hello->ssl, TLS1_2_VERSION)) { in TEST()