summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:39:40 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commit1df0eac499355e025d75dd1aa8e033aa5cf7fd70 (patch)
tree9e10049c5b55569aa0cd7c2c2811b3825494c4ca /libtomcrypt/headers
parent6962f9b991bd1c47d1e501e19875372d0301ca53 (diff)
downloadcryptodev-linux-1df0eac499355e025d75dd1aa8e033aa5cf7fd70.tar.gz
cryptodev-linux-1df0eac499355e025d75dd1aa8e033aa5cf7fd70.tar.xz
cryptodev-linux-1df0eac499355e025d75dd1aa8e033aa5cf7fd70.zip
Use algo_properties_st in pkcs_1_pss_encode
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 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);