Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
test_utils.h File Reference
#include <zephyr/tc_util.h>
#include <tinycrypt/constants.h>

Go to the source code of this file.

Functions

static void show_str (const char *label, const uint8_t *s, size_t len)
 
static void fatal (uint32_t testnum, const void *expected, size_t expectedlen, const void *computed, size_t computedlen)
 
static uint32_t check_result (uint32_t testnum, const void *expected, size_t expectedlen, const void *computed, size_t computedlen, uint32_t verbose)
 

Function Documentation

◆ check_result()

static uint32_t check_result ( uint32_t  testnum,
const void *  expected,
size_t  expectedlen,
const void *  computed,
size_t  computedlen,
uint32_t  verbose 
)
inlinestatic

◆ fatal()

static void fatal ( uint32_t  testnum,
const void *  expected,
size_t  expectedlen,
const void *  computed,
size_t  computedlen 
)
inlinestatic

◆ show_str()

static void show_str ( const char *  label,
const uint8_t s,
size_t  len 
)
inlinestatic