From 711872f601e63bcd5efcc7de0e3c69748cd852dd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 20 Feb 2022 13:09:05 +0100 Subject: Add coverage test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5f38b36..eb10a74 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,11 @@ LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) LIB_NAME = blake +OBJ_COMMON =\ + libblake_encode_hex.o\ + libblake_decode_hex.o\ + libblake_init.o + OBJ_BLAKE =\ libblake_blake224_digest.o\ libblake_blake224_digest_get_required_input_size.o\ @@ -73,9 +78,7 @@ OBJ_BLAKE2 =\ libblake_internal_blake2xs_init0.o OBJ =\ - libblake_encode_hex.o\ - libblake_decode_hex.o\ - libblake_init.o\ + $(OBJ_COMMON)\ $(OBJ_BLAKE)\ $(OBJ_BLAKE2) @@ -83,6 +86,11 @@ HDR =\ libblake.h\ common.h +SRC =\ + $(OBJ:.o=.c)\ + $(HDR)\ + test.c + # Known answers tests KAT_FILES =\ kat-blake2b\ -- cgit v1.2.3-70-g09d2