[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191121012401.l3x3bepsmzdp26xt@gondor.apana.org.au>
Date: Thu, 21 Nov 2019 09:24:01 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Andrey Smirnov <andrew.smirnov@...il.com>
Cc: linux-crypto@...r.kernel.org, Chris Healy <cphealy@...il.com>,
Lucas Stach <l.stach@...gutronix.de>,
Horia Geantă <horia.geanta@....com>,
Iuliana Prodan <iuliana.prodan@....com>, linux-imx@....com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 6/6] crypto: caam - expose SEC4 DRNG via crypto RNG API
On Wed, Nov 20, 2019 at 08:53:41AM -0800, Andrey Smirnov wrote:
>
> +static struct rng_alg caam_drng_alg = {
> + .generate = caam_drng_generate,
> + .seed = caam_drng_seed,
> + .seedsize = 0,
> + .base = {
> + .cra_name = "drng-caam",
This should be stdrng.
> + .cra_driver_name = "drng-caam",
> + .cra_priority = 300,
> + .cra_ctxsize = sizeof(struct caam_drng_ctx),
> + .cra_module = THIS_MODULE,
> + .cra_init = caam_drng_init,
> + .cra_exit = caam_drng_exit,
> + },
> +};
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists