linux/arch/mips/cavium-octeon
Eric Biggers b6ac1dac2f lib/crypto: mips/sha1: Migrate optimized code into library
Instead of exposing the mips-optimized SHA-1 code via mips-specific
crypto_shash algorithms, instead just implement the sha1_blocks()
library function.  This is much simpler, it makes the SHA-1 library
functions be mips-optimized, and it fixes the longstanding issue where
the mips-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/mips/cavium-octeon/crypto/octeon-sha1.c
to lib/crypto/mips/sha1.h, view this commit with 'git show -M10'.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250712232329.818226-10-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-07-14 11:11:49 -07:00
..
crypto lib/crypto: mips/sha1: Migrate optimized code into library 2025-07-14 11:11:49 -07:00
executive MIPS: Fix typos 2024-01-08 10:39:12 +01:00
cpu.c
csrc-octeon.c MIPS: Fix typos 2024-01-08 10:39:12 +01:00
dma-octeon.c swiotlb: make the swiotlb_init interface more useful 2022-04-18 07:21:11 +02:00
flash_setup.c MIPS: Explicitly include correct DT includes 2023-07-25 10:42:01 +02:00
Kconfig lib/crypto: sha256: Consolidate into single module 2025-07-04 10:23:11 -07:00
Makefile usb: dwc3: dwc3-octeon: Convert to glue driver 2023-08-04 14:52:15 +02:00
oct_ilm.c mips: cavium: convert to DEFINE_SHOW_ATTRIBUTE 2022-09-19 16:39:47 +02:00
octeon-irq.c MIPS: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
octeon-memcpy.S mips: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-15 10:22:23 +02:00
octeon-platform.c MIPS: Fix typos 2024-01-08 10:39:12 +01:00
octeon_boot.h
Platform
setup.c range.h: Move resource API and constant to respective files 2023-08-18 10:19:00 -07:00
smp.c mips, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC 2023-12-12 17:20:18 -08:00