From 1df0eac499355e025d75dd1aa8e033aa5cf7fd70 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 24 Jul 2010 02:39:40 +0200 Subject: Use algo_properties_st in pkcs_1_pss_encode --- 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 9cfa81d..4ca2d9d 100644 --- a/libtomcrypt/headers/tomcrypt_pkcs.h +++ b/libtomcrypt/headers/tomcrypt_pkcs.h @@ -54,7 +54,7 @@ int pkcs_1_oaep_decode(const unsigned char *msg, unsigned long msglen, int *res); int pkcs_1_pss_encode(const unsigned char *msghash, unsigned long msghashlen, - unsigned long saltlen, int hash_idx, + unsigned long saltlen, const struct algo_properties_st *hash, unsigned long modulus_bitlen, unsigned char *out, unsigned long *outlen); -- cgit