aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-20 11:24:18 +0100
committerMattias Andrée <maandree@kth.se>2022-02-20 11:24:18 +0100
commit36beac7f7077ed94d3c1c0f46733b4f54a3b05b1 (patch)
tree308c1a98b1060e23f8db657bec3f18dcdb3f9333 /Makefile
parentDocumentation (diff)
downloadlibblake-36beac7f7077ed94d3c1c0f46733b4f54a3b05b1.tar.gz
libblake-36beac7f7077ed94d3c1c0f46733b4f54a3b05b1.tar.bz2
libblake-36beac7f7077ed94d3c1c0f46733b4f54a3b05b1.tar.xz
Add more tests for BLAKE2b and BLAKE2s and update init functions (breaks API; were broken for keyed mode with zero-length message)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5b439de..c6aae48 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,11 @@ HDR =\
libblake.h\
common.h
+# Known answers tests
+KAT_FILES =\
+ kat-blake2b\
+ kat-blake2s
+
LOBJ = $(OBJ:.o=.lo)
@@ -119,7 +124,7 @@ libblake.a: $(OBJ)
libblake.$(LIBEXT): $(LOBJ)
$(CC) $(LIBFLAGS) -o $@ $(LOBJ) $(LDFLAGS)
-check: test
+check: test $(KAT_FILES)
$(CHECK_PREFIX) ./test
install: libblake.a libblake.$(LIBEXT)