[PATCH 07/10] lib/crypto: arm/blake2b: Migrate optimized code into library

Eric Biggers ebiggers at kernel.org
Sun Oct 19 09:32:49 PDT 2025


On Fri, Oct 17, 2025 at 09:31:03PM -0700, Eric Biggers wrote:
> diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
> index f863417b16817..5c9a933928188 100644
> --- a/lib/crypto/Makefile
> +++ b/lib/crypto/Makefile
> @@ -34,10 +34,11 @@ obj-$(CONFIG_CRYPTO_LIB_GF128MUL)		+= gf128mul.o
>  obj-$(CONFIG_CRYPTO_LIB_BLAKE2B) += libblake2b.o
>  libblake2b-y := blake2b.o
>  CFLAGS_blake2b.o := -Wframe-larger-than=4096 #  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930
>  ifeq ($(CONFIG_CRYPTO_LIB_BLAKE2B_ARCH),y)
>  CFLAGS_blake2b.o += -I$(src)/$(SRCARCH)
> +obj-$(CONFIG_ARM) += arm/blake2b-neon-core.o
>  endif # CONFIG_CRYPTO_LIB_BLAKE2B_ARCH

Correction: it should be

    libblake2b-$(CONFIG_ARM) += arm/blake2b-neon-core.o

- Eric



More information about the linux-arm-kernel mailing list