|
static void | check_handshake_results (tsi_test_fixture *fixture) |
|
static void | check_unused_bytes (tsi_test_fixture *fixture) |
|
static void | do_handshaker_next (handshaker_args *args) |
|
static unsigned char * | generate_random_message (size_t size) |
|
static handshaker_args * | handshaker_args_create (tsi_test_fixture *fixture, bool is_client) |
|
static void | handshaker_args_destroy (handshaker_args *args) |
|
static bool | is_handshake_finished_properly (handshaker_args *args) |
|
static void | maybe_append_unused_bytes (handshaker_args *args) |
|
static void | notification_signal (tsi_test_fixture *fixture) |
|
static void | notification_wait (tsi_test_fixture *fixture) |
|
grpc_error_handle | on_handshake_next_done (tsi_result result, void *user_data, const unsigned char *bytes_to_send, size_t bytes_to_send_size, tsi_handshaker_result *handshaker_result) |
|
static void | on_handshake_next_done_wrapper (tsi_result result, void *user_data, const unsigned char *bytes_to_send, size_t bytes_to_send_size, tsi_handshaker_result *handshaker_result) |
|
static void | receive_bytes_from_peer (tsi_test_channel *test_channel, unsigned char **buf, size_t *buf_size, bool is_client) |
|
static void | send_bytes_to_peer (tsi_test_channel *test_channel, const unsigned char *buf, size_t buf_size, bool is_client) |
|
static void | setup_handshakers (tsi_test_fixture *fixture) |
|
static tsi_test_channel * | tsi_test_channel_create () |
|
static void | tsi_test_channel_destroy (tsi_test_channel *channel) |
|
void | tsi_test_do_handshake (tsi_test_fixture *fixture) |
|
static void | tsi_test_do_ping_pong (tsi_test_frame_protector_config *config, tsi_test_channel *channel, tsi_frame_protector *client_frame_protector, tsi_frame_protector *server_frame_protector) |
|
void | tsi_test_do_round_trip (tsi_test_fixture *fixture) |
|
void | tsi_test_fixture_destroy (tsi_test_fixture *fixture) |
|
void | tsi_test_fixture_init (tsi_test_fixture *fixture) |
|
tsi_test_frame_protector_config * | tsi_test_frame_protector_config_create (bool use_default_read_buffer_allocated_size, bool use_default_message_buffer_allocated_size, bool use_default_protected_buffer_size, bool use_default_client_message, bool use_default_server_message, bool use_default_client_max_output_protected_frame_size, bool use_default_server_max_output_protected_frame_size) |
|
void | tsi_test_frame_protector_config_destroy (tsi_test_frame_protector_config *config) |
|
void | tsi_test_frame_protector_config_set_buffer_size (tsi_test_frame_protector_config *config, size_t read_buffer_allocated_size, size_t message_buffer_allocated_size, size_t protected_buffer_size, size_t client_max_output_protected_frame_size, size_t server_max_output_protected_frame_size) |
|
void | tsi_test_frame_protector_do_round_trip_no_handshake (tsi_test_frame_protector_fixture *fixture) |
|
tsi_test_frame_protector_fixture * | tsi_test_frame_protector_fixture_create () |
|
void | tsi_test_frame_protector_fixture_destroy (tsi_test_frame_protector_fixture *fixture) |
|
void | tsi_test_frame_protector_fixture_init (tsi_test_frame_protector_fixture *fixture, tsi_frame_protector *client_frame_protector, tsi_frame_protector *server_frame_protector) |
|
void | tsi_test_frame_protector_receive_message_from_peer (tsi_test_frame_protector_config *config, tsi_test_channel *channel, tsi_frame_protector *protector, unsigned char *message, size_t *bytes_received, bool is_client) |
|
void | tsi_test_frame_protector_send_message_to_peer (tsi_test_frame_protector_config *config, tsi_test_channel *channel, tsi_frame_protector *protector, bool is_client) |
|