[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <517942AB.1010201@zytor.com>
Date: Thu, 25 Apr 2013 07:50:19 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: "Ted Ts'o" <tytso@....edu>
CC: Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"H. Peter Anvin" <hpa@...ux.intel.com>,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH 2/2] random: Account for entropy loss due to overwrites
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists