Lines Matching refs:result
325 void entropy_threshold(int threshold, int chunk_size, int result)
350 if (result >= 0) {
355 result *= 2;
357 TEST_ASSERT(weak.calls == (size_t) result);
359 TEST_ASSERT(ret == result);
371 int result)
374 * if result >= 0: result = expected number of calls to source 1
375 * if result < 0: result = expected return code from mbedtls_entropy_func()
398 if (result >= 0) {
403 result *= 2;
405 TEST_ASSERT(dummy1.calls == (size_t) result);
407 TEST_ASSERT(ret == result);
544 // Check result of both NV file and entropy received with the manual calculations
558 void entropy_selftest(int result)
562 TEST_ASSERT(mbedtls_entropy_self_test(1) == result);