aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-20 13:51:45 +0100
committerMattias Andrée <maandree@kth.se>2022-02-20 13:51:45 +0100
commit4fbe37ba0d4410f508686d5098d192e0e3bc2f82 (patch)
treeb4fea2696efab9dbd21cc52ee46f5dc384dffa85
parentm readme (diff)
downloadlibblake-4fbe37ba0d4410f508686d5098d192e0e3bc2f82.tar.gz
libblake-4fbe37ba0d4410f508686d5098d192e0e3bc2f82.tar.bz2
libblake-4fbe37ba0d4410f508686d5098d192e0e3bc2f82.tar.xz
Move KAT files into kat/ and remove kat- prefix
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile4
-rw-r--r--kat/blake2b (renamed from kat-blake2b)0
-rw-r--r--kat/blake2s (renamed from kat-blake2s)0
-rw-r--r--test.c4
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index eb10a74..5c4a8cf 100644
--- a/Makefile
+++ b/Makefile
@@ -93,8 +93,8 @@ SRC =\
# Known answers tests
KAT_FILES =\
- kat-blake2b\
- kat-blake2s
+ kat/blake2b\
+ kat/blake2s
LOBJ = $(OBJ:.o=.lo)
diff --git a/kat-blake2b b/kat/blake2b
index 229205e..229205e 100644
--- a/kat-blake2b
+++ b/kat/blake2b
diff --git a/kat-blake2s b/kat/blake2s
index fdc2361..fdc2361 100644
--- a/kat-blake2s
+++ b/kat/blake2s
diff --git a/test.c b/test.c
index 9f47e79..79863b0 100644
--- a/test.c
+++ b/test.c
@@ -654,8 +654,8 @@ main(void)
failed |= check_blake1();
/* TODO need tests for BLAKE1 with salt and suffix */
- failed |= check_kat_file("./kat-blake2s", "BLAKE2s", &hash_blake2s);
- failed |= check_kat_file("./kat-blake2b", "BLAKE2b", &hash_blake2b);
+ failed |= check_kat_file("kat/blake2s", "BLAKE2s", &hash_blake2s);
+ failed |= check_kat_file("kat/blake2b", "BLAKE2b", &hash_blake2b);
/* TODO need tests for BLAKE2[sb] with salt and pepper */
/* TODO test libblake_blake2s_update */
/* TODO test libblake_blake2b_update */