From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752906Ab1IMK7F (ORCPT ); Tue, 13 Sep 2011 06:59:05 -0400 Received: from casper.infradead.org ([85.118.1.10]:35300 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582Ab1IMK7E convert rfc822-to-8bit (ORCPT ); Tue, 13 Sep 2011 06:59:04 -0400 Subject: Re: [PATCH] random: add blocking facility to urandom From: Peter Zijlstra To: Jarod Wilson Cc: Thomas Gleixner , Steve Grubb , Sandy Harris , Neil Horman , Tomas Mraz , Sasha Levin , "Ted Ts'o" , linux-crypto@vger.kernel.org, Matt Mackall , Herbert Xu , Stephan Mueller , lkml Date: Tue, 13 Sep 2011 12:58:29 +0200 In-Reply-To: <4E6E0F90.4090905@redhat.com> References: <1314974248-1511-1-git-send-email-jarod@redhat.com> <201109080911.12921.sgrubb@redhat.com> <201109090904.18321.sgrubb@redhat.com> <4E6E0F90.4090905@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.0.3- Message-ID: <1315911509.5977.1.camel@twins> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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