Home
last modified time | relevance | path

Searched refs:tsi_handshaker_result (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc/src/core/tsi/
Dtransport_security_interface.h212 typedef struct tsi_handshaker_result tsi_handshaker_result; typedef
217 tsi_result tsi_handshaker_result_extract_peer(const tsi_handshaker_result* self,
224 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size,
232 const tsi_handshaker_result* self, const unsigned char** bytes,
237 void tsi_handshaker_result_destroy(tsi_handshaker_result* self);
419 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result);
443 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result,
Dtransport_security.h74 tsi_handshaker_result** handshaker_result,
95 tsi_result (*extract_peer)(const tsi_handshaker_result* self, tsi_peer* peer);
97 const tsi_handshaker_result* self,
100 tsi_result (*create_frame_protector)(const tsi_handshaker_result* self,
103 tsi_result (*get_unused_bytes)(const tsi_handshaker_result* self,
106 void (*destroy)(tsi_handshaker_result* self);
109 struct tsi_handshaker_result { struct
Dlocal_transport_security.cc41 tsi_handshaker_result base;
107 const tsi_handshaker_result* self, tsi_peer* peer) { in handshaker_result_extract_peer()
112 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size, in handshaker_result_create_zero_copy_grpc_protector()
126 static void handshaker_result_destroy(tsi_handshaker_result* self) { in handshaker_result_destroy()
132 const_cast<tsi_handshaker_result*>(self)); in handshaker_result_destroy()
144 tsi_handshaker_result** self) { in create_handshaker_result()
162 size_t* bytes_to_send_size, tsi_handshaker_result** result, in handshaker_next()
Dtransport_security.cc203 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in tsi_handshaker_next()
229 tsi_result tsi_handshaker_result_extract_peer(const tsi_handshaker_result* self, in tsi_handshaker_result_extract_peer()
240 const tsi_handshaker_result* self, size_t* max_protected_frame_size, in tsi_handshaker_result_create_frame_protector()
251 const tsi_handshaker_result* self, const unsigned char** bytes, in tsi_handshaker_result_get_unused_bytes()
261 void tsi_handshaker_result_destroy(tsi_handshaker_result* self) { in tsi_handshaker_result_destroy()
Dfake_transport_security.cc491 tsi_handshaker_result base;
497 const tsi_handshaker_result* self, tsi_peer* peer) { in fake_handshaker_result_extract_peer()
509 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size, in fake_handshaker_result_create_zero_copy_grpc_protector()
517 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size, in fake_handshaker_result_create_frame_protector()
524 const tsi_handshaker_result* self, const unsigned char** bytes, in fake_handshaker_result_get_unused_bytes()
532 static void fake_handshaker_result_destroy(tsi_handshaker_result* self) { in fake_handshaker_result_destroy()
549 tsi_handshaker_result** handshaker_result) { in fake_handshaker_result_create()
671 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in fake_handshaker_next()
Dtransport_security_grpc.h31 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size,
Dtransport_security_grpc.cc25 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size, in tsi_handshaker_result_create_zero_copy_grpc_protector()
Dssl_transport_security.cc117 tsi_handshaker_result base;
1012 const tsi_handshaker_result* self, tsi_peer* peer) { in ssl_handshaker_result_extract_peer()
1064 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size, in ssl_handshaker_result_create_frame_protector()
1070 const_cast<tsi_handshaker_result*>(self)); in ssl_handshaker_result_create_frame_protector()
1109 const tsi_handshaker_result* self, const unsigned char** bytes, in ssl_handshaker_result_get_unused_bytes()
1118 static void ssl_handshaker_result_destroy(tsi_handshaker_result* self) { in ssl_handshaker_result_destroy()
1137 size_t unused_bytes_size, tsi_handshaker_result** handshaker_result) { in ssl_handshaker_result_create()
1250 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in ssl_handshaker_next()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc60 tsi_handshaker_result base;
70 const tsi_handshaker_result* self, tsi_peer* peer) { in handshaker_result_extract_peer()
77 const_cast<tsi_handshaker_result*>(self)); in handshaker_result_extract_peer()
118 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size, in handshaker_result_create_zero_copy_grpc_protector()
127 const_cast<tsi_handshaker_result*>(self)); in handshaker_result_create_zero_copy_grpc_protector()
140 const tsi_handshaker_result* self, size_t* max_output_protected_frame_size, in handshaker_result_create_frame_protector()
149 const_cast<tsi_handshaker_result*>(self)); in handshaker_result_create_frame_protector()
161 const tsi_handshaker_result* self, const unsigned char** bytes, in handshaker_result_get_unused_bytes()
170 const_cast<tsi_handshaker_result*>(self)); in handshaker_result_get_unused_bytes()
176 static void handshaker_result_destroy(tsi_handshaker_result* self) { in handshaker_result_destroy()
[all …]
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc182 tsi_handshaker_result* result) { in check_must_not_be_called()
189 tsi_handshaker_result* result) { in on_client_start_success_cb()
216 tsi_handshaker_result* result) { in on_server_start_success_cb()
243 tsi_handshaker_result* result) { in on_client_next_success_cb()
281 tsi_handshaker_result* result) { in on_server_next_success_cb()
561 tsi_handshaker_result* result) { in on_invalid_input_cb()
572 tsi_handshaker_result* result) { in on_failed_grpc_call_cb()
614 tsi_handshaker_result* result) { in on_invalid_resp_cb()
663 tsi_handshaker_result* result) { in on_failed_resp_cb()
693 tsi_handshaker_result* result) { in on_shutdown_resp_cb()
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test_lib.h82 tsi_handshaker_result* client_result;
83 tsi_handshaker_result* server_result;
Dtransport_security_test_lib.cc87 tsi_handshaker_result* result_with_unused_bytes = in check_unused_bytes()
90 tsi_handshaker_result* result_without_unused_bytes = in check_unused_bytes()
294 tsi_handshaker_result* handshaker_result) { in on_handshake_next_done()
313 tsi_handshaker_result** result_to_write = in on_handshake_next_done()
333 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result) { in on_handshake_next_done_wrapper()
360 tsi_handshaker_result* handshaker_result = nullptr; in do_handshaker_next()
Dfake_transport_security_test.cc43 static void validate_handshaker_peers(tsi_handshaker_result* result) { in validate_handshaker_peers()
/external/grpc-grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc67 tsi_handshaker_result* handshaker_result;
233 tsi_handshaker_result* handshaker_result) { in on_handshake_next_done_locked()
276 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result) { in on_handshake_next_done_grpc_wrapper()
299 tsi_handshaker_result* handshaker_result = nullptr; in do_handshaker_next_locked()