From: Herbert Xu Subject: Re: [PATCH] Add RNG support to AF_ALG (v2) Date: Fri, 21 Jan 2011 23:35:17 +1100 Message-ID: <20110121123517.GA11677@gondor.apana.org.au> References: <1292260317-2684-1-git-send-email-nhorman@tuxdriver.com> <1292275514-2488-1-git-send-email-nhorman@tuxdriver.com> <20110120233440.GA2451@localhost.localdomain> <20110121060005.GA9768@gondor.apana.org.au> <20110121120950.GB30868@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-crypto@vger.kernel.org, "David S. Miller" To: Neil Horman Return-path: Received: from helcar.apana.org.au ([209.40.204.226]:49924 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753834Ab1AUMfW (ORCPT ); Fri, 21 Jan 2011 07:35:22 -0500 Content-Disposition: inline In-Reply-To: <20110121120950.GB30868@hmsreliant.think-freely.org> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Fri, Jan 21, 2011 at 07:09:50AM -0500, Neil Horman wrote: > > I take your point, but I'm not certain I agree that we are duplicating an > existing user interface. A cursory glance would say that we are, but > /dev/random and /dev/urandom really just provide access to the kernels entropy > pools, whereas the AF_ALG provides access to instances of any RNG the kernel has > to offer as well as the key management services that AF_ALG has, which I think > is adventageous, given that the CPRNG requires keying to work properly. I'm not talking about /dev/random, I'm talking the hwrng interface in drivers/char/hwrng. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt