]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/crypto: arm/nh: Migrate optimized code into library
authorEric Biggers <ebiggers@kernel.org>
Thu, 11 Dec 2025 01:18:35 +0000 (17:18 -0800)
committerEric Biggers <ebiggers@kernel.org>
Mon, 12 Jan 2026 19:07:49 +0000 (11:07 -0800)
commit29e39a11f541d068ed7155368f4a79aa0ddf9c52
tree1e130a161d1493b77a95e3f4a7fc414af21f8643
parent7246fe6cd64475d8126a85eef6a3a425f105c203
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>
arch/arm/crypto/Kconfig
arch/arm/crypto/Makefile
arch/arm/crypto/nhpoly1305-neon-glue.c [deleted file]
lib/crypto/Kconfig
lib/crypto/Makefile
lib/crypto/arm/nh-neon-core.S [moved from arch/arm/crypto/nh-neon-core.S with 100% similarity]
lib/crypto/arm/nh.h [new file with mode: 0644]