summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers/tomcrypt_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/headers/tomcrypt_hash.h')
-rw-r--r--libtomcrypt/headers/tomcrypt_hash.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libtomcrypt/headers/tomcrypt_hash.h b/libtomcrypt/headers/tomcrypt_hash.h
index 417e4812440..1a2934b5903 100644
--- a/libtomcrypt/headers/tomcrypt_hash.h
+++ b/libtomcrypt/headers/tomcrypt_hash.h
@@ -1,5 +1,7 @@
/* ---- HASH FUNCTIONS ---- */
+struct algo_properties_st;
+
int hash_is_valid(int idx);
int hash_memory(int hash,
@@ -8,5 +10,5 @@ int hash_memory(int hash,
int hash_memory_multi(int hash, unsigned char *out, unsigned long *outlen,
const unsigned char *in, unsigned long inlen, ...);
-int hash_get_oid(int hash, oid_st* st);
+int hash_get_oid(const struct algo_properties_st *hash, oid_st* st);