aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libhashsum_init_hasher.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libhashsum_init_hasher.c b/libhashsum_init_hasher.c
index 91689ca..d747e52 100644
--- a/libhashsum_init_hasher.c
+++ b/libhashsum_init_hasher.c
@@ -24,6 +24,18 @@ libhashsum_init_hasher(struct libhashsum_hasher *hasher, enum libhashsum_algorit
return libhashsum_init_sha0_hasher(hasher);
case LIBHASHSUM_SHA1:
return libhashsum_init_sha1_hasher(hasher);
+ case LIBHASHSUM_SHA_224:
+ return libhashsum_init_sha_224_hasher(hasher);
+ case LIBHASHSUM_SHA_256:
+ return libhashsum_init_sha_256_hasher(hasher);
+ case LIBHASHSUM_SHA_384:
+ return libhashsum_init_sha_384_hasher(hasher);
+ case LIBHASHSUM_SHA_512:
+ return libhashsum_init_sha_512_hasher(hasher);
+ case LIBHASHSUM_SHA_512_224:
+ return libhashsum_init_sha_512_224_hasher(hasher);
+ case LIBHASHSUM_SHA_512_256:
+ return libhashsum_init_sha_512_256_hasher(hasher);
default:
errno = EINVAL;
return -1;