Re: [PATCH 2/2] random: Account for entropy loss due to overwrites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/25/2013 07:44 AM, H. Peter Anvin wrote:
> 
> OK, so we need to track fractional bits.
> 

Ted, Linus: there are two ways we can do this: we can either change the
credit_entropy_bits() interface to take some kind of fractional bits as
interface, or we can change the accounting internally.

The latter has the advantage of being a less invasive change, but the
former has the advantage of making it possible to credit sub-bit entropy.

Do you have a preference?  Otherwise I will probably write up the
internal change for now.

	-hpa


--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]