aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-15 21:38:21 +0200
committerMattias Andrée <m@maandree.se>2024-10-15 21:38:21 +0200
commitd52f6ca14e59d95a5aa7377c22e1e37f486e84b5 (patch)
tree2f531383ee33268d13a6aaf7e336f5b1df967cbf /Makefile
parentm (diff)
downloadlibsha2-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--Makefile7
1 files changed, 5 insertions, 2 deletions
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"