Lines Matching refs:TEST_ASSERT

133     TEST_ASSERT( mbedtls_entropy_write_seed_file( &ctx, path ) == ret );
134 TEST_ASSERT( mbedtls_entropy_update_seed_file( &ctx, path ) == ret );
157 TEST_ASSERT( mbedtls_entropy_add_source( &ctx, entropy_dummy_source, NULL,
181 TEST_ASSERT( mbedtls_entropy_func( &ctx, buf, len ) == ret );
188 TEST_ASSERT( acc[j] != 0 );
191 TEST_ASSERT( acc[j] == 0 );
204 TEST_ASSERT( mbedtls_entropy_add_source( &ctx, entropy_dummy_source,
209 TEST_ASSERT( mbedtls_entropy_func( &ctx, buf, sizeof( buf ) )
211 TEST_ASSERT( mbedtls_entropy_gather( &ctx )
214 TEST_ASSERT( mbedtls_entropy_write_seed_file( &ctx, path )
216 TEST_ASSERT( mbedtls_entropy_update_seed_file( &ctx, path )
236 TEST_ASSERT( mbedtls_entropy_add_source( &ctx, entropy_dummy_source,
245 TEST_ASSERT( ret == 0 );
250 TEST_ASSERT( entropy_dummy_calls == (size_t) result );
254 TEST_ASSERT( ret == result );
269 TEST_ASSERT( write_nv_seed( buf, MBEDTLS_ENTROPY_BLOCK_SIZE ) == 0 );
286 TEST_ASSERT( write_nv_seed( io_seed, MBEDTLS_ENTROPY_BLOCK_SIZE ) == 0 );
287 TEST_ASSERT( mbedtls_nv_seed_read( check_seed, MBEDTLS_ENTROPY_BLOCK_SIZE ) ==
290 TEST_ASSERT( memcmp( io_seed, check_seed, MBEDTLS_ENTROPY_BLOCK_SIZE ) == 0 );
295 TEST_ASSERT( mbedtls_nv_seed_write( io_seed, MBEDTLS_ENTROPY_BLOCK_SIZE ) ==
297 TEST_ASSERT( read_nv_seed( check_seed, MBEDTLS_ENTROPY_BLOCK_SIZE ) == 0 );
299 TEST_ASSERT( memcmp( io_seed, check_seed, MBEDTLS_ENTROPY_BLOCK_SIZE ) == 0 );
334 TEST_ASSERT( mbedtls_entropy_add_source( &ctx, mbedtls_nv_seed_poll, NULL,
339 TEST_ASSERT( mbedtls_entropy_func( &ctx, entropy, sizeof( entropy ) ) == 0 );
373 TEST_ASSERT( memcmp( check_seed, buffer_seed, MBEDTLS_ENTROPY_BLOCK_SIZE ) == 0 );
374 TEST_ASSERT( memcmp( check_entropy, entropy, MBEDTLS_ENTROPY_BLOCK_SIZE ) == 0 );
383 TEST_ASSERT( mbedtls_entropy_self_test( 1 ) == result );