Re: [PATCH, RFC 03/12] random: Allow fractional bits to be tracked

2013-09-22 Thread H. Peter Anvin
On 09/22/2013 09:01 PM, Theodore Ts'o wrote: > I've added the following changes to this patch since upon testing, > there were some uses of r->entropy_count that were not properly > converted from using fractional bits to bits. > Thanks for catching that. -hpa -- To unsubscribe from th

Re: [PATCH, RFC 03/12] random: Allow fractional bits to be tracked

2013-09-22 Thread Theodore Ts'o
I've added the following changes to this patch since upon testing, there were some uses of r->entropy_count that were not properly converted from using fractional bits to bits. - Ted diff --git a/drivers/char/random.c b/drivers/char/random.c index 1547338..

[PATCH, RFC 03/12] random: Allow fractional bits to be tracked

2013-09-22 Thread Theodore Ts'o
From: "H. Peter Anvin" 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. Signed-off-by: H. Peter Anvin Cc: Signed-off-by: Theodore Ts'o --- drivers/char/rando