Re: [PATCH v5 8/9] crypto: caam - add crypto_engine support for RSA algorithms
From: Horia Geanta
Date: Tue Feb 11 2020 - 05:23:21 EST
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