Home
last modified time | relevance | path

Searched refs:tsi_frame_protector (Results 1 – 18 of 18) sorted by relevance

/third_party/grpc/src/core/tsi/
Dtransport_security_interface.h93 typedef struct tsi_frame_protector tsi_frame_protector; typedef
148 tsi_result tsi_frame_protector_protect(tsi_frame_protector* self,
163 tsi_frame_protector* self, unsigned char* protected_output_frames,
189 tsi_frame_protector* self, const unsigned char* protected_frames_bytes,
194 void tsi_frame_protector_destroy(tsi_frame_protector* self);
242 tsi_frame_protector** protector);
425 tsi_frame_protector** protector);
Dtransport_security.h34 tsi_result (*protect)(tsi_frame_protector* self,
39 tsi_result (*protect_flush)(tsi_frame_protector* self,
43 tsi_result (*unprotect)(tsi_frame_protector* self,
48 void (*destroy)(tsi_frame_protector* self);
50 struct tsi_frame_protector { struct
67 tsi_frame_protector** protector);
100 tsi_frame_protector** protector);
Dtransport_security.cc87 tsi_result tsi_frame_protector_protect(tsi_frame_protector* self, in tsi_frame_protector_protect()
105 tsi_frame_protector* self, unsigned char* protected_output_frames, in tsi_frame_protector_protect_flush()
120 tsi_frame_protector* self, const unsigned char* protected_frames_bytes, in tsi_frame_protector_unprotect()
135 void tsi_frame_protector_destroy(tsi_frame_protector* self) { in tsi_frame_protector_destroy()
198 tsi_frame_protector** protector) { in tsi_handshaker_create_frame_protector()
256 tsi_frame_protector** protector) { in tsi_handshaker_result_create_frame_protector()
Dfake_transport_security.cc72 tsi_frame_protector base;
255 static tsi_result fake_protector_protect(tsi_frame_protector* self, in fake_protector_protect()
319 tsi_frame_protector* self, unsigned char* protected_output_frames, in fake_protector_protect_flush()
341 tsi_frame_protector* self, const unsigned char* protected_frames_bytes, in fake_protector_unprotect()
390 static void fake_protector_destroy(tsi_frame_protector* self) { in fake_protector_destroy()
519 size_t* max_output_protected_frame_size, tsi_frame_protector** protector) { in fake_handshaker_result_create_frame_protector()
768 tsi_frame_protector* tsi_create_fake_frame_protector( in tsi_create_fake_frame_protector()
Dfake_transport_security.h39 tsi_frame_protector* tsi_create_fake_frame_protector(
Dssl_transport_security.cc129 tsi_frame_protector base;
1009 static tsi_result ssl_protector_protect(tsi_frame_protector* self, in ssl_protector_protect()
1066 tsi_frame_protector* self, unsigned char* protected_output_frames, in ssl_protector_protect_flush()
1100 tsi_frame_protector* self, const unsigned char* protected_frames_bytes, in ssl_protector_unprotect()
1142 static void ssl_protector_destroy(tsi_frame_protector* self) { in ssl_protector_destroy()
1294 tsi_frame_protector** protector) { in ssl_handshaker_result_create_frame_protector()
/third_party/grpc/test/core/tsi/
Dtransport_security_test_lib.h112 tsi_frame_protector* client_frame_protector;
113 tsi_frame_protector* server_frame_protector;
195 tsi_frame_protector* client_frame_protector,
196 tsi_frame_protector* server_frame_protector);
208 tsi_frame_protector* protector, bool is_client);
213 tsi_frame_protector* protector, unsigned char* message,
Dtransport_security_test_lib.cc188 tsi_frame_protector* protector, bool is_client) { in tsi_test_frame_protector_send_message_to_peer()
237 tsi_frame_protector* protector, unsigned char* message, in tsi_test_frame_protector_receive_message_from_peer()
419 tsi_frame_protector* client_frame_protector, in tsi_test_do_ping_pong()
420 tsi_frame_protector* server_frame_protector) { in tsi_test_do_ping_pong()
466 tsi_frame_protector* client_frame_protector = nullptr; in tsi_test_do_round_trip()
467 tsi_frame_protector* server_frame_protector = nullptr; in tsi_test_do_round_trip()
652 tsi_frame_protector* client_frame_protector, in tsi_test_frame_protector_fixture_init()
653 tsi_frame_protector* server_frame_protector) { in tsi_test_frame_protector_fixture_init()
Dtransport_security_test.cc375 tsi_frame_protector* p; in test_handshaker_invalid_state()
/third_party/grpc/src/core/lib/security/transport/
Dsecure_endpoint.h27 struct tsi_frame_protector;
36 struct tsi_frame_protector* protector,
Dsecure_endpoint.cc51 tsi_frame_protector* protector, in secure_endpoint()
85 struct tsi_frame_protector* protector;
444 struct tsi_frame_protector* protector, in grpc_secure_endpoint_create()
Dsecurity_handshaker.cc222 tsi_frame_protector* protector = nullptr; in OnPeerCheckedInner()
/third_party/grpc/src/core/tsi/alts/frame_protector/
Dalts_frame_protector.cc45 tsi_frame_protector base;
80 static tsi_result alts_protect_flush(tsi_frame_protector* self, in alts_protect_flush()
140 static tsi_result alts_protect(tsi_frame_protector* self, in alts_protect()
232 static tsi_result alts_unprotect(tsi_frame_protector* self, in alts_unprotect()
312 static void alts_destroy(tsi_frame_protector* self) { in alts_destroy()
364 tsi_frame_protector** self) { in alts_create_frame_protector()
Dalts_frame_protector.h53 tsi_frame_protector** self);
/third_party/grpc/test/core/tsi/alts/frame_protector/
Dalts_frame_protector_test.cc41 tsi_frame_protector* client_frame_protector = nullptr; in alts_test_do_round_trip_check_frames()
42 tsi_frame_protector* server_frame_protector = nullptr; in alts_test_do_round_trip_check_frames()
334 tsi_frame_protector* client_frame_protector = nullptr; in alts_test_do_round_trip()
335 tsi_frame_protector* server_frame_protector = nullptr; in alts_test_do_round_trip()
/third_party/grpc/test/core/security/
Dsecure_endpoint_test.cc42 tsi_frame_protector* fake_read_protector = in secure_endpoint_create_fixture_tcp_socketpair()
44 tsi_frame_protector* fake_write_protector = in secure_endpoint_create_fixture_tcp_socketpair()
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc243 tsi_frame_protector* protector = nullptr; in on_client_start_success_cb()
270 tsi_frame_protector* protector = nullptr; in on_server_start_success_cb()
345 tsi_frame_protector* protector = nullptr; in on_client_next_success_cb()
419 tsi_frame_protector* protector = nullptr; in on_server_next_success_cb()
/third_party/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc198 tsi_frame_protector** protector) { in handshaker_result_create_frame_protector()