mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Instead of exposing the sparc-optimized SHA-1 code via sparc-specific crypto_shash algorithms, instead just implement the sha1_blocks() library function. This is much simpler, it makes the SHA-1 library functions be sparc-optimized, and it fixes the longstanding issue where the sparc-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/sparc/crypto/sha1_glue.c to lib/crypto/sparc/sha1.h, view this commit with 'git show -M10'. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250712232329.818226-13-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
16 lines
455 B
Makefile
16 lines
455 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Arch-specific CryptoAPI modules.
|
|
#
|
|
|
|
obj-$(CONFIG_CRYPTO_MD5_SPARC64) += md5-sparc64.o
|
|
|
|
obj-$(CONFIG_CRYPTO_AES_SPARC64) += aes-sparc64.o
|
|
obj-$(CONFIG_CRYPTO_DES_SPARC64) += des-sparc64.o
|
|
obj-$(CONFIG_CRYPTO_CAMELLIA_SPARC64) += camellia-sparc64.o
|
|
|
|
md5-sparc64-y := md5_asm.o md5_glue.o
|
|
|
|
aes-sparc64-y := aes_asm.o aes_glue.o
|
|
des-sparc64-y := des_asm.o des_glue.o
|
|
camellia-sparc64-y := camellia_asm.o camellia_glue.o
|