diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-04 17:41:55 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-04 17:41:55 +0200 |
commit | 99d71e6cd149414dd97f521cae418b49087334bb (patch) | |
tree | 6e6a086284779110f7b4bd2bce0f4dcf398ee22e /t/keccak.c | |
parent | Move test files into t/ (diff) | |
download | libhashsum-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |