[PATCH 0/3] crypto: sha - Implement export_core() and import_core()

Eric Biggers posted 3 patches 1 month ago
crypto/sha1.c   | 39 +++++++++++++++++++++++++++
crypto/sha256.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++
crypto/sha512.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 181 insertions(+)
[PATCH 0/3] crypto: sha - Implement export_core() and import_core()
Posted by Eric Biggers 1 month ago
This series implements export_core() and import_core() in sha1.c,
sha256.c, and sha512.c to fix some legacy drivers.  Unfortunately, the
Crypto API partial block handling changes that went into v6.16 made some
legacy drivers start depending on the presence of these methods.

This series is targeting libcrypto-fixes.

Eric Biggers (3):
  crypto: sha1 - Implement export_core() and import_core()
  crypto: sha256 - Implement export_core() and import_core()
  crypto: sha512 - Implement export_core() and import_core()

 crypto/sha1.c   | 39 +++++++++++++++++++++++++++
 crypto/sha256.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++
 crypto/sha512.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 181 insertions(+)

base-commit: b320789d6883cc00ac78ce83bccbfe7ed58afcf0
-- 
2.50.1
Re: [PATCH 0/3] crypto: sha - Implement export_core() and import_core()
Posted by Giovanni Cabiddu 1 month ago
On Mon, Sep 01, 2025 at 09:50:10AM -0700, Eric Biggers wrote:
> This series implements export_core() and import_core() in sha1.c,
> sha256.c, and sha512.c to fix some legacy drivers.  Unfortunately, the
> Crypto API partial block handling changes that went into v6.16 made some
> legacy drivers start depending on the presence of these methods.
> 
> This series is targeting libcrypto-fixes.
Tested with the QAT driver.
Feel free to add
Tested-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>

Regards,

-- 
Giovanni