From 257c3d8b7cf9a877b05234ff4d9a58a0562ae855 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 24 Jul 2010 02:46:15 +0200 Subject: Use algo_properties_st in pkcs_1_pss_decode --- libtomcrypt/headers/tomcrypt_pkcs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtomcrypt/headers') 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 */ -- cgit