Searched refs:alpn_selected (Results 1 – 9 of 9) sorted by relevance
/external/grpc-grpc/test/core/handshake/ |
D | server_ssl_common.cc | 219 const unsigned char* alpn_selected; in server_ssl_test() local 221 SSL_get0_alpn_selected(ssl, &alpn_selected, &alpn_selected_len); in server_ssl_test() 223 strncmp(reinterpret_cast<const char*>(alpn_selected), alpn_expected, in server_ssl_test()
|
/external/boringssl/src/ssl/ |
D | handoff.cc | 291 !CBB_add_asn1_octet_string(&seq, s3->alpn_selected.data(), in SSL_serialize_handback() 292 s3->alpn_selected.size()) || in SSL_serialize_handback() 426 s3->alpn_selected.CopyFrom(alpn); in SSL_apply_handback()
|
D | tls13_client.cc | 434 if (!hs->new_session->early_alpn.CopyFrom(ssl->s3->alpn_selected)) { in do_read_encrypted_extensions() 442 ssl->s3->alpn_selected) { in do_read_encrypted_extensions()
|
D | t1_lib.cc | 1208 if (!ssl->s3->alpn_selected.empty()) { in ext_npn_parse_serverhello() 1443 if (!ssl->s3->alpn_selected.CopyFrom(protocol_name)) { in ext_alpn_parse_serverhello() 1528 if (!ssl->s3->alpn_selected.CopyFrom( in ssl_negotiate_alpn() 1540 if (ssl->s3->alpn_selected.empty()) { in ext_alpn_add_serverhello() 1549 !CBB_add_bytes(&proto, ssl->s3->alpn_selected.data(), in ext_alpn_add_serverhello() 1550 ssl->s3->alpn_selected.size()) || in ext_alpn_add_serverhello()
|
D | tls13_server.cc | 435 MakeConstSpan(ssl->s3->alpn_selected) == session->early_alpn) { in do_select_session() 464 if (!hs->new_session->early_alpn.CopyFrom(ssl->s3->alpn_selected)) { in do_select_session()
|
D | ssl_lib.cc | 2178 *out_data = ssl->s3->alpn_selected.data(); in SSL_get0_alpn_selected() 2179 *out_len = ssl->s3->alpn_selected.size(); in SSL_get0_alpn_selected()
|
D | handshake_client.cc | 1555 ssl->s3->alpn_selected.empty() && in can_false_start()
|
D | internal.h | 2315 Array<uint8_t> alpn_selected;
|
/external/grpc-grpc/src/core/tsi/ |
D | ssl_transport_security.cc | 1014 const unsigned char* alpn_selected = nullptr; in ssl_handshaker_result_extract_peer() local 1025 SSL_get0_alpn_selected(impl->ssl, &alpn_selected, &alpn_selected_len); in ssl_handshaker_result_extract_peer() 1027 if (alpn_selected == nullptr) { in ssl_handshaker_result_extract_peer() 1029 SSL_get0_next_proto_negotiated(impl->ssl, &alpn_selected, in ssl_handshaker_result_extract_peer() 1035 if (alpn_selected != nullptr) new_property_count++; in ssl_handshaker_result_extract_peer() 1044 if (alpn_selected != nullptr) { in ssl_handshaker_result_extract_peer() 1047 reinterpret_cast<const char*>(alpn_selected), alpn_selected_len, in ssl_handshaker_result_extract_peer()
|