summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:46:15 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commit257c3d8b7cf9a877b05234ff4d9a58a0562ae855 (patch)
tree19b84a02f4fe58ba3294285601f913773dab6d71 /libtomcrypt/headers
parent2b9b8fbdb32eb0636a22c81c1727fbf115a14d69 (diff)
downloadcryptodev-linux-257c3d8b7cf9a877b05234ff4d9a58a0562ae855.tar.gz
cryptodev-linux-257c3d8b7cf9a877b05234ff4d9a58a0562ae855.tar.xz
cryptodev-linux-257c3d8b7cf9a877b05234ff4d9a58a0562ae855.zip
Use algo_properties_st in pkcs_1_pss_decode
Diffstat (limited to 'libtomcrypt/headers')
-rw-r--r--libtomcrypt/headers/tomcrypt_pkcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtomcrypt/headers/tomcrypt_pkcs.h b/libtomcrypt/headers/tomcrypt_pkcs.h
index 6dcde5e..142f196 100644
--- a/libtomcrypt/headers/tomcrypt_pkcs.h
+++ b/libtomcrypt/headers/tomcrypt_pkcs.h
@@ -60,7 +60,7 @@ int pkcs_1_pss_encode(const unsigned char *msghash, unsigned long msghashlen,
int pkcs_1_pss_decode(const unsigned char *msghash, unsigned long msghashlen,
const unsigned char *sig, unsigned long siglen,
- unsigned long saltlen, int hash_idx,
+ unsigned long saltlen, const struct algo_properties_st *hash,
unsigned long modulus_bitlen, int *res);
#endif /* LTC_PKCS_1 */