Home
last modified time | relevance | path

Searched hist:a283b5c459784f9762a74c312b134e9a524f5a5f (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/char/
H A Drandom.cdiff a283b5c459784f9762a74c312b134e9a524f5a5f Wed Sep 11 05:16:17 CEST 2013 H. Peter Anvin <hpa@zytor.com> random: allow fractional bits to be tracked

Allow fractional bits of entropy to be tracked by scaling the entropy
counter (fixed point). This will be used in a subsequent patch that
accounts for entropy lost due to overwrites.

[ Modified by tytso to fix up a few missing places where the
entropy_count wasn't properly converted from fractional bits to
bits. ]

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>