#include "src/core/tsi/alts/frame_protector/alts_frame_protector.h"
#include <stdbool.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/tsi/alts/crypt/gsec.h"
#include "src/core/tsi/transport_security_interface.h"
#include "test/core/tsi/alts/crypt/gsec_test_util.h"
#include "test/core/tsi/transport_security_test_lib.h"
Go to the source code of this file.
Functions | |
static void | alts_test_do_round_trip (tsi_test_frame_protector_fixture *fixture, bool rekey) |
static void | alts_test_do_round_trip_all (bool rekey) |
static void | alts_test_do_round_trip_check_frames (tsi_test_frame_protector_fixture *fixture, const uint8_t *key, const size_t key_size, bool rekey, const uint8_t *client_message, const size_t client_message_size, const uint8_t *client_expected_frames, const size_t client_frame_size, const uint8_t *server_message, const size_t server_message_size, const uint8_t *server_expected_frames, const size_t server_frame_size) |
static void | alts_test_do_round_trip_vector_tests () |
int | main (int, char **) |
Variables | |
const size_t | kChannelSize = 32768 |
|
static |
Definition at line 331 of file alts_frame_protector_test.cc.
|
static |
Definition at line 367 of file alts_frame_protector_test.cc.
|
static |
Definition at line 33 of file alts_frame_protector_test.cc.
|
static |
Test large client message, small server message, and small message_buffer_allocated_size.
Test large client message, small server message, and small protected_buffer_size.
Test large client message, small server message, and small read_buffer_allocated_size.
Test large client message, small server message, and small client_max_output_protected_frame_size.
Test small client message, large server message, and small server_max_output_protected_frame_size.
Definition at line 114 of file alts_frame_protector_test.cc.
Definition at line 390 of file alts_frame_protector_test.cc.
const size_t kChannelSize = 32768 |
Definition at line 31 of file alts_frame_protector_test.cc.