]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: ahash - Fix infinite recursion in ahash_def_finup
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 16 Jun 2025 04:09:17 +0000 (12:09 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 18 Jun 2025 09:02:02 +0000 (17:02 +0800)
commitdf29f60369ccec0aa17d7eed7e2ae1fcdc9be6d4
treed95582c8d0bc1fc0cd33db4142536ea86585f5ab
parentac90aad0e9bf7c37e706fdc08ce763a553890bdf
crypto: ahash - Fix infinite recursion in ahash_def_finup

Invoke the final function directly in the default finup implementation
since crypto_ahash_final is now just a wrapper around finup.

Reported-by: Eric Biggers <ebiggers@kernel.org>
Fixes: 9d7a0ab1c753 ("crypto: ahash - Handle partial blocks in API")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c