diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-12-10 17:18:35 -0800 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-01-12 11:07:49 -0800 |
| commit | 29e39a11f541d068ed7155368f4a79aa0ddf9c52 (patch) | |
| tree | 1e130a161d1493b77a95e3f4a7fc414af21f8643 /lib/crypto/Makefile | |
| parent | 7246fe6cd64475d8126a85eef6a3a425f105c203 (diff) | |
| download | linux-29e39a11f541d068ed7155368f4a79aa0ddf9c52.tar.gz linux-29e39a11f541d068ed7155368f4a79aa0ddf9c52.tar.bz2 linux-29e39a11f541d068ed7155368f4a79aa0ddf9c52.zip | |
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>
Diffstat (limited to 'lib/crypto/Makefile')
| -rw-r--r-- | lib/crypto/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile index 929b84568809..6dae7e182847 100644 --- a/lib/crypto/Makefile +++ b/lib/crypto/Makefile @@ -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 ################################################################################ |
