/external/grpc-grpc/src/core/tsi/ |
D | transport_security.h | 34 tsi_result (*protect)(tsi_frame_protector* self, 39 tsi_result (*protect_flush)(tsi_frame_protector* self, 43 tsi_result (*unprotect)(tsi_frame_protector* self, 58 tsi_result (*get_bytes_to_send_to_peer)(tsi_handshaker* self, 61 tsi_result (*process_bytes_from_peer)(tsi_handshaker* self, 64 tsi_result (*get_result)(tsi_handshaker* self); 65 tsi_result (*extract_peer)(tsi_handshaker* self, tsi_peer* peer); 66 tsi_result (*create_frame_protector)(tsi_handshaker* self, 70 tsi_result (*next)(tsi_handshaker* self, const unsigned char* received_bytes, 95 tsi_result (*extract_peer)(const tsi_handshaker_result* self, tsi_peer* peer); [all …]
|
D | transport_security_interface.h | 47 } tsi_result; typedef 58 const char* tsi_result_to_string(tsi_result result); 133 tsi_result tsi_frame_protector_protect(tsi_frame_protector* self, 147 tsi_result tsi_frame_protector_protect_flush( 173 tsi_result tsi_frame_protector_unprotect( 217 tsi_result tsi_handshaker_result_extract_peer(const tsi_handshaker_result* self, 223 tsi_result tsi_handshaker_result_create_frame_protector( 231 tsi_result tsi_handshaker_result_get_unused_bytes( 350 tsi_result tsi_handshaker_get_bytes_to_send_to_peer(tsi_handshaker* self, 364 tsi_result tsi_handshaker_process_bytes_from_peer(tsi_handshaker* self, [all …]
|
D | transport_security.cc | 35 const char* tsi_result_to_string(tsi_result result) { in tsi_result_to_string() 74 tsi_result tsi_frame_protector_protect(tsi_frame_protector* self, in tsi_frame_protector_protect() 91 tsi_result tsi_frame_protector_protect_flush( in tsi_frame_protector_protect_flush() 106 tsi_result tsi_frame_protector_unprotect( in tsi_frame_protector_unprotect() 131 tsi_result tsi_handshaker_get_bytes_to_send_to_peer(tsi_handshaker* self, in tsi_handshaker_get_bytes_to_send_to_peer() 145 tsi_result tsi_handshaker_process_bytes_from_peer(tsi_handshaker* self, in tsi_handshaker_process_bytes_from_peer() 159 tsi_result tsi_handshaker_get_result(tsi_handshaker* self) { in tsi_handshaker_get_result() 167 tsi_result tsi_handshaker_extract_peer(tsi_handshaker* self, tsi_peer* peer) { in tsi_handshaker_extract_peer() 181 tsi_result tsi_handshaker_create_frame_protector( in tsi_handshaker_create_frame_protector() 184 tsi_result result; in tsi_handshaker_create_frame_protector() [all …]
|
D | local_transport_security.cc | 53 static tsi_result local_zero_copy_grpc_protector_protect( in local_zero_copy_grpc_protector_protect() 65 static tsi_result local_zero_copy_grpc_protector_unprotect( in local_zero_copy_grpc_protector_unprotect() 89 tsi_result local_zero_copy_grpc_protector_create( in local_zero_copy_grpc_protector_create() 106 static tsi_result handshaker_result_extract_peer( in handshaker_result_extract_peer() 111 static tsi_result handshaker_result_create_zero_copy_grpc_protector( in handshaker_result_create_zero_copy_grpc_protector() 119 tsi_result ok = local_zero_copy_grpc_protector_create(protector); in handshaker_result_create_zero_copy_grpc_protector() 143 static tsi_result create_handshaker_result(bool is_client, in create_handshaker_result() 159 static tsi_result handshaker_next( in handshaker_next() 198 tsi_result local_tsi_handshaker_create(bool is_client, tsi_handshaker** self) { in local_tsi_handshaker_create()
|
D | ssl_transport_security.h | 108 tsi_result tsi_create_ssl_client_handshaker_factory( 151 tsi_result tsi_create_ssl_client_handshaker_factory_with_options( 164 tsi_result tsi_ssl_client_handshaker_factory_create_handshaker( 203 tsi_result tsi_create_ssl_server_handshaker_factory( 217 tsi_result tsi_create_ssl_server_handshaker_factory_ex( 266 tsi_result tsi_create_ssl_server_handshaker_factory_with_options( 276 tsi_result tsi_ssl_server_handshaker_factory_create_handshaker(
|
D | transport_security_grpc.h | 30 tsi_result tsi_handshaker_result_create_zero_copy_grpc_protector( 42 tsi_result tsi_zero_copy_grpc_protector_protect( 52 tsi_result tsi_zero_copy_grpc_protector_unprotect( 61 tsi_result (*protect)(tsi_zero_copy_grpc_protector* self, 64 tsi_result (*unprotect)(tsi_zero_copy_grpc_protector* self,
|
D | fake_transport_security.cc | 70 tsi_result result; 101 static tsi_result tsi_fake_handshake_message_from_string( in tsi_fake_handshake_message_from_string() 173 static tsi_result tsi_fake_frame_decode(const unsigned char* incoming_bytes, in tsi_fake_frame_decode() 223 static tsi_result tsi_fake_frame_encode(unsigned char* outgoing_bytes, in tsi_fake_frame_encode() 241 static tsi_result tsi_fake_frame_set_data(unsigned char* data, size_t data_size, in tsi_fake_frame_set_data() 259 static tsi_result fake_protector_protect(tsi_frame_protector* self, in fake_protector_protect() 264 tsi_result result = TSI_OK; in fake_protector_protect() 322 static tsi_result fake_protector_protect_flush( in fake_protector_protect_flush() 325 tsi_result result = TSI_OK; in fake_protector_protect_flush() 344 static tsi_result fake_protector_unprotect( in fake_protector_unprotect() [all …]
|
D | ssl_transport_security.cc | 110 tsi_result result; 257 static tsi_result ssl_get_x509_common_name(X509* cert, unsigned char** utf8, in ssl_get_x509_common_name() 295 static tsi_result peer_property_from_x509_common_name( in peer_property_from_x509_common_name() 299 tsi_result result = in peer_property_from_x509_common_name() 318 static tsi_result add_pem_certificate(X509* cert, tsi_peer_property* property) { in add_pem_certificate() 330 tsi_result result = tsi_construct_string_peer_property( in add_pem_certificate() 338 static tsi_result add_subject_alt_names_properties_to_peer( in add_subject_alt_names_properties_to_peer() 342 tsi_result result = TSI_OK; in add_subject_alt_names_properties_to_peer() 396 static tsi_result peer_from_x509(X509* cert, int include_certificate_type, in peer_from_x509() 406 tsi_result result; in peer_from_x509() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | transport_security.h | 34 tsi_result (*protect)(tsi_frame_protector* self, 39 tsi_result (*protect_flush)(tsi_frame_protector* self, 43 tsi_result (*unprotect)(tsi_frame_protector* self, 57 tsi_result (*get_bytes_to_send_to_peer)(tsi_handshaker* self, 60 tsi_result (*process_bytes_from_peer)(tsi_handshaker* self, 63 tsi_result (*get_result)(tsi_handshaker* self); 64 tsi_result (*extract_peer)(tsi_handshaker* self, tsi_peer* peer); 65 tsi_result (*create_frame_protector)(tsi_handshaker* self, 69 tsi_result (*next)(tsi_handshaker* self, const unsigned char* received_bytes, 93 tsi_result (*extract_peer)(const tsi_handshaker_result* self, tsi_peer* peer); [all …]
|
D | transport_security_interface.h | 48 } tsi_result; typedef 72 const char* tsi_result_to_string(tsi_result result); 148 tsi_result tsi_frame_protector_protect(tsi_frame_protector* self, 162 tsi_result tsi_frame_protector_protect_flush( 188 tsi_result tsi_frame_protector_unprotect( 234 tsi_result tsi_handshaker_result_extract_peer(const tsi_handshaker_result* self, 240 tsi_result tsi_handshaker_result_create_frame_protector( 248 tsi_result tsi_handshaker_result_get_unused_bytes( 367 tsi_result tsi_handshaker_get_bytes_to_send_to_peer(tsi_handshaker* self, 381 tsi_result tsi_handshaker_process_bytes_from_peer(tsi_handshaker* self, [all …]
|
D | transport_security_grpc.h | 30 tsi_result tsi_handshaker_result_create_zero_copy_grpc_protector( 42 tsi_result tsi_zero_copy_grpc_protector_protect( 52 tsi_result tsi_zero_copy_grpc_protector_unprotect( 60 tsi_result tsi_zero_copy_grpc_protector_max_frame_size( 65 tsi_result (*protect)(tsi_zero_copy_grpc_protector* self, 68 tsi_result (*unprotect)(tsi_zero_copy_grpc_protector* self, 72 tsi_result (*max_frame_size)(tsi_zero_copy_grpc_protector* self,
|
D | transport_security.cc | 35 const char* tsi_result_to_string(tsi_result result) { in tsi_result_to_string() 87 tsi_result tsi_frame_protector_protect(tsi_frame_protector* self, in tsi_frame_protector_protect() 104 tsi_result tsi_frame_protector_protect_flush( in tsi_frame_protector_protect_flush() 119 tsi_result tsi_frame_protector_unprotect( in tsi_frame_protector_unprotect() 144 tsi_result tsi_handshaker_get_bytes_to_send_to_peer(tsi_handshaker* self, in tsi_handshaker_get_bytes_to_send_to_peer() 159 tsi_result tsi_handshaker_process_bytes_from_peer(tsi_handshaker* self, in tsi_handshaker_process_bytes_from_peer() 174 tsi_result tsi_handshaker_get_result(tsi_handshaker* self) { in tsi_handshaker_get_result() 182 tsi_result tsi_handshaker_extract_peer(tsi_handshaker* self, tsi_peer* peer) { in tsi_handshaker_extract_peer() 196 tsi_result tsi_handshaker_create_frame_protector( in tsi_handshaker_create_frame_protector() 199 tsi_result result; in tsi_handshaker_create_frame_protector() [all …]
|
D | ssl_transport_security.h | 120 tsi_result tsi_create_ssl_client_handshaker_factory( 182 tsi_result tsi_create_ssl_client_handshaker_factory_with_options( 195 tsi_result tsi_ssl_client_handshaker_factory_create_handshaker( 234 tsi_result tsi_create_ssl_server_handshaker_factory( 248 tsi_result tsi_create_ssl_server_handshaker_factory_ex( 313 tsi_result tsi_create_ssl_server_handshaker_factory_with_options( 323 tsi_result tsi_ssl_server_handshaker_factory_create_handshaker( 361 tsi_result tsi_ssl_extract_x509_subject_names_from_pem_cert( 365 tsi_result tsi_ssl_get_cert_chain_contents(STACK_OF(X509) * peer_chain,
|
D | local_transport_security.cc | 55 static tsi_result local_zero_copy_grpc_protector_protect( in local_zero_copy_grpc_protector_protect() 67 static tsi_result local_zero_copy_grpc_protector_unprotect( in local_zero_copy_grpc_protector_unprotect() 92 tsi_result local_zero_copy_grpc_protector_create( in local_zero_copy_grpc_protector_create() 109 static tsi_result handshaker_result_extract_peer( in handshaker_result_extract_peer() 114 static tsi_result handshaker_result_create_zero_copy_grpc_protector( in handshaker_result_create_zero_copy_grpc_protector() 123 tsi_result ok = local_zero_copy_grpc_protector_create(protector); in handshaker_result_create_zero_copy_grpc_protector() 147 static tsi_result create_handshaker_result(bool is_client, in create_handshaker_result() 163 static tsi_result handshaker_next( in handshaker_next() 204 tsi_result tsi_local_handshaker_create(bool is_client, tsi_handshaker** self) { in tsi_local_handshaker_create()
|
D | fake_transport_security.cc | 69 tsi_result result; 97 static tsi_result tsi_fake_handshake_message_from_string( in tsi_fake_handshake_message_from_string() 169 static tsi_result tsi_fake_frame_decode(const unsigned char* incoming_bytes, in tsi_fake_frame_decode() 219 static tsi_result tsi_fake_frame_encode(unsigned char* outgoing_bytes, in tsi_fake_frame_encode() 237 static tsi_result tsi_fake_frame_set_data(unsigned char* data, size_t data_size, in tsi_fake_frame_set_data() 255 static tsi_result fake_protector_protect(tsi_frame_protector* self, in fake_protector_protect() 260 tsi_result result = TSI_OK; in fake_protector_protect() 318 static tsi_result fake_protector_protect_flush( in fake_protector_protect_flush() 321 tsi_result result = TSI_OK; in fake_protector_protect_flush() 340 static tsi_result fake_protector_unprotect( in fake_protector_unprotect() [all …]
|
D | ssl_transport_security.cc | 119 tsi_result result; 269 static tsi_result ssl_get_x509_common_name(X509* cert, unsigned char** utf8, in ssl_get_x509_common_name() 307 static tsi_result peer_property_from_x509_common_name( in peer_property_from_x509_common_name() 311 tsi_result result = in peer_property_from_x509_common_name() 330 static tsi_result add_pem_certificate(X509* cert, tsi_peer_property* property) { in add_pem_certificate() 342 tsi_result result = tsi_construct_string_peer_property( in add_pem_certificate() 349 static tsi_result add_subject_alt_names_properties_to_peer( in add_subject_alt_names_properties_to_peer() 353 tsi_result result = TSI_OK; in add_subject_alt_names_properties_to_peer() 426 static tsi_result peer_from_x509(X509* cert, int include_certificate_type, in peer_from_x509() 436 tsi_result result; in peer_from_x509() [all …]
|
D | transport_security_grpc.cc | 24 tsi_result tsi_handshaker_result_create_zero_copy_grpc_protector( in tsi_handshaker_result_create_zero_copy_grpc_protector() 41 tsi_result tsi_zero_copy_grpc_protector_protect( in tsi_zero_copy_grpc_protector_protect() 52 tsi_result tsi_zero_copy_grpc_protector_unprotect( in tsi_zero_copy_grpc_protector_unprotect() 68 tsi_result tsi_zero_copy_grpc_protector_max_frame_size( in tsi_zero_copy_grpc_protector_max_frame_size()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/ |
D | alts_handshaker_client.h | 56 tsi_result (*client_start)(alts_handshaker_client* client); 57 tsi_result (*server_start)(alts_handshaker_client* client, 59 tsi_result (*next)(alts_handshaker_client* client, 73 tsi_result alts_handshaker_client_start_client(alts_handshaker_client* client); 85 tsi_result alts_handshaker_client_start_server(alts_handshaker_client* client, 97 tsi_result alts_handshaker_client_next(alts_handshaker_client* client,
|
D | alts_tsi_handshaker.cc | 86 static tsi_result handshaker_result_extract_peer( in handshaker_result_extract_peer() 96 tsi_result ok = tsi_construct_peer(kTsiAltsNumOfPeerProperties, peer); in handshaker_result_extract_peer() 154 static tsi_result handshaker_result_create_zero_copy_grpc_protector( in handshaker_result_create_zero_copy_grpc_protector() 185 tsi_result ok = alts_zero_copy_grpc_protector_create( in handshaker_result_create_zero_copy_grpc_protector() 196 static tsi_result handshaker_result_create_frame_protector( in handshaker_result_create_frame_protector() 207 tsi_result ok = alts_create_frame_protector( in handshaker_result_create_frame_protector() 217 static tsi_result handshaker_result_get_unused_bytes( in handshaker_result_get_unused_bytes() 254 tsi_result alts_tsi_handshaker_result_create(grpc_gcp_HandshakerResp* resp, in alts_tsi_handshaker_result_create() 404 static tsi_result alts_tsi_handshaker_continue_handshaker_next( in alts_tsi_handshaker_continue_handshaker_next() 454 tsi_result ok = TSI_OK; in alts_tsi_handshaker_continue_handshaker_next() [all …]
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | alts_handshaker_client.h | 48 tsi_result (*client_start)(alts_handshaker_client* client, 50 tsi_result (*server_start)(alts_handshaker_client* client, 52 tsi_result (*next)(alts_handshaker_client* client, alts_tsi_event* event, 71 tsi_result alts_handshaker_client_start_client(alts_handshaker_client* client, 85 tsi_result alts_handshaker_client_start_server(alts_handshaker_client* client, 99 tsi_result alts_handshaker_client_next(alts_handshaker_client* client,
|
D | alts_handshaker_client.cc | 47 static tsi_result make_grpc_call(alts_handshaker_client* client, in make_grpc_call() 119 static tsi_result handshaker_client_start_client(alts_handshaker_client* client, in handshaker_client_start_client() 131 tsi_result result = make_grpc_call(client, event, true /* is_start */); in handshaker_client_start_client() 166 static tsi_result handshaker_client_start_server(alts_handshaker_client* client, in handshaker_client_start_server() 179 tsi_result result = make_grpc_call(client, event, true /* is_start */); in handshaker_client_start_server() 204 static tsi_result handshaker_client_next(alts_handshaker_client* client, in handshaker_client_next() 217 tsi_result result = make_grpc_call(client, event, false /* is_start */); in handshaker_client_next() 280 tsi_result alts_handshaker_client_start_client(alts_handshaker_client* client, in alts_handshaker_client_start_client() 291 tsi_result alts_handshaker_client_start_server(alts_handshaker_client* client, in alts_handshaker_client_start_server() 303 tsi_result alts_handshaker_client_next(alts_handshaker_client* client, in alts_handshaker_client_next()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_zero_copy_grpc_protector.cc | 111 static tsi_result create_alts_grpc_record_protocol( in create_alts_grpc_record_protocol() 133 tsi_result result = is_integrity_only in create_alts_grpc_record_protocol() 149 static tsi_result alts_zero_copy_grpc_protector_protect( in alts_zero_copy_grpc_protector_protect() 164 tsi_result status = alts_grpc_record_protocol_protect( in alts_zero_copy_grpc_protector_protect() 175 static tsi_result alts_zero_copy_grpc_protector_unprotect( in alts_zero_copy_grpc_protector_unprotect() 199 tsi_result status; in alts_zero_copy_grpc_protector_unprotect() 236 static tsi_result alts_zero_copy_grpc_protector_max_frame_size( in alts_zero_copy_grpc_protector_max_frame_size() 252 tsi_result alts_zero_copy_grpc_protector_create( in alts_zero_copy_grpc_protector_create() 269 tsi_result status = create_alts_grpc_record_protocol( in alts_zero_copy_grpc_protector_create()
|
D | alts_grpc_record_protocol_common.h | 35 tsi_result (*protect)(alts_grpc_record_protocol* self, 38 tsi_result (*unprotect)(alts_grpc_record_protocol* self, 92 tsi_result alts_grpc_record_protocol_init(alts_grpc_record_protocol* rp,
|
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_zero_copy_grpc_protector.cc | 111 static tsi_result create_alts_grpc_record_protocol( in create_alts_grpc_record_protocol() 133 tsi_result result = is_integrity_only in create_alts_grpc_record_protocol() 149 static tsi_result alts_zero_copy_grpc_protector_protect( in alts_zero_copy_grpc_protector_protect() 164 tsi_result status = alts_grpc_record_protocol_protect( in alts_zero_copy_grpc_protector_protect() 175 static tsi_result alts_zero_copy_grpc_protector_unprotect( in alts_zero_copy_grpc_protector_unprotect() 199 tsi_result status; in alts_zero_copy_grpc_protector_unprotect() 242 tsi_result alts_zero_copy_grpc_protector_create( in alts_zero_copy_grpc_protector_create() 259 tsi_result status = create_alts_grpc_record_protocol( in alts_zero_copy_grpc_protector_create()
|
D | alts_grpc_record_protocol_common.h | 35 tsi_result (*protect)(alts_grpc_record_protocol* self, 38 tsi_result (*unprotect)(alts_grpc_record_protocol* self, 93 tsi_result alts_grpc_record_protocol_init(alts_grpc_record_protocol* rp,
|