Re: [PATCH v5 8/9] crypto: caam - add crypto_engine support for RSA algorithms

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

 



On 1/30/2020 2:49 AM, Iuliana Prodan wrote:
> @@ -1029,6 +1107,10 @@ static int caam_rsa_init_tfm(struct crypto_akcipher *tfm)
>  		return -ENOMEM;
>  	}
>  
> +	ctx->enginectx.op.do_one_request = akcipher_do_one_req;
> +
> +	akcipher_set_reqsize(tfm, sizeof(struct caam_rsa_req_ctx));
This is redundant with the static initialization of caam_rsa:
	.reqsize = sizeof(struct caam_rsa_req_ctx),

Horia




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

  Powered by Linux