summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers/tomcrypt_hash.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:56:38 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commit51f5a84d2999239d305de3404e804273984d01e0 (patch)
treee2a0e5e0455654cb93f3ac597a0ba4db4ace7493 /libtomcrypt/headers/tomcrypt_hash.h
parentcfdfa8c889b944322f1af84f7447041fd44f7e5f (diff)
downloadcryptodev-linux-51f5a84d2999239d305de3404e804273984d01e0.tar.gz
cryptodev-linux-51f5a84d2999239d305de3404e804273984d01e0.tar.xz
cryptodev-linux-51f5a84d2999239d305de3404e804273984d01e0.zip
Use algo_properties_st in hash_memory
Diffstat (limited to 'libtomcrypt/headers/tomcrypt_hash.h')
-rw-r--r--libtomcrypt/headers/tomcrypt_hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtomcrypt/headers/tomcrypt_hash.h b/libtomcrypt/headers/tomcrypt_hash.h
index 1a2934b..93cc6c7 100644
--- a/libtomcrypt/headers/tomcrypt_hash.h
+++ b/libtomcrypt/headers/tomcrypt_hash.h
@@ -4,7 +4,7 @@ struct algo_properties_st;
int hash_is_valid(int idx);
-int hash_memory(int hash,
+int hash_memory(const struct algo_properties_st *hash,
const unsigned char *in, unsigned long inlen,
unsigned char *out, unsigned long *outlen);
int hash_memory_multi(int hash, unsigned char *out, unsigned long *outlen,