diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-20 11:24:18 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-20 11:24:18 +0100 |
commit | 36beac7f7077ed94d3c1c0f46733b4f54a3b05b1 (patch) | |
tree | 308c1a98b1060e23f8db657bec3f18dcdb3f9333 /Makefile | |
parent | Documentation (diff) | |
download | libblake-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-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |