]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: s390/hmac - Fix counter in export state
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 May 2025 11:24:34 +0000 (19:24 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jun 2025 09:26:16 +0000 (17:26 +0800)
commit1b39bc4a703a63a22c08232015540adfb31f22ba
treee2a32c6725061f331091dc35dea31e6af87d5082
parent442134ab30e75b7229c4bfc1ac5641d245cffe27
crypto: s390/hmac - Fix counter in export state

The hmac export state needs to be one block-size bigger to account
for the ipad.

Reported-by: Ingo Franzki <ifranzki@linux.ibm.com>
Fixes: 08811169ac01 ("crypto: s390/hmac - Use API partial block handling")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/hmac_s390.c