crypto: s390/hmac - Extend hash length counters to 128 bits
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 29 Apr 2025 08:49:32 +0000 (16:49 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:44 +0000 (18:20 +0800)
commit89490e6b80c53bf7783fe183a2fda8d0944f52d2
tree99e88b24d5c47dabe2ef8f8dbdc065cfe45bba75
parent0e2392b6513cb138e2915ad08e33ac029358e957
crypto: s390/hmac - Extend hash length counters to 128 bits

As sha512 requires 128-bit counters, extend the hash length counters
to that length.  Previously they were just 32 bits which means that
a >4G sha256 hash would be incorrect.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/hmac_s390.c