Skip to contentSkip to conversation

Crypto library fixes for v6.17-rc5

GIT PULL Merged Eric Biggers 2 participants 2 messages Sep 5, 2025 Crypto API

lore
Share & tools
lore
#0 lore raw

The following changes since commit fd7e5de4b2eddd34e3567cd419812d8869ef4f13:

lib/crypto: ensure generated *.S files are removed on make clean (2025-08-14 18:01:03 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-fixes-for-linus

for you to fetch changes up to cdb03b6d1896c2d23f9c47dc779edba0a9241115:

crypto: sha512 - Implement export_core() and import_core() (2025-09-02 19:02:39 -0700)

----------------------------------------------------------------

Fix a regression caused by my commits that reimplemented the sha1, sha256, and sha512 crypto_shash algorithms on top of the library API. Specifically, the export_core and import_core methods stopped being supported, which broke some hardware offload drivers (such as qat) that recently started depending on these for fallback functionality.

Later I'd like to make these drivers just use the library API for their fallback. Then these methods won't be needed anymore. But for now, this fixes the regression for 6.17.

----------------------------------------------------------------
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(+)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 4 Sep 2025 20:41:48 -0700:

The pull request you sent on Thu, 4 Sep 2025 20:41:48 -0700:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-fixes-for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/01c93aa01c75e7a43f7f53229bcbecffac75eb84

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html