Lines Matching full: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; in add_early_randomness() local
76 add_hwgenerator_randomness(rng_fillbuf, bytes_read, entropy, false); in add_early_randomness()
501 size_t entropy, entropy_credit = 0; /* in 1/1024 of a bit */ in hwrng_fillfn() local
527 /* If we cannot credit at least one bit of entropy, in hwrng_fillfn()
530 entropy = rc * quality * 8 + entropy_credit; in hwrng_fillfn()
531 if ((entropy >> 10) == 0) in hwrng_fillfn()
532 entropy_credit = entropy; in hwrng_fillfn()
536 entropy >> 10, true); in hwrng_fillfn()
572 * provides better entropy quality and was not in hwrng_register()