From 2fd94aae29d53d9859bfc3f53777970def38e253 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 Aug 2024 22:36:41 +0200 Subject: Fixes + add SHA0 and SHA1 using libsha1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sha0.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sha0.c (limited to 'sha0.c') diff --git a/sha0.c b/sha0.c new file mode 100644 index 0000000..5ce216a --- /dev/null +++ b/sha0.c @@ -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); +} -- cgit v1.2.3-70-g09d2