From: "H. Peter Anvin" <hpa@zytor.com>
To: "Ted Ts'o" <tytso@mit.edu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"H. Peter Anvin" <hpa@linux.intel.com>,
stable <stable@vger.kernel.org>
Subject: Re: [PATCH 2/2] random: Account for entropy loss due to overwrites
Date: Thu, 25 Apr 2013 07:50:19 -0700 [thread overview]
Message-ID: <517942AB.1010201@zytor.com> (raw)
In-Reply-To: <51794141.3070205@zytor.com>
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
next prev parent reply other threads:[~2013-04-25 14:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1366777569-23192-1-git-send-email-hpa@zytor.com>
2013-04-24 4:26 ` [PATCH 1/2] random: Statically compute poolbitshift, poolbytes, poolbits H. Peter Anvin
2013-04-24 4:26 ` [PATCH 2/2] random: Account for entropy loss due to overwrites H. Peter Anvin
2013-04-25 14:38 ` Linus Torvalds
2013-04-25 14:44 ` H. Peter Anvin
2013-04-25 14:50 ` H. Peter Anvin [this message]
2013-04-25 15:19 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=517942AB.1010201@zytor.com \
--to=hpa@zytor.com \
--cc=hpa@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox