Crypto library conversions for 6.17
Eric Biggers
maintainerNote: this depends on the "Crypto library updates" pull request and should be merged after it.
The following changes since commit c76ed8790b3018fe36647d9aae96e0373f321184:
crypto: sha1 - Remove sha1_base.h (2025-07-14 11:28:38 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-conversions-for-linus
for you to fetch changes up to 998646b3c1129188f1fdffac3779feb9708b4b4a:
fsverity: Switch from crypto_shash to SHA-2 library (2025-07-14 11:29:32 -0700)
----------------------------------------------------------------
Convert fsverity and apparmor to use the SHA-2 library functions instead of crypto_shash. This is simpler and also slightly faster.
----------------------------------------------------------------
Eric Biggers (3):
apparmor: use SHA-256 library API instead of crypto_shash API
fsverity: Explicitly include <linux/export.h>
fsverity: Switch from crypto_shash to SHA-2 library
Documentation/filesystems/fsverity.rst | 3 +- fs/verity/Kconfig | 6 +- fs/verity/enable.c | 9 +- fs/verity/fsverity_private.h | 24 ++-- fs/verity/hash_algs.c | 194 +++++++++++---------------------- fs/verity/measure.c | 1 + fs/verity/open.c | 37 +++---- fs/verity/read_metadata.c | 1 + fs/verity/verify.c | 8 +- security/apparmor/Kconfig | 3 +- security/apparmor/crypto.c | 85 ++------------- 11 files changed, 120 insertions(+), 251 deletions(-)
The pull request you sent on Sun, 27 Jul 2025 16:45:42 -0700:
The pull request you sent on Sun, 27 Jul 2025 16:45:42 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-conversions-for-linus
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4b65b859f55b036649a4525f09fa7c5bbbab384e
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html