Home
last modified time | relevance | path

Searched refs:tsi_handshaker (Results 1 – 25 of 41) sorted by relevance

12

/external/grpc-grpc/src/core/tsi/
Dtransport_security_interface.h334 typedef struct tsi_handshaker tsi_handshaker; typedef
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,
374 tsi_result tsi_handshaker_get_result(tsi_handshaker* self);
386 tsi_result tsi_handshaker_extract_peer(tsi_handshaker* self, tsi_peer* peer);
407 tsi_handshaker* self, size_t* max_output_protected_frame_size,
441 tsi_handshaker* self, const unsigned char* received_bytes,
451 void tsi_handshaker_shutdown(tsi_handshaker* self);
455 void tsi_handshaker_destroy(tsi_handshaker* self);
Dtransport_security.h58 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,
69 void (*destroy)(tsi_handshaker* self);
70 tsi_result (*next)(tsi_handshaker* self, const unsigned char* received_bytes,
76 void (*shutdown)(tsi_handshaker* self);
79 struct tsi_handshaker { struct
Dtransport_security.cc131 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()
182 tsi_handshaker* self, size_t* max_protected_frame_size, in tsi_handshaker_create_frame_protector()
201 tsi_handshaker* self, const unsigned char* received_bytes, in tsi_handshaker_next()
214 void tsi_handshaker_shutdown(tsi_handshaker* self) { in tsi_handshaker_shutdown()
222 void tsi_handshaker_destroy(tsi_handshaker* self) { in tsi_handshaker_destroy()
Dlocal_transport_security.cc47 tsi_handshaker base;
160 tsi_handshaker* self, const unsigned char* received_bytes, in handshaker_next()
178 static void handshaker_destroy(tsi_handshaker* self) { in handshaker_destroy()
198 tsi_result local_tsi_handshaker_create(bool is_client, tsi_handshaker** self) { in local_tsi_handshaker_create()
Dssl_transport_security.h166 tsi_handshaker** handshaker);
277 tsi_ssl_server_handshaker_factory* self, tsi_handshaker** handshaker);
Dfake_transport_security.cc62 tsi_handshaker base;
570 tsi_handshaker* self, unsigned char* bytes, size_t* bytes_size) { in fake_handshaker_get_bytes_to_send_to_peer()
611 tsi_handshaker* self, const unsigned char* bytes, size_t* bytes_size) { in fake_handshaker_process_bytes_from_peer()
655 static tsi_result fake_handshaker_get_result(tsi_handshaker* self) { in fake_handshaker_get_result()
660 static void fake_handshaker_destroy(tsi_handshaker* self) { in fake_handshaker_destroy()
669 tsi_handshaker* self, const unsigned char* received_bytes, in fake_handshaker_next()
744 tsi_handshaker* tsi_create_fake_handshaker(int is_client) { in tsi_create_fake_handshaker()
Dlocal_transport_security.h49 tsi_result local_tsi_handshaker_create(bool is_client, tsi_handshaker** self);
Dfake_transport_security.h34 tsi_handshaker* tsi_create_fake_handshaker(int is_client);
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dtransport_security_interface.h351 typedef struct tsi_handshaker tsi_handshaker; typedef
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,
391 tsi_result tsi_handshaker_get_result(tsi_handshaker* self);
403 tsi_result tsi_handshaker_extract_peer(tsi_handshaker* self, tsi_peer* peer);
424 tsi_handshaker* self, size_t* max_output_protected_frame_size,
458 tsi_handshaker* self, const unsigned char* received_bytes,
468 void tsi_handshaker_shutdown(tsi_handshaker* self);
472 void tsi_handshaker_destroy(tsi_handshaker* self);
Dtransport_security.h57 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,
68 void (*destroy)(tsi_handshaker* self);
69 tsi_result (*next)(tsi_handshaker* self, const unsigned char* received_bytes,
75 void (*shutdown)(tsi_handshaker* self);
77 struct tsi_handshaker { struct
Dtransport_security.cc144 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()
197 tsi_handshaker* self, size_t* max_output_protected_frame_size, in tsi_handshaker_create_frame_protector()
216 tsi_handshaker* self, const unsigned char* received_bytes, in tsi_handshaker_next()
229 void tsi_handshaker_shutdown(tsi_handshaker* self) { in tsi_handshaker_shutdown()
237 void tsi_handshaker_destroy(tsi_handshaker* self) { in tsi_handshaker_destroy()
Dlocal_transport_security.cc49 tsi_handshaker base;
164 tsi_handshaker* self, const unsigned char* /*received_bytes*/, in handshaker_next()
182 static void handshaker_destroy(tsi_handshaker* self) { in handshaker_destroy()
204 tsi_result tsi_local_handshaker_create(bool is_client, tsi_handshaker** self) { in tsi_local_handshaker_create()
Dfake_transport_security.cc61 tsi_handshaker base;
581 tsi_handshaker* self, unsigned char* bytes, size_t* bytes_size) { in fake_handshaker_get_bytes_to_send_to_peer()
624 tsi_handshaker* self, const unsigned char* bytes, size_t* bytes_size) { in fake_handshaker_process_bytes_from_peer()
668 static tsi_result fake_handshaker_get_result(tsi_handshaker* self) { in fake_handshaker_get_result()
673 static void fake_handshaker_destroy(tsi_handshaker* self) { in fake_handshaker_destroy()
682 tsi_handshaker* self, const unsigned char* received_bytes, in fake_handshaker_next()
757 tsi_handshaker* tsi_create_fake_handshaker(int is_client) { in tsi_create_fake_handshaker()
Dssl_transport_security.h193 const char* server_name_indication, tsi_handshaker** handshaker);
320 tsi_ssl_server_handshaker_factory* factory, tsi_handshaker** handshaker);
Dlocal_transport_security.h48 tsi_result tsi_local_handshaker_create(bool is_client, tsi_handshaker** self);
Dfake_transport_security.h36 tsi_handshaker* tsi_create_fake_handshaker(int is_client);
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc417 static tsi_handshaker* create_test_handshaker(bool used_for_success_test, in create_test_handshaker()
419 tsi_handshaker* handshaker = nullptr; in create_test_handshaker()
435 tsi_handshaker* handshaker = create_test_handshaker(true, true); in check_handshaker_next_invalid_input()
450 tsi_handshaker* handshaker = create_test_handshaker( in check_handshaker_shutdown_invalid_input()
463 tsi_handshaker* client_handshaker = create_test_handshaker( in check_handshaker_next_success()
465 tsi_handshaker* server_handshaker = create_test_handshaker( in check_handshaker_next_success()
498 tsi_handshaker* handshaker = create_test_handshaker( in check_handshaker_next_with_shutdown()
527 tsi_handshaker* client_handshaker = create_test_handshaker( in check_handshaker_next_failure()
529 tsi_handshaker* server_handshaker = create_test_handshaker( in check_handshaker_next_failure()
585 tsi_handshaker* handshaker = create_test_handshaker( in check_handle_response_invalid_input()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dsecurity_handshaker.h31 tsi_handshaker* handshaker, grpc_security_connector* connector,
42 tsi_handshaker* handshaker, grpc_security_connector* connector,
Dsecurity_handshaker.cc50 SecurityHandshaker(tsi_handshaker* handshaker,
86 tsi_handshaker* handshaker_;
111 SecurityHandshaker::SecurityHandshaker(tsi_handshaker* handshaker, in SecurityHandshaker()
577 tsi_handshaker* handshaker, grpc_security_connector* connector, in SecurityHandshakerCreate()
600 tsi_handshaker* handshaker, grpc_security_connector* connector, in grpc_security_handshaker_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/insecure/
Dinsecure_security_connector.cc71 tsi_handshaker* handshaker = nullptr; in add_handshakers()
99 tsi_handshaker* handshaker = nullptr; in add_handshakers()
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test_lib.h77 tsi_handshaker* client_handshaker;
78 tsi_handshaker* server_handshaker;
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc48 tsi_handshaker base;
504 tsi_handshaker* self, const unsigned char* received_bytes, in handshaker_next()
559 tsi_handshaker* self, const unsigned char* received_bytes, in handshaker_next_dedicated()
569 static void handshaker_shutdown(tsi_handshaker* self) { in handshaker_shutdown()
583 static void handshaker_destroy(tsi_handshaker* self) { in handshaker_destroy()
624 grpc_pollset_set* interested_parties, tsi_handshaker** self, in alts_tsi_handshaker_create()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc47 tsi_handshaker base;
238 tsi_handshaker* self, const unsigned char* received_bytes, in handshaker_next()
286 static void handshaker_shutdown(tsi_handshaker* self) { in handshaker_shutdown()
296 static void handshaker_destroy(tsi_handshaker* self) { in handshaker_destroy()
350 const char* handshaker_service_url, bool is_client, tsi_handshaker** self) { in alts_tsi_handshaker_create()
Dalts_tsi_handshaker.h61 const char* handshaker_service_url, bool is_client, tsi_handshaker** self);
/external/grpc-grpc/src/core/lib/security/transport/
Dsecurity_handshaker.h29 tsi_handshaker* handshaker, grpc_security_connector* connector);

12