linux-loongson/arch/powerpc/configs/44x
Eric Biggers 6b9ae8cfaa lib/crypto: powerpc/sha1: Migrate optimized code into library
Instead of exposing the powerpc-optimized SHA-1 code via
powerpc-specific crypto_shash algorithms, instead just implement the
sha1_blocks() library function.  This is much simpler, it makes the
SHA-1 library functions be powerpc-optimized, and it fixes the
longstanding issue where the powerpc-optimized SHA-1 code was disabled
by default.  SHA-1 still remains available through crypto_shash, but
individual architectures no longer need to handle it.

Note: to see the diff from arch/powerpc/crypto/sha1-spe-glue.c to
lib/crypto/powerpc/sha1.h, view this commit with 'git show -M10'.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250712232329.818226-11-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-07-14 11:11:49 -07:00
..
akebono_defconfig lib/crypto: powerpc/sha1: Migrate optimized code into library 2025-07-14 11:11:49 -07:00
arches_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
bamboo_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
bluestone_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
canyonlands_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
currituck_defconfig powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-06-29 16:58:49 +10:00
ebony_defconfig powerpc/configs: remove obsolete CONFIG_INET_XFRM_MODE_* and CONFIG_INET6_XFRM_MODE_* 2019-11-13 16:58:06 +11:00
eiger_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
fsp2_defconfig treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
icon_defconfig xsysace: Remove SYSACE driver 2021-03-23 10:27:38 -06:00
iss476-smp_defconfig powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-06-29 16:58:49 +10:00
katmai_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
rainier_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
redwood_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
sam440ep_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
sequoia_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
taishan_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
warp_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00