From 2b9b8fbdb32eb0636a22c81c1727fbf115a14d69 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 24 Jul 2010 02:43:53 +0200 Subject: Use algo_properties_st in pkcs_1_oaep_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 4ca2d9d..6dcde5e 100644 --- a/libtomcrypt/headers/tomcrypt_pkcs.h +++ b/libtomcrypt/headers/tomcrypt_pkcs.h @@ -49,7 +49,7 @@ int pkcs_1_oaep_encode(const unsigned char *msg, unsigned long msglen, int pkcs_1_oaep_decode(const unsigned char *msg, unsigned long msglen, const unsigned char *lparam, unsigned long lparamlen, - unsigned long modulus_bitlen, int hash_idx, + unsigned long modulus_bitlen, const struct algo_properties_st *hash, unsigned char *out, unsigned long *outlen, int *res); -- cgit