aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhashsum_init_hasher.c')
-rw-r--r--libhashsum_init_hasher.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libhashsum_init_hasher.c b/libhashsum_init_hasher.c
index 3d8a521..ab44ac1 100644
--- a/libhashsum_init_hasher.c
+++ b/libhashsum_init_hasher.c
@@ -64,6 +64,14 @@ libhashsum_init_hasher(struct libhashsum_hasher *this, enum libhashsum_algorithm
return libhashsum_init_rawshake256_hasher(this, 0);
case LIBHASHSUM_RAWSHAKE512:
return libhashsum_init_rawshake512_hasher(this, 0);
+ case LIBHASHSUM_BLAKE224:
+ return libhashsum_init_blake224_hasher(this);
+ case LIBHASHSUM_BLAKE256:
+ return libhashsum_init_blake256_hasher(this);
+ case LIBHASHSUM_BLAKE384:
+ return libhashsum_init_blake384_hasher(this);
+ case LIBHASHSUM_BLAKE512:
+ return libhashsum_init_blake512_hasher(this);
default:
case LIBHASHSUM_KECCAK:
errno = EINVAL;