summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:43:53 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commit2b9b8fbdb32eb0636a22c81c1727fbf115a14d69 (patch)
tree859fd4cb461587bdc9eb3e104fc92a88a15d9769 /libtomcrypt/headers
parent1df0eac499355e025d75dd1aa8e033aa5cf7fd70 (diff)
downloadcryptodev-linux-2b9b8fbdb32eb0636a22c81c1727fbf115a14d69.tar.gz
cryptodev-linux-2b9b8fbdb32eb0636a22c81c1727fbf115a14d69.tar.xz
cryptodev-linux-2b9b8fbdb32eb0636a22c81c1727fbf115a14d69.zip
Use algo_properties_st in pkcs_1_oaep_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 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);