]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: hash - Increase HASH_MAX_DESCSIZE for hmac(sha3-224-s390)
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 31 Jul 2025 01:41:47 +0000 (09:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Aug 2025 11:40:54 +0000 (19:40 +0800)
commit9d9b193ed73a65ec47cf1fd39925b09da8216461
tree5a777cfdeb495155b855863bf3f3f7271fff18af
parentbf24d64268544379d9a9b5b8efc2bb03967703b3
crypto: hash - Increase HASH_MAX_DESCSIZE for hmac(sha3-224-s390)

The value of HASH_MAX_DESCSIZE is off by one for hmac(sha3-224-s390).
Fix this so that hmac(sha3-224-s390) can be registered.

Reported-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reported-by: Eric Biggers <ebiggers@kernel.org>
Fixes: 6f90ba706551 ("crypto: s390/sha3 - Use API partial block handling")
Cc: <stable@vger.kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/hash.h