From 4dc7dcef3136b49ff6cb34f28508965433863be8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 Aug 2024 23:40:36 +0200 Subject: Fixes + add SHA2 support via libsha2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libhashsum_init_sha_512_256_hasher.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 libhashsum_init_sha_512_256_hasher.c (limited to 'libhashsum_init_sha_512_256_hasher.c') diff --git a/libhashsum_init_sha_512_256_hasher.c b/libhashsum_init_sha_512_256_hasher.c new file mode 100644 index 0000000..22da9a8 --- /dev/null +++ b/libhashsum_init_sha_512_256_hasher.c @@ -0,0 +1,9 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" + + +int +libhashsum_init_sha_512_256_hasher(struct libhashsum_hasher *this) +{ + return libhashsum_init_sha2_hasher(this, 64, 256); +} -- cgit v1.2.3-70-g09d2