BSL v1.0.0 - 16.g9d98179
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
test_DynamicMemCbs.c File Reference
+ Include dependency graph for test_DynamicMemCbs.c:

Functions

static void * malloc_test (size_t size)
 
static void * realloc_test (void *ptr, size_t size)
 
static void * calloc_test (size_t nmemb, size_t size)
 
static void free_test (void *ptr)
 
void suiteSetUp (void)
 
int suiteTearDown (int failures)
 
void _setUp (void)
 
void _tearDown (void)
 
void test_dyn_mem_cbs_BSL_32 (void)
 

Variables

static int malloc_cnt = 0
 
static int realloc_cnt = 0
 
static int calloc_cnt = 0
 
static int free_cnt = 0
 
static BSL_SecParam_t param_aes_variant_128
 
static BSL_SecParam_t param_use_wrap_key
 
static BSL_SecParam_t param_test_bcb_key_correct
 
static BSL_TestContext_t LocalTestCtx = { 0 }
 
static BSL_SecurityActionSet_t action_set = { 0 }
 

Function Documentation

◆ _setUp()

◆ _tearDown()

◆ calloc_test()

static void * calloc_test ( size_t  nmemb,
size_t  size 
)
static

References calloc_cnt.

Referenced by suiteSetUp().

◆ free_test()

static void free_test ( void *  ptr)
static

References free_cnt.

Referenced by suiteSetUp().

◆ malloc_test()

static void * malloc_test ( size_t  size)
static

References malloc_cnt.

Referenced by suiteSetUp().

◆ realloc_test()

static void * realloc_test ( void *  ptr,
size_t  size 
)
static

References realloc_cnt.

Referenced by suiteSetUp().

◆ suiteSetUp()

◆ suiteTearDown()

int suiteTearDown ( int  failures)

◆ test_dyn_mem_cbs_BSL_32()

Variable Documentation

◆ action_set

◆ calloc_cnt

int calloc_cnt = 0
static

◆ free_cnt

int free_cnt = 0
static

◆ LocalTestCtx

BSL_TestContext_t LocalTestCtx = { 0 }
static

◆ malloc_cnt

int malloc_cnt = 0
static

◆ param_aes_variant_128

BSL_SecParam_t param_aes_variant_128
static

Referenced by _setUp(), and _tearDown().

◆ param_test_bcb_key_correct

BSL_SecParam_t param_test_bcb_key_correct
static

Referenced by _setUp(), and _tearDown().

◆ param_use_wrap_key

BSL_SecParam_t param_use_wrap_key
static

Referenced by _setUp(), and _tearDown().

◆ realloc_cnt

int realloc_cnt = 0
static