Searched refs:expectedlen (Results 1 – 3 of 3) sorted by relevance
/mcuboot-latest/ext/tinycrypt/tests/include/ |
D | test_utils.h | 98 static inline void fatal(unsigned int testnum, const void *expected, size_t expectedlen, in fatal() argument 103 show_str("\t\tExpected", expected, expectedlen); in fatal() 108 …ic inline unsigned int check_result(unsigned int testnum, const void *expected, size_t expectedlen, in check_result() argument 113 if (expectedlen != computedlen) { in check_result() 115 TC_ERROR("does not match the expected length (%zu).", expectedlen); in check_result() 118 fatal(testnum, expected, expectedlen, computed, computedlen); in check_result()
|
/mcuboot-latest/ext/tinycrypt/tests/ |
D | test_ctr_prng.c | 259 unsigned int expectedlen = strlen(vector.expectedString) / 2U; in executePRNG_TestVector() local 270 uint8_t * output = (uint8_t *)malloc(expectedlen); in executePRNG_TestVector() 292 (void)tc_ctr_prng_generate(&ctx, additional_input1, additionallen1, output, expectedlen); in executePRNG_TestVector() 293 (void)tc_ctr_prng_generate(&ctx, additional_input2, additionallen2, output, expectedlen); in executePRNG_TestVector() 295 for (i = 0U; i < expectedlen; i++) { in executePRNG_TestVector()
|
D | test_hmac.c | 53 size_t expectedlen) in do_hmac_test() argument 61 result = check_result(testnum, expected, expectedlen, in do_hmac_test()
|