From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751760AbcFSTgd (ORCPT ); Sun, 19 Jun 2016 15:36:33 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33906 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751648AbcFSTgS (ORCPT ); Sun, 19 Jun 2016 15:36:18 -0400 Date: Sun, 19 Jun 2016 21:36:14 +0200 From: Pavel Machek To: Stephan Mueller Cc: herbert@gondor.apana.org.au, Theodore Tso , Andi Kleen , sandyinchina@gmail.com, Jason Cooper , John Denker , "H. Peter Anvin" , Joe Perches , George Spelvin , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/7] /dev/random - a new approach Message-ID: <20160619193614.GA26146@amd> References: <2754489.L1QYabbYUc@positron.chronox.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2754489.L1QYabbYUc@positron.chronox.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 2016-06-19 17:58:41, Stephan Mueller wrote: > Hi Herbert, Ted, > > The following patch set provides a different approach to /dev/random which > I call Linux Random Number Generator (LRNG) to collect entropy within the Linux > kernel. The main improvements compared to the legacy /dev/random is to provide > sufficient entropy during boot time as well as in virtual environments and when > using SSDs. A secondary design goal is to limit the impact of the entropy > collection on massive parallel systems and also allow the use accelerated > cryptographic primitives. Also, all steps of the entropic data processing are > testable. Finally massive performance improvements are visible at /dev/urandom > and get_random_bytes. Dunno. It is very similar to existing rng, AFAICT. And at the very least, constants in existing RNG could be tuned to provide "entropy at the boot time". So IMO this should be re-done as tweaks to existing design, not as completely new RNG. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html