diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-23 23:40:36 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-23 23:40:36 +0200 |
commit | 4dc7dcef3136b49ff6cb34f28508965433863be8 (patch) | |
tree | 2909c34a9351f3567bccec4741ecd53b98327d31 /libhashsum_init_sha_512_224_hasher.c | |
parent | Fixes + add SHA0 and SHA1 using libsha1 (diff) | |
download | libhashsum-4dc7dcef3136b49ff6cb34f28508965433863be8.tar.gz libhashsum-4dc7dcef3136b49ff6cb34f28508965433863be8.tar.bz2 libhashsum-4dc7dcef3136b49ff6cb34f28508965433863be8.tar.xz |
Fixes + add SHA2 support via libsha2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libhashsum_init_sha_512_224_hasher.c')
-rw-r--r-- | libhashsum_init_sha_512_224_hasher.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libhashsum_init_sha_512_224_hasher.c b/libhashsum_init_sha_512_224_hasher.c new file mode 100644 index 0000000..b74a6ab --- /dev/null +++ b/libhashsum_init_sha_512_224_hasher.c @@ -0,0 +1,9 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" + + +int +libhashsum_init_sha_512_224_hasher(struct libhashsum_hasher *this) +{ + return libhashsum_init_sha2_hasher(this, 64, 224); +} |