From d52f6ca14e59d95a5aa7377c22e1e37f486e84b5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 15 Oct 2024 21:38:21 +0200 Subject: Add optimised SHA-256 implementation using SHA-256 instrinsics for ARMv8 (almost 70 times faster) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3eee714..ed4dfd2 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,9 @@ CONFIGFILE = config-x86.mk # enables optimisations on x86 CPU's that have the # required features. # +# Additionally config-arm.mk which uses optimisations +# for ARMv8 is available. +# # config-portable.mk is available for exotic CPU's # and compiler that do not support the features required # for the optimisations. @@ -20,7 +23,7 @@ include mk/$(OS).mk LIB_MAJOR = 1 -LIB_MINOR = 0 +LIB_MINOR = 1 LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) @@ -99,7 +102,7 @@ libsha2.a: $(OBJ) $(AR) -s $@ check: test - ./test + $(CHECK_PREFIX) ./test $(CHECK_FLAGS) install: mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" -- cgit v1.2.3-70-g09d2