kexec_file-use-sha-256-library-api-instead-of-crypto_shash-api.patch removed from -mm tree
The quilt patch titled
Subject: kexec_file: use SHA-256 library API instead of crypto_shash API
has been removed from the -mm tree. Its filename was
kexec_file-use-sha-256-library-api-instead-of-crypto_shash-api.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Eric Biggers <[email protected]>
Subject: kexec_file: use SHA-256 library API instead of crypto_shash API
Date: Mon, 28 Apr 2025 11:57:20 -0700
This user of SHA-256 does not support any other algorithm, so the crypto_shash abstraction provides no value. Just use the SHA-256 library API instead, which is much simpler and easier to use.
Tested with '/sbin/kexec --kexec-file-syscall'.
---
kernel/Kconfig.kexec | 3 - kernel/kexec_file.c | 78 +++++++---------------------------------- 2 files changed, 16 insertions(+), 65 deletions(-)
kernel/Kconfig.kexec renamed from kernel/Kconfig.kexec~kexec_file-use-sha-256-library-api-instead-of-crypto_shash-api +1 -2
@@ -38,8 +38,7 @@ config KEXEC config KEXEC_FILE bool "Enable kexec file based system call" depends on ARCH_SUPPORTS_KEXEC_FILE - select CRYPTO - select CRYPTO_SHA256 + select CRYPTO_LIB_SHA256 select KEXEC_CORE help This is new version of kexec system call. This system call is
kernel/kexec_file.c renamed from kernel/kexec_file.c~kexec_file-use-sha-256-library-api-instead-of-crypto_shash-api +15 -63
124 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are