summaryrefslogtreecommitdiff
path: root/src/hashFFI.h
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-06-15 14:47:24 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-06-15 14:47:24 -0400
commit69fa341d9ba5e5d4a2ca23b69a2faba2a2e2f641 (patch)
treea718578289c4c56e14f7a8d0097e7aeba8553706 /src/hashFFI.h
parentc8e347649e6323c3eae12b6d95fcc888ba73656f (diff)
Add SHA-2 support
Diffstat (limited to 'src/hashFFI.h')
-rw-r--r--src/hashFFI.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hashFFI.h b/src/hashFFI.h
index a454b99..500a5e7 100644
--- a/src/hashFFI.h
+++ b/src/hashFFI.h
@@ -22,8 +22,14 @@ extern "C" {
#include <urweb/urweb_cpp.h>
uw_Basis_string uw_HashFFI_md5(struct uw_context*, const uw_Basis_blob);
+
uw_Basis_string uw_HashFFI_sha1(struct uw_context*, const uw_Basis_blob);
+uw_Basis_string uw_HashFFI_sha224(struct uw_context*, const uw_Basis_blob);
+uw_Basis_string uw_HashFFI_sha256(struct uw_context*, const uw_Basis_blob);
+uw_Basis_string uw_HashFFI_sha384(struct uw_context*, const uw_Basis_blob);
+uw_Basis_string uw_HashFFI_sha512(struct uw_context*, const uw_Basis_blob);
+
#ifdef __cplusplus
}
#endif