From 82c206a8e9d16e439c64d9afbf5afabd9ed1f0ce Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 24 Jul 2010 02:32:56 +0200 Subject: Use algo_properties_st in hash_get_oid --- libtomcrypt/headers/tomcrypt_hash.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libtomcrypt/headers') diff --git a/libtomcrypt/headers/tomcrypt_hash.h b/libtomcrypt/headers/tomcrypt_hash.h index 417e481..1a2934b 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); -- cgit