/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 | 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 …]
|
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 | 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()
|
/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()
|
D | alts_tsi_handshaker.cc | 69 static tsi_result handshaker_result_extract_peer( in handshaker_result_extract_peer() 79 tsi_result ok = tsi_construct_peer(kTsiAltsNumOfPeerProperties, peer); in handshaker_result_extract_peer() 117 static tsi_result handshaker_result_create_zero_copy_grpc_protector( in handshaker_result_create_zero_copy_grpc_protector() 128 tsi_result ok = alts_zero_copy_grpc_protector_create( in handshaker_result_create_zero_copy_grpc_protector() 139 static tsi_result handshaker_result_create_frame_protector( in handshaker_result_create_frame_protector() 150 tsi_result ok = alts_create_frame_protector( in handshaker_result_create_frame_protector() 160 static tsi_result handshaker_result_get_unused_bytes( in handshaker_result_get_unused_bytes() 196 static tsi_result create_handshaker_result(grpc_gcp_handshaker_resp* resp, in create_handshaker_result() 237 static tsi_result handshaker_next( in handshaker_next() 252 tsi_result ok = TSI_OK; in handshaker_next() [all …]
|
D | alts_tsi_utils.h | 38 tsi_result alts_tsi_utils_convert_to_tsi_result(grpc_status_code code);
|
/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,
|
D | alts_grpc_privacy_integrity_record_protocol.cc | 35 static tsi_result alts_grpc_privacy_integrity_protect( in alts_grpc_privacy_integrity_protect() 72 static tsi_result alts_grpc_privacy_integrity_unprotect( in alts_grpc_privacy_integrity_unprotect() 123 tsi_result alts_grpc_privacy_integrity_record_protocol_create( in alts_grpc_privacy_integrity_record_protocol_create() 134 tsi_result result = in alts_grpc_privacy_integrity_record_protocol_create()
|
D | alts_grpc_integrity_only_record_protocol.cc | 42 static tsi_result alts_grpc_integrity_only_extra_copy_protect( in alts_grpc_integrity_only_extra_copy_protect() 78 static tsi_result alts_grpc_integrity_only_protect( in alts_grpc_integrity_only_protect() 120 static tsi_result alts_grpc_integrity_only_unprotect( in alts_grpc_integrity_only_unprotect() 198 tsi_result alts_grpc_integrity_only_record_protocol_create( in alts_grpc_integrity_only_record_protocol_create() 210 tsi_result result = alts_grpc_record_protocol_init( in alts_grpc_integrity_only_record_protocol_create()
|
D | alts_grpc_record_protocol.h | 49 tsi_result alts_grpc_record_protocol_protect( 67 tsi_result alts_grpc_record_protocol_unprotect(
|
D | alts_grpc_record_protocol_common.cc | 88 tsi_result alts_grpc_record_protocol_init(alts_grpc_record_protocol* rp, in alts_grpc_record_protocol_init() 123 tsi_result alts_grpc_record_protocol_protect( in alts_grpc_record_protocol_protect() 137 tsi_result alts_grpc_record_protocol_unprotect( in alts_grpc_record_protocol_unprotect()
|
/external/grpc-grpc/src/core/tsi/alts/frame_protector/ |
D | alts_frame_protector.cc | 60 static tsi_result seal(alts_frame_protector* impl) { in seal() 80 static tsi_result alts_protect_flush(tsi_frame_protector* self, in alts_protect_flush() 106 tsi_result result = seal(impl); in alts_protect_flush() 140 static tsi_result alts_protect(tsi_frame_protector* self, in alts_protect() 193 static tsi_result unseal(alts_frame_protector* impl) { in unseal() 232 static tsi_result alts_unprotect(tsi_frame_protector* self, in alts_unprotect() 288 tsi_result result = unseal(impl); in alts_unprotect() 361 tsi_result alts_create_frame_protector(const uint8_t* key, size_t key_size, in alts_create_frame_protector()
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker_test.cc | 179 static void check_must_not_be_called(tsi_result status, void* user_data, in check_must_not_be_called() 186 static void on_client_start_success_cb(tsi_result status, void* user_data, in on_client_start_success_cb() 213 static void on_server_start_success_cb(tsi_result status, void* user_data, in on_server_start_success_cb() 240 static void on_client_next_success_cb(tsi_result status, void* user_data, in on_client_next_success_cb() 278 static void on_server_next_success_cb(tsi_result status, void* user_data, in on_server_next_success_cb() 314 static tsi_result mock_client_start(alts_handshaker_client* self, in mock_client_start() 335 static tsi_result mock_server_start(alts_handshaker_client* self, in mock_server_start() 358 static tsi_result mock_next(alts_handshaker_client* self, alts_tsi_event* event, in mock_next() 558 static void on_invalid_input_cb(tsi_result status, void* user_data, in on_invalid_input_cb() 569 static void on_failed_grpc_call_cb(tsi_result status, void* user_data, in on_failed_grpc_call_cb() [all …]
|
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_grpc_record_protocol_test.cc | 279 tsi_result status = alts_grpc_record_protocol_protect( in random_seal_unseal() 303 tsi_result status = alts_grpc_record_protocol_protect( in empty_seal_unseal() 321 tsi_result status; in unsync_seal_unseal() 344 tsi_result status; in corrupted_data() 362 tsi_result status; in input_check()
|
/external/grpc-grpc/src/core/lib/security/transport/ |
D | security_handshaker.cc | 155 tsi_result result = tsi_handshaker_result_create_zero_copy_grpc_protector( in on_peer_checked_inner() 219 tsi_result result = in check_peer_locked() 231 security_handshaker* h, tsi_result result, in on_handshake_next_done_locked() 275 tsi_result result, void* user_data, const unsigned char* bytes_to_send, in on_handshake_next_done_grpc_wrapper() 300 tsi_result result = tsi_handshaker_next( in do_handshaker_next_locked()
|
D | tsi_error.h | 27 grpc_error* grpc_set_tsi_error_result(grpc_error* error, tsi_result result);
|
/external/grpc-grpc/test/core/tsi/ |
D | transport_security_test_lib.cc | 201 tsi_result result = TSI_OK; in tsi_test_frame_protector_send_message_to_peer() 248 tsi_result result = TSI_OK; in tsi_test_frame_protector_receive_message_from_peer() 291 grpc_error* on_handshake_next_done(tsi_result result, void* user_data, in on_handshake_next_done() 332 tsi_result result, void* user_data, const unsigned char* bytes_to_send, in on_handshake_next_done_wrapper() 363 tsi_result result = TSI_OK; in do_handshaker_next()
|