Lines Matching refs:entropy
52 unsigned char entropy[512];
64 unhexify( entropy, entropy_string );
70 …TEST_ASSERT( mbedtls_ctr_drbg_seed_entropy_len( &ctx, mbedtls_entropy_func, entropy, add_init, add…
88 unsigned char entropy[512];
101 unhexify( entropy, entropy_string );
108 …TEST_ASSERT( mbedtls_ctr_drbg_seed_entropy_len( &ctx, mbedtls_entropy_func, entropy, add_init, add…
126 unsigned char entropy[1024];
133 memset( entropy, 0, sizeof( entropy ) );
137 /* Init must use entropy */
139 TEST_ASSERT( mbedtls_ctr_drbg_seed( &ctx, mbedtls_entropy_func, entropy, NULL, 0 ) == 0 );
143 * so the next few calls should not use entropy */
175 /* Call update with too much data (sizeof entropy > MAX(_SEED)_INPUT)
177 mbedtls_ctr_drbg_update( &ctx, entropy, sizeof( entropy ) );