aboutsummaryrefslogtreecommitdiffstats
path: root/t/keccak.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-04 17:41:55 +0200
committerMattias Andrée <maandree@kth.se>2024-09-04 17:41:55 +0200
commit99d71e6cd149414dd97f521cae418b49087334bb (patch)
tree6e6a086284779110f7b4bd2bce0f4dcf398ee22e /t/keccak.c
parentMove test files into t/ (diff)
downloadlibhashsum-99d71e6cd149414dd97f521cae418b49087334bb.tar.gz
libhashsum-99d71e6cd149414dd97f521cae418b49087334bb.tar.bz2
libhashsum-99d71e6cd149414dd97f521cae418b49087334bb.tar.xz
tests: check .supports_non_whole_bytes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 't/keccak.c')
-rw-r--r--t/keccak.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/keccak.c b/t/keccak.c
index 6e4a900..cb8923a 100644
--- a/t/keccak.c
+++ b/t/keccak.c
@@ -96,6 +96,7 @@ main(void)
ASSERT(!libhashsum_init_keccak_hasher(&h1, 0, 0, 224, 1));
ASSERT(!libhashsum_init_keccak_224_hasher(&h2));
+ ASSERT(h1.supports_non_whole_bytes == 1U);
ASSERT(!h1.finalise_const(&h1, NULL, 0, 0));
ASSERT(!h2.finalise_const(&h2, NULL, 0, 0));
ASSERT(h1.hash_size == h2.hash_size);