Searched refs:entropy_bits (Results 1 – 1 of 1) sorted by relevance
87 static uint32_t entropy_bits; /* pool's current amount of entropy */ variable206 entropy_bits = 0; in _init()338 while (entropy_bits < MINEXTRACTBITS) { in swrand_get_entropy()342 if (entropy_bits < MINEXTRACTBITS && in swrand_get_entropy()348 if (entropy_bits < MINEXTRACTBITS) { in swrand_get_entropy()363 bytes = min(bytes, CRYPTO_BITS2BYTES(entropy_bits)); in swrand_get_entropy()364 entropy_bits -= CRYPTO_BYTES2BITS(bytes); in swrand_get_entropy()366 swrand_stats.ss_entEst = entropy_bits; in swrand_get_entropy()527 entropy_bits += entropy_est; in swrand_mix_pool()528 if (entropy_bits > CRYPTO_BYTES2BITS(RNDPOOLSIZE)) in swrand_mix_pool()[all …]