/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | ssl_transport_security.h | 123 const char** alpn_protocols, uint16_t num_alpn_protocols, 152 size_t num_alpn_protocols; member 169 num_alpn_protocols(0), in tsi_ssl_client_handshaker_options() 238 const char** alpn_protocols, uint16_t num_alpn_protocols, 253 uint16_t num_alpn_protocols, tsi_ssl_server_handshaker_factory** factory); 283 uint16_t num_alpn_protocols; member 300 num_alpn_protocols(0), in tsi_ssl_server_handshaker_options()
|
D | ssl_transport_security.cc | 857 const char** alpn_protocols, uint16_t num_alpn_protocols, in build_alpn_protocol_name_list() argument 863 if (num_alpn_protocols == 0) return TSI_INVALID_ARGUMENT; in build_alpn_protocol_name_list() 864 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list() 878 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list() 1885 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory() argument 1892 options.num_alpn_protocols = num_alpn_protocols; in tsi_create_ssl_client_handshaker_factory() 1963 if (options->num_alpn_protocols != 0) { in tsi_create_ssl_client_handshaker_factory_with_options() 1965 options->alpn_protocols, options->num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory_with_options() 2008 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_server_handshaker_factory() argument 2014 cipher_suites, alpn_protocols, num_alpn_protocols, factory); in tsi_create_ssl_server_handshaker_factory() [all …]
|
/external/grpc-grpc/src/core/tsi/ |
D | ssl_transport_security.h | 111 const char** alpn_protocols, uint16_t num_alpn_protocols, 140 size_t num_alpn_protocols; member 207 const char** alpn_protocols, uint16_t num_alpn_protocols, 222 uint16_t num_alpn_protocols, tsi_ssl_server_handshaker_factory** factory); 252 uint16_t num_alpn_protocols; member
|
D | ssl_transport_security.cc | 719 const char** alpn_protocols, uint16_t num_alpn_protocols, in build_alpn_protocol_name_list() argument 725 if (num_alpn_protocols == 0) return TSI_INVALID_ARGUMENT; in build_alpn_protocol_name_list() 726 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list() 740 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list() 1624 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory() argument 1632 options.num_alpn_protocols = num_alpn_protocols; in tsi_create_ssl_client_handshaker_factory() 1696 if (options->num_alpn_protocols != 0) { in tsi_create_ssl_client_handshaker_factory_with_options() 1698 options->alpn_protocols, options->num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory_with_options() 1737 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_server_handshaker_factory() argument 1743 cipher_suites, alpn_protocols, num_alpn_protocols, factory); in tsi_create_ssl_server_handshaker_factory() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ssl/ |
D | ssl_security_connector.cc | 103 grpc_fill_alpn_protocol_strings(&options.num_alpn_protocols); in InitializeHandshakerFactory() 238 size_t num_alpn_protocols = 0; in InitializeHandshakerFactory() local 240 grpc_fill_alpn_protocol_strings(&num_alpn_protocols); in InitializeHandshakerFactory() 253 options.num_alpn_protocols = static_cast<uint16_t>(num_alpn_protocols); in InitializeHandshakerFactory() 348 size_t num_alpn_protocols = 0; in try_replace_server_handshaker_factory() local 350 grpc_fill_alpn_protocol_strings(&num_alpn_protocols); in try_replace_server_handshaker_factory() 365 options.num_alpn_protocols = static_cast<uint16_t>(num_alpn_protocols); in try_replace_server_handshaker_factory()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.cc | 203 const char** grpc_fill_alpn_protocol_strings(size_t* num_alpn_protocols) { in grpc_fill_alpn_protocol_strings() argument 204 GPR_ASSERT(num_alpn_protocols != nullptr); in grpc_fill_alpn_protocol_strings() 205 *num_alpn_protocols = grpc_chttp2_num_alpn_versions(); in grpc_fill_alpn_protocol_strings() 207 gpr_malloc(sizeof(const char*) * (*num_alpn_protocols))); in grpc_fill_alpn_protocol_strings() 208 for (size_t i = 0; i < *num_alpn_protocols; i++) { in grpc_fill_alpn_protocol_strings() 417 grpc_fill_alpn_protocol_strings(&options.num_alpn_protocols); in grpc_ssl_tsi_client_handshaker_factory_init() 445 size_t num_alpn_protocols = 0; in grpc_ssl_tsi_server_handshaker_factory_init() local 447 grpc_fill_alpn_protocol_strings(&num_alpn_protocols); in grpc_ssl_tsi_server_handshaker_factory_init() 456 options.num_alpn_protocols = static_cast<uint16_t>(num_alpn_protocols); in grpc_ssl_tsi_server_handshaker_factory_init()
|
D | ssl_utils.h | 87 const char** grpc_fill_alpn_protocol_strings(size_t* num_alpn_protocols);
|
/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | security_connector.cc | 692 static const char** fill_alpn_protocol_strings(size_t* num_alpn_protocols) { argument 693 GPR_ASSERT(num_alpn_protocols != nullptr); 694 *num_alpn_protocols = grpc_chttp2_num_alpn_versions(); 696 gpr_malloc(sizeof(const char*) * (*num_alpn_protocols))); 697 for (size_t i = 0; i < *num_alpn_protocols; i++) { 718 size_t num_alpn_protocols = 0; local 720 fill_alpn_protocol_strings(&num_alpn_protocols); 731 static_cast<uint16_t>(num_alpn_protocols), &new_handshaker_factory); 1051 fill_alpn_protocol_strings(&options.num_alpn_protocols); 1146 size_t num_alpn_protocols = 0; local [all …]
|
/external/grpc-grpc/test/core/tsi/ |
D | ssl_transport_security_test.cc | 122 client_options.num_alpn_protocols = alpn_lib->num_client_alpn_protocols; in ssl_test_setup_handshakers() 139 server_options.num_alpn_protocols = alpn_lib->num_server_alpn_protocols; in ssl_test_setup_handshakers() 141 server_options.num_alpn_protocols--; in ssl_test_setup_handshakers()
|