From: Herbert Xu Subject: Re: [PATCH v4 2/2] crypto: hw_random - Add new Exynos RNG driver Date: Mon, 10 Apr 2017 18:55:47 +0800 Message-ID: <20170410105547.GA8615@gondor.apana.org.au> References: <20170408133245.30147-1-krzk@kernel.org> <20170408133245.30147-3-krzk@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: James Hogan , Matt Mackall , Kukjin Kim , Javier Martinez Canillas , "David S. Miller" , Dave Airlie , David Airlie , Bernie Thompson , Bartlomiej Zolnierkiewicz , Greg Kroah-Hartman , PrasannaKumar Muralidharan , linux-kernel@vger.kernel.org, linux-metag@vger.kernel.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Stephan =?iso-8859-1?Q?M=FCller?= To: Krzysztof Kozlowski Return-path: Received: from orcrist.hmeau.com ([104.223.48.154]:51880 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752746AbdDJK4k (ORCPT ); Mon, 10 Apr 2017 06:56:40 -0400 Content-Disposition: inline In-Reply-To: <20170408133245.30147-3-krzk@kernel.org> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Sat, Apr 08, 2017 at 03:32:45PM +0200, Krzysztof Kozlowski wrote: > > +static struct rng_alg exynos_rng_alg = { > + .generate = exynos_rng_generate, > + .seed = exynos_rng_seed, > + .seedsize = EXYNOS_RNG_SEED_SIZE, > + .base = { > + .cra_name = "exynos_rng", Please use stdrng. Or is there a reason why this can't be used by the crypto layer itself? Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt