diff options
author | Mattias Andrée <m@maandree.se> | 2024-10-15 21:38:21 +0200 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-10-15 21:38:21 +0200 |
commit | d52f6ca14e59d95a5aa7377c22e1e37f486e84b5 (patch) | |
tree | 2f531383ee33268d13a6aaf7e336f5b1df967cbf /Makefile | |
parent | m (diff) | |
download | libsha2-d52f6ca14e59d95a5aa7377c22e1e37f486e84b5.tar.gz libsha2-d52f6ca14e59d95a5aa7377c22e1e37f486e84b5.tar.bz2 libsha2-d52f6ca14e59d95a5aa7377c22e1e37f486e84b5.tar.xz |
Add optimised SHA-256 implementation using SHA-256 instrinsics for ARMv8 (almost 70 times faster)HEAD1.1.2master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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" |