linux/arch/powerpc/crypto
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
..
.gitignore
aes_cbc.c crypto: powerpc - Include uaccess.h and others 2025-04-16 15:36:23 +08:00
aes_ctr.c crypto: powerpc - Include uaccess.h and others 2025-04-16 15:36:23 +08:00
aes_xts.c crypto: powerpc - Include uaccess.h and others 2025-04-16 15:36:23 +08:00
aes-gcm-p10-glue.c crypto: skcipher - Make skcipher_walk src.virt.addr const 2025-03-15 16:21:22 +08:00
aes-gcm-p10.S
aes-spe-core.S
aes-spe-glue.c
aes-spe-keys.S
aes-spe-modes.S
aes-spe-regs.h
aes-tab-4k.S
aes.c crypto: powerpc - Include uaccess.h and others 2025-04-16 15:36:23 +08:00
aesp8-ppc.h
aesp8-ppc.pl
aesp10-ppc.pl
curve25519-ppc64le_asm.S
curve25519-ppc64le-core.c
ghash.c crypto: powerpc/ghash - Use API partial block handling 2025-04-23 11:33:47 +08:00
ghashp8-ppc.pl
ghashp10-ppc.pl
Kconfig lib/crypto: powerpc/sha1: Migrate optimized code into library 2025-07-14 11:11:49 -07:00
Makefile lib/crypto: powerpc/sha1: Migrate optimized code into library 2025-07-14 11:11:49 -07:00
md5-asm.S
md5-glue.c crypto: powerpc/md5 - Use API partial block handling 2025-04-23 11:33:47 +08:00
ppc-xlate.pl
vmx.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00