]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: sahara - fix ahash reqsize
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sun, 24 Dec 2023 08:21:32 +0000 (10:21 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Dec 2023 03:25:56 +0000 (11:25 +0800)
commitefcb50f41740ac55e6ccc4986c1a7740e21c62b4
tree4d726fde2e913cf2049c697ee35721fe7b4abd14
parentd1d6351e37aac14b32a291731d0855996c459d11
crypto: sahara - fix ahash reqsize

Set the reqsize for sha algorithms to sizeof(struct sahara_sha_reqctx), the
extra space is not needed.

Fixes: 5a2bb93f5992 ("crypto: sahara - add support for SHA1/256")
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sahara.c