From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756015AbZEPPJq (ORCPT ); Sat, 16 May 2009 11:09:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753755AbZEPPJf (ORCPT ); Sat, 16 May 2009 11:09:35 -0400 Received: from mx-out2.daemonmail.net ([216.104.160.39]:43674 "EHLO mx-out2.daemonmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753337AbZEPPJf (ORCPT ); Sat, 16 May 2009 11:09:35 -0400 From: "Michael S. Zick" Reply-To: lkml@morethan.org To: Arjan van de Ven Subject: Re: [Security] [patch] random: make get_random_int() more random Date: Sat, 16 May 2009 10:09:28 -0500 User-Agent: KMail/1.9.9 Cc: "Eric W. Biederman" , Ingo Molnar , Willy Tarreau , Linus Torvalds , security@kernel.org, Linux@hera.kernel.org, stable@kernel.org, Cox , Arjan@hera.kernel.org, List , Alan@hera.kernel.org, Eric Paris , Jake Edge , linux-security-module@vger.kernel.org, mingo@redhat.com, Matt Mackall , Dave Jones , James Morris , Andrew Morton , Roland McGrath References: <20090505195246.GC21973@elte.hu> <200905160928.19876.lkml@morethan.org> <20090516075746.4b8f3ed6@infradead.org> In-Reply-To: <20090516075746.4b8f3ed6@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905161009.32178.lkml@morethan.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat May 16 2009, Arjan van de Ven wrote: > On Sat, 16 May 2009 09:28:16 -0500 > "Michael S. Zick" wrote: > > > > Still getting kernel messages that there isn't a test for the rng - - > > One (of many) ways to test the quality is to submit a bit string > > sample to the Berlekamp-Massey algorithm; perhaps from repeated calls > > to the generation function (it depends on your desired confidence > > level). > > > > or we bite the bullet and implement the Fortuna PRNG algorithm > and feed it as much as we can, rather than caring if any if the sources > is not 100.000% perfect. > A reasonable cross-platform solution. I just had to ping for supporting the VIA specific hardware solution. Mike