diff options
author | Ovidiu Panait | 2023-12-18 18:46:46 +0200 |
---|---|---|
committer | Herbert Xu | 2023-12-29 11:25:55 +0800 |
commit | 7b0795d97132af1aab938697c910ebbce21f7b53 (patch) | |
tree | 3f898372fac3acaeff748d104a632c4a074fa3a9 /drivers/crypto | |
parent | 4ef388f0cd87273d73730f308d387e164970c719 (diff) |
crypto: stm32/cryp - Use helper to set reqsize
The value of reqsize must only be changed through the helper.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/stm32/stm32-cryp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/stm32/stm32-cryp.c b/drivers/crypto/stm32/stm32-cryp.c index c3cbc2673338..11ad4ffdce0d 100644 --- a/drivers/crypto/stm32/stm32-cryp.c +++ b/drivers/crypto/stm32/stm32-cryp.c @@ -838,7 +838,7 @@ static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq); static int stm32_cryp_aes_aead_init(struct crypto_aead *tfm) { - tfm->reqsize = sizeof(struct stm32_cryp_reqctx); + crypto_aead_set_reqsize(tfm, sizeof(struct stm32_cryp_reqctx)); return 0; } |