diff options
Diffstat (limited to 'libhashsum_init_hasher.c')
-rw-r--r-- | libhashsum_init_hasher.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhashsum_init_hasher.c b/libhashsum_init_hasher.c index 6f09629..02c1e92 100644 --- a/libhashsum_init_hasher.c +++ b/libhashsum_init_hasher.c @@ -72,6 +72,10 @@ libhashsum_init_hasher(struct libhashsum_hasher *this, enum libhashsum_algorithm return libhashsum_init_blake384_hasher(this, NULL); case LIBHASHSUM_BLAKE512: return libhashsum_init_blake512_hasher(this, NULL); + case LIBHASHSUM_BLAKE2S: + return libhashsum_init_blake2s_hasher(this, 0, NULL, NULL, NULL, 0); + case LIBHASHSUM_BLAKE2B: + return libhashsum_init_blake2b_hasher(this, 0, NULL, NULL, NULL, 0); default: case LIBHASHSUM_KECCAK: errno = EINVAL; |