Re: [PATCH v3 6/6] crypto: caam - expose SEC4 DRNG via crypto RNG API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux