Lines Matching defs:entropy
50 "current hwrng entropy estimation per 1024 bits of input -- obsolete, use rng_quality instead");
53 "default maximum entropy content of hwrng per 1024 bits of input");
75 size_t entropy = bytes_read * 8 * rng->quality / 1024;
76 add_hwgenerator_randomness(rng_fillbuf, bytes_read, entropy, false);
502 size_t entropy, entropy_credit = 0; /* in 1/1024 of a bit */
528 /* If we cannot credit at least one bit of entropy,
531 entropy = rc * quality * 8 + entropy_credit;
532 if ((entropy >> 10) == 0)
533 entropy_credit = entropy;
537 entropy >> 10, true);
570 * provides better entropy quality and was not