From: Herbert Xu Subject: Re: Question - seeding the hw pseudo random number generator Date: Mon, 20 Mar 2017 21:28:58 +0800 Message-ID: <20170320132858.GA27044@gondor.apana.org.au> References: <20170318092554.lggkhfg5eko23o3k@kozik-lap> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, Krzysztof Kozlowski , Matt Mackall To: PrasannaKumar Muralidharan Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: linux-crypto.vger.kernel.org On Mon, Mar 20, 2017 at 12:19:32PM +0530, PrasannaKumar Muralidharan wrote: > > AF_ALG interface for rng does have seeding support. I think hw_random > does not provide seeding support intentionally as I understand that > True RNG need not require seeding (please correct me if I am wrong). Yes. We should be converting PRNGs in hwrng over to algif_rng. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt