diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-23 22:36:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-23 22:40:29 +0200 |
commit | 2fd94aae29d53d9859bfc3f53777970def38e253 (patch) | |
tree | e45573486f44271d75ee22284953e5dcde303ca5 /sha0.c | |
parent | First commit (diff) | |
download | libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.gz libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.bz2 libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.xz |
Fixes + add SHA0 and SHA1 using libsha1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sha0.c')
-rw-r--r-- | sha0.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +/* See LICENSE file for copyright and license details. */ +#define TEST +#include "common.h" + + +static struct testcase testcases[] = { + {1, 0, "abc", "0164b8a914cd2a5e74c4f7ff082c4d97f1edf880"} +}; + + +int +main(void) +{ + TEST_MAIN("SHA0", SHA0); +} |