summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 03:02:59 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commit32e0115f32c75f0bffdea599734774376cdf097b (patch)
tree8cff55d57a65934e5103de6d2d28bcfab86e0ac1 /libtomcrypt/headers
parent06520b6a96ac44d1c4c6e999c5d5ec725d11afa5 (diff)
downloadcryptodev-linux-32e0115f32c75f0bffdea599734774376cdf097b.tar.gz
cryptodev-linux-32e0115f32c75f0bffdea599734774376cdf097b.tar.xz
cryptodev-linux-32e0115f32c75f0bffdea599734774376cdf097b.zip
Use algo_properties_st in hash_is_valid
Diffstat (limited to 'libtomcrypt/headers')
-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 380bf7d..e4e84e4 100644
--- a/libtomcrypt/headers/tomcrypt_hash.h
+++ b/libtomcrypt/headers/tomcrypt_hash.h
@@ -2,7 +2,7 @@
struct algo_properties_st;
-int hash_is_valid(int idx);
+int hash_is_valid(const struct algo_properties_st *hash);
int hash_memory(const struct algo_properties_st *hash,
const unsigned char *in, unsigned long inlen,