[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E6F4A20.9000100@redhat.com>
Date: Tue, 13 Sep 2011 08:18:40 -0400
From: Jarod Wilson <jarod@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
CC: Thomas Gleixner <tglx@...utronix.de>,
Steve Grubb <sgrubb@...hat.com>,
Sandy Harris <sandyinchina@...il.com>,
Neil Horman <nhorman@...hat.com>,
Tomas Mraz <tmraz@...hat.com>,
Sasha Levin <levinsasha928@...il.com>,
"Ted Ts'o" <tytso@....edu>, linux-crypto@...r.kernel.org,
Matt Mackall <mpm@...enic.com>,
Herbert Xu <herbert.xu@...hat.com>,
Stephan Mueller <stephan.mueller@...ec.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] random: add blocking facility to urandom
Peter Zijlstra wrote:
> On Mon, 2011-09-12 at 09:56 -0400, Jarod Wilson wrote:
>> Thomas Gleixner wrote:
>
>>> Well, there is enough prove out there that the hardware you're using
>>> is a perfect random number generator by itself.
>>>
>>> So stop complaining about not having access to TPM chips if you can
>>> create an entropy source just by (ab)using the inherent randomness of
>>> modern CPU architectures to refill your entropy pool on the fly when
>>> the need arises w/o imposing completely unintuitive thresholds and
>>> user visible API changes.
>> We started out going down that path:
>>
>> http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg05778.html
>>
>> We hit a bit of a roadblock with it though.
>
> Have you guys seen this work:
>
> http://lwn.net/images/conf/rtlws11/random-hardware.pdf
Yeah, that was part of the initial inspiration for the prior approach.
There were still concerns that clock entropy didn't meet the random
entropy pool's "perfect" security design goal. Without a rewrite of the
entropy accounting system, clock entropy isn't going in, so I think
looking into said rewrite is up next on my list.
--
Jarod Wilson
jarod@...hat.com
--
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