Skip to content

Commit 01b6ba6

Browse files
committed
Merge tag 'v6.17-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fix from Herbert Xu: "Fix a regression that broke hmac(sha3-224-s390)" * tag 'v6.17-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: hash - Increase HASH_MAX_DESCSIZE for hmac(sha3-224-s390)
2 parents ccc1ead + 9d9b193 commit 01b6ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/crypto/hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ struct shash_desc {
184184
* Worst case is hmac(sha3-224-s390). Its context is a nested 'shash_desc'
185185
* containing a 'struct s390_sha_ctx'.
186186
*/
187-
#define HASH_MAX_DESCSIZE (sizeof(struct shash_desc) + 360)
187+
#define HASH_MAX_DESCSIZE (sizeof(struct shash_desc) + 361)
188188
#define MAX_SYNC_HASH_REQSIZE (sizeof(struct ahash_request) + \
189189
HASH_MAX_DESCSIZE)
190190

0 commit comments

Comments
 (0)