Functions
alts_crypter_test.cc File Reference
#include "src/core/tsi/alts/frame_protector/alts_crypter.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "test/core/tsi/alts/crypt/gsec_test_util.h"
Include dependency graph for alts_crypter_test.cc:

Go to the source code of this file.

Functions

static void alts_crypter_do_generic_tests ()
 
static void alts_crypter_test_corrupted_unseal (alts_crypter *server_seal, alts_crypter *server_unseal, alts_crypter *client_seal, alts_crypter *)
 
static void alts_crypter_test_input_sanity_check (alts_crypter *crypter_seal, alts_crypter *crypter_unseal)
 
static void alts_crypter_test_multiple_random_seal_unseal (alts_crypter *server_seal, alts_crypter *server_unseal, alts_crypter *client_seal, alts_crypter *client_unseal)
 
static void alts_crypter_test_random_seal_unseal (alts_crypter *server_seal, alts_crypter *server_unseal, alts_crypter *client_seal, alts_crypter *client_unseal)
 
static void alts_crypter_test_unsync_seal_unseal (alts_crypter *server_seal, alts_crypter *server_unseal, alts_crypter *client_seal, alts_crypter *client_unseal)
 
static void create_random_alts_seal_crypter (alts_crypter **server_seal, alts_crypter **server_unseal, alts_crypter **client_seal, alts_crypter **client_unseal, gsec_aead_crypter **server_crypter_seal, gsec_aead_crypter **server_crypter_unseal, gsec_aead_crypter **client_crypter_seal, gsec_aead_crypter **client_crypter_unseal, bool rekey)
 
static void destroy_random_alts_seal_crypter (alts_crypter *server_seal, alts_crypter *server_unseal, alts_crypter *client_seal, alts_crypter *client_unseal)
 
int main (int, char **)
 

Function Documentation

◆ alts_crypter_do_generic_tests()

static void alts_crypter_do_generic_tests ( )
static

Definition at line 389 of file alts_crypter_test.cc.

◆ alts_crypter_test_corrupted_unseal()

static void alts_crypter_test_corrupted_unseal ( alts_crypter server_seal,
alts_crypter server_unseal,
alts_crypter client_seal,
alts_crypter  
)
static

Definition at line 132 of file alts_crypter_test.cc.

◆ alts_crypter_test_input_sanity_check()

static void alts_crypter_test_input_sanity_check ( alts_crypter crypter_seal,
alts_crypter crypter_unseal 
)
static

Definition at line 266 of file alts_crypter_test.cc.

◆ alts_crypter_test_multiple_random_seal_unseal()

static void alts_crypter_test_multiple_random_seal_unseal ( alts_crypter server_seal,
alts_crypter server_unseal,
alts_crypter client_seal,
alts_crypter client_unseal 
)
static

Definition at line 67 of file alts_crypter_test.cc.

◆ alts_crypter_test_random_seal_unseal()

static void alts_crypter_test_random_seal_unseal ( alts_crypter server_seal,
alts_crypter server_unseal,
alts_crypter client_seal,
alts_crypter client_unseal 
)
static

Definition at line 30 of file alts_crypter_test.cc.

◆ alts_crypter_test_unsync_seal_unseal()

static void alts_crypter_test_unsync_seal_unseal ( alts_crypter server_seal,
alts_crypter server_unseal,
alts_crypter client_seal,
alts_crypter client_unseal 
)
static

Definition at line 204 of file alts_crypter_test.cc.

◆ create_random_alts_seal_crypter()

static void create_random_alts_seal_crypter ( alts_crypter **  server_seal,
alts_crypter **  server_unseal,
alts_crypter **  client_seal,
alts_crypter **  client_unseal,
gsec_aead_crypter **  server_crypter_seal,
gsec_aead_crypter **  server_crypter_unseal,
gsec_aead_crypter **  client_crypter_seal,
gsec_aead_crypter **  client_crypter_unseal,
bool  rekey 
)
static

Definition at line 344 of file alts_crypter_test.cc.

◆ destroy_random_alts_seal_crypter()

static void destroy_random_alts_seal_crypter ( alts_crypter server_seal,
alts_crypter server_unseal,
alts_crypter client_seal,
alts_crypter client_unseal 
)
static

Definition at line 379 of file alts_crypter_test.cc.

◆ main()

int main ( int  ,
char **   
)

Definition at line 490 of file alts_crypter_test.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:02