Go to the source code of this file.
|
void | tsi_test_do_handshake (tsi_test_fixture *fixture) |
|
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) |
|
◆ TSI_TEST_BIG_MESSAGE_SIZE
#define TSI_TEST_BIG_MESSAGE_SIZE 17000 |
◆ TSI_TEST_DEFAULT_BUFFER_SIZE
#define TSI_TEST_DEFAULT_BUFFER_SIZE 4096 |
◆ TSI_TEST_DEFAULT_CHANNEL_SIZE
#define TSI_TEST_DEFAULT_CHANNEL_SIZE 32768 |
◆ TSI_TEST_DEFAULT_PROTECTED_BUFFER_SIZE
#define TSI_TEST_DEFAULT_PROTECTED_BUFFER_SIZE 16384 |
◆ TSI_TEST_NUM_OF_ARGUMENTS
#define TSI_TEST_NUM_OF_ARGUMENTS 7 |
◆ TSI_TEST_NUM_OF_COMBINATIONS
#define TSI_TEST_NUM_OF_COMBINATIONS 128 |
◆ TSI_TEST_SMALL_CLIENT_MAX_OUTPUT_PROTECTED_FRAME_SIZE
#define TSI_TEST_SMALL_CLIENT_MAX_OUTPUT_PROTECTED_FRAME_SIZE 39 |
◆ TSI_TEST_SMALL_HANDSHAKE_BUFFER_SIZE
#define TSI_TEST_SMALL_HANDSHAKE_BUFFER_SIZE 128 |
◆ TSI_TEST_SMALL_MESSAGE_BUFFER_ALLOCATED_SIZE
#define TSI_TEST_SMALL_MESSAGE_BUFFER_ALLOCATED_SIZE 42 |
◆ TSI_TEST_SMALL_MESSAGE_SIZE
#define TSI_TEST_SMALL_MESSAGE_SIZE 10 |
◆ TSI_TEST_SMALL_PROTECTED_BUFFER_SIZE
#define TSI_TEST_SMALL_PROTECTED_BUFFER_SIZE 37 |
◆ TSI_TEST_SMALL_READ_BUFFER_ALLOCATED_SIZE
#define TSI_TEST_SMALL_READ_BUFFER_ALLOCATED_SIZE 41 |
◆ TSI_TEST_SMALL_SERVER_MAX_OUTPUT_PROTECTED_FRAME_SIZE
#define TSI_TEST_SMALL_SERVER_MAX_OUTPUT_PROTECTED_FRAME_SIZE 43 |
◆ TSI_TEST_TINY_HANDSHAKE_BUFFER_SIZE
#define TSI_TEST_TINY_HANDSHAKE_BUFFER_SIZE 32 |
◆ TSI_TEST_UNUSED_BYTES
#define TSI_TEST_UNUSED_BYTES "HELLO GOOGLE" |
◆ tsi_test_channel
◆ tsi_test_fixture
◆ tsi_test_fixture_vtable
◆ tsi_test_frame_protector_config
◆ tsi_test_frame_protector_fixture
◆ tsi_test_do_handshake()
◆ tsi_test_do_round_trip()
◆ tsi_test_fixture_destroy()
◆ tsi_test_fixture_init()
◆ tsi_test_frame_protector_config_create()
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 |
|
) |
| |
◆ tsi_test_frame_protector_config_destroy()
◆ tsi_test_frame_protector_config_set_buffer_size()
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 |
|
) |
| |
◆ tsi_test_frame_protector_do_round_trip_no_handshake()
◆ tsi_test_frame_protector_fixture_create()
◆ tsi_test_frame_protector_fixture_destroy()
◆ tsi_test_frame_protector_fixture_init()
◆ tsi_test_frame_protector_receive_message_from_peer()
◆ tsi_test_frame_protector_send_message_to_peer()