mbox series

[0/2] crypto: s390/hmac - Use generic hash export format

Message ID cover.1745916278.git.herbert@gondor.apana.org.au
Headers show
Series crypto: s390/hmac - Use generic hash export format | expand

Message

Herbert Xu April 29, 2025, 8:49 a.m. UTC
This mini series converts the s390 hmac implementation to use
the generic export format.  First it extends the implementation
to support large lengths (you could always import a partial hash
with a length that is just about to overflow), and then it adds
export/import functions matching the format of the generic hmac
sha2 implementation.

Herbert Xu (2):
  crypto: s390/hmac - Extend hash length counters to 128 bits
  crypto: s390/hmac - Use generic hash export format

 arch/s390/crypto/Kconfig     |   4 +-
 arch/s390/crypto/hmac_s390.c | 200 ++++++++++++++++++++++++++++++++---
 2 files changed, 187 insertions(+), 17 deletions(-)