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 fc39758..91689ca 100644 --- a/libhashsum_init_hasher.c +++ b/libhashsum_init_hasher.c @@ -20,6 +20,10 @@ libhashsum_init_hasher(struct libhashsum_hasher *hasher, enum libhashsum_algorit return libhashsum_init_ripemd_256_hasher(hasher); case LIBHASHSUM_RIPEMD_320: return libhashsum_init_ripemd_320_hasher(hasher); + case LIBHASHSUM_SHA0: + return libhashsum_init_sha0_hasher(hasher); + case LIBHASHSUM_SHA1: + return libhashsum_init_sha1_hasher(hasher); default: errno = EINVAL; return -1; |