summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:32:56 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commit82c206a8e9d16e439c64d9afbf5afabd9ed1f0ce (patch)
tree224f8339a82fe1509621be9a4bd330e80d6a265c /libtomcrypt/headers
parent7b96171b3bed031238bee741a0a223ea332946b4 (diff)
downloadcryptodev-linux-82c206a8e9d16e439c64d9afbf5afabd9ed1f0ce.tar.gz
cryptodev-linux-82c206a8e9d16e439c64d9afbf5afabd9ed1f0ce.tar.xz
cryptodev-linux-82c206a8e9d16e439c64d9afbf5afabd9ed1f0ce.zip
Use algo_properties_st in hash_get_oid
Diffstat (limited to 'libtomcrypt/headers')
-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 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);