Home
last modified time | relevance | path

Searched refs:alpn_selected (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/test/core/handshake/
Dserver_ssl_common.cc219 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/
Dhandoff.cc291 !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()
Dtls13_client.cc434 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()
Dt1_lib.cc1208 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()
Dtls13_server.cc435 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()
Dssl_lib.cc2178 *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()
Dhandshake_client.cc1555 ssl->s3->alpn_selected.empty() && in can_false_start()
Dinternal.h2315 Array<uint8_t> alpn_selected;
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc1014 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()