Home
last modified time | relevance | path

Searched refs:protocol_name_list (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc720 unsigned char** protocol_name_list, size_t* protocol_name_list_length) { in build_alpn_protocol_name_list() argument
723 *protocol_name_list = nullptr; in build_alpn_protocol_name_list()
736 *protocol_name_list = in build_alpn_protocol_name_list()
738 if (*protocol_name_list == nullptr) return TSI_OUT_OF_RESOURCES; in build_alpn_protocol_name_list()
739 current = *protocol_name_list; in build_alpn_protocol_name_list()
747 if ((current < *protocol_name_list) || in build_alpn_protocol_name_list()
748 (static_cast<uintptr_t>(current - *protocol_name_list) != in build_alpn_protocol_name_list()
/external/boringssl/src/ssl/
Dt1_lib.cc1427 CBS protocol_name_list, protocol_name; in ext_alpn_parse_serverhello() local
1428 if (!CBS_get_u16_length_prefixed(contents, &protocol_name_list) || in ext_alpn_parse_serverhello()
1430 !CBS_get_u8_length_prefixed(&protocol_name_list, &protocol_name) || in ext_alpn_parse_serverhello()
1433 CBS_len(&protocol_name_list) != 0) { in ext_alpn_parse_serverhello()
1494 CBS protocol_name_list; in ssl_negotiate_alpn() local
1495 if (!CBS_get_u16_length_prefixed(&contents, &protocol_name_list) || in ssl_negotiate_alpn()
1497 CBS_len(&protocol_name_list) < 2) { in ssl_negotiate_alpn()
1504 CBS protocol_name_list_copy = protocol_name_list; in ssl_negotiate_alpn()
1520 ssl, &selected, &selected_len, CBS_data(&protocol_name_list), in ssl_negotiate_alpn()
1521 CBS_len(&protocol_name_list), in ssl_negotiate_alpn()