mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-09 00:36:51 -04:00
Instead of providing crypto_shash algorithms for the arch-optimized SHA-256 code, instead implement the SHA-256 library. This is much simpler, it makes the SHA-256 library functions be arch-optimized, and it fixes the longstanding issue where the arch-optimized SHA-256 was disabled by default. SHA-256 still remains available through crypto_shash, but individual architectures no longer need to handle it. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
21 lines
651 B
Makefile
21 lines
651 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Arch-specific CryptoAPI modules.
|
|
#
|
|
|
|
obj-$(CONFIG_CRYPTO_SHA1_SPARC64) += sha1-sparc64.o
|
|
obj-$(CONFIG_CRYPTO_SHA512_SPARC64) += sha512-sparc64.o
|
|
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
|
|
|
|
sha1-sparc64-y := sha1_asm.o sha1_glue.o
|
|
sha512-sparc64-y := sha512_asm.o sha512_glue.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
|