Lines Matching refs:result
296 void entropy_threshold( int threshold, int chunk_size, int result )
319 if( result >= 0 )
325 result *= 2;
327 TEST_ASSERT( weak.calls == (size_t) result );
331 TEST_ASSERT( ret == result );
342 int result )
345 * if result >= 0: result = expected number of calls to source 1
346 * if result < 0: result = expected return code from mbedtls_entropy_func()
367 if( result >= 0 )
373 result *= 2;
375 TEST_ASSERT( dummy1.calls == (size_t) result );
379 TEST_ASSERT( ret == result );
513 // Check result of both NV file and entropy received with the manual calculations
526 void entropy_selftest( int result )
528 TEST_ASSERT( mbedtls_entropy_self_test( 1 ) == result );