lkml.org 
[lkml]   [2020]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v5 8/9] crypto: caam - add crypto_engine support for RSA algorithms
Date
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

\
 
 \ /
  Last update: 2020-02-11 11:24    [W:0.132 / U:4.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site