From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id A3E5F21F221 for ; Thu, 17 Oct 2013 17:57:09 -0700 (PDT) Received: by mail-pd0-f180.google.com with SMTP id p10so1563509pdj.11 for ; Thu, 17 Oct 2013 17:57:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=CQgM95nyYLsYCIEj+2mAnU1nWMGsfhHUOLxeZzarh9c=; b=Xpas7pWgpJeF9Kb/JR3D8azT5AF2k+4rfwu/S1kmpwWSU8NEUQGCNfYUXX56dbk0Ho mUPqz26bsuQs+MprWTflkjJ/676Uz7EVzeeVX9RpwnnsvGib9Q7ylXHRu+WwUHtkw4/E Jj7fZFNcjENFf6fp0BSPwF7p7dYHSvNc3NtLbX5Rwgawk6xisXbS7iLWP9ernKnyDyk8 iGUQ4izvT3P7sS+OPs+ah1NRp71A/VJJSv6D2RM3VjJl4qezFegf7pZHJa3TTYI94w9u dPm5UHwVAW3zFod6m4/DdZye4r9geM8+hf//ykWEIID5K6CnNgx1Ah5w62rCyY2HSWs/ NKNQ== X-Gm-Message-State: ALoCoQlV70N/ztxDU54O6aEwEXLOmwsJMvh3jaTayfAZ7hn3dCIOhn43I4Y14yfRsH5BCO7oYzvk X-Received: by 10.68.130.104 with SMTP id od8mr263059pbb.29.1382057829076; Thu, 17 Oct 2013 17:57:09 -0700 (PDT) Received: from nehalam.linuxnetplumber.net (static-50-53-83-51.bvtn.or.frontiernet.net. [50.53.83.51]) by mx.google.com with ESMTPSA id uw6sm100645814pbc.8.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 17 Oct 2013 17:57:08 -0700 (PDT) Date: Thu, 17 Oct 2013 17:57:05 -0700 From: Stephen Hemminger To: Dave Taht Message-ID: <20131017175705.3722c1f3@nehalam.linuxnetplumber.net> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Stephan Mueller , Stephen Walker , "cerowrt-devel@lists.bufferbloat.net" , Felix Fietkau Subject: Re: [Cerowrt-devel] New random number generator for linux... X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 00:57:09 -0000 On Thu, 17 Oct 2013 17:40:37 -0700 Dave Taht wrote: > This new design for a rng actually appears to be pretty reasonable. > > http://thread.gmane.org/gmane.linux.kernel.cryptoapi/9878 > > Full details, paper, and code patches here: > > http://www.chronox.de/ > > I am (as usual) low on time to package it up for openwrt, or patch it > into the kernel, and try it. I will probably be able to get around to > it next weekend if nobody beats me to it, slamming it into my pie > build for x86 first. > > I'd be very interested if some folk could compare the standalone > daemon to rngd on their favorite platform? And if anyone here has the > chops to think hard about the algo, that would be nice, too... > > In other news , theodore ts'o's got a whole bunch more new patches for > the random driver on kernel.org that I HAVE patched in and am trying > to get into the next cero release. Fixes for get_cycles(), arrived > already in mainline, and the mips patch is around somewhere. > > While that stuff improves the quality of the entropy in the system, > the above rng would bring *more* entropy into the system, maybe get > rid of the existing daemon (or integrate with it) and/or hostapd > patches, etc, which I find exciting. That said, validating rng stuff > is *hard*. > I would not trust it until accepted upstream. It is better to mix multiple sources in rather than just relying on any single source. That way it makes it harder for organizations to poison the well.