mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
lib/crypto: arm/nh: Migrate optimized code into library
Migrate the arm32 NEON implementation of NH into lib/crypto/. This makes the nh() function be optimized on arm32 kernels. Note: this temporarily makes the adiantum template not utilize the arm32 optimized NH code. This is resolved in a later commit that converts the adiantum template to use nh() instead of "nhpoly1305". Link: https://lore.kernel.org/r/20251211011846.8179-4-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
This commit is contained in:
@@ -135,6 +135,7 @@ obj-$(CONFIG_CRYPTO_LIB_NH) += libnh.o
|
||||
libnh-y := nh.o
|
||||
ifeq ($(CONFIG_CRYPTO_LIB_NH_ARCH),y)
|
||||
CFLAGS_nh.o += -I$(src)/$(SRCARCH)
|
||||
libnh-$(CONFIG_ARM) += arm/nh-neon-core.o
|
||||
endif
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user