Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: caam - Use helper to set reqsize

The value of reqsize must only be changed through the helper.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+2 -1
+2 -1
drivers/crypto/caam/caampkc.c
··· 1099 1099 { 1100 1100 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); 1101 1101 1102 + akcipher_set_reqsize(tfm, sizeof(struct caam_rsa_req_ctx)); 1103 + 1102 1104 ctx->dev = caam_jr_alloc(); 1103 1105 1104 1106 if (IS_ERR(ctx->dev)) { ··· 1143 1141 .max_size = caam_rsa_max_size, 1144 1142 .init = caam_rsa_init_tfm, 1145 1143 .exit = caam_rsa_exit_tfm, 1146 - .reqsize = sizeof(struct caam_rsa_req_ctx), 1147 1144 .base = { 1148 1145 .cra_name = "rsa", 1149 1146 .cra_driver_name = "rsa-caam",