summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:49:48 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commitcfdfa8c889b944322f1af84f7447041fd44f7e5f (patch)
treeb7dcf9b628fc6eda36c50dcc4798810b13ac1304 /libtomcrypt/headers
parent257c3d8b7cf9a877b05234ff4d9a58a0562ae855 (diff)
downloadcryptodev-linux-cfdfa8c889b944322f1af84f7447041fd44f7e5f.tar.gz
cryptodev-linux-cfdfa8c889b944322f1af84f7447041fd44f7e5f.tar.xz
cryptodev-linux-cfdfa8c889b944322f1af84f7447041fd44f7e5f.zip
Use algo_properties_st in pkcs_1_mgf1
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 142f196..be0d7f6 100644
--- a/libtomcrypt/headers/tomcrypt_pkcs.h
+++ b/libtomcrypt/headers/tomcrypt_pkcs.h
@@ -18,7 +18,7 @@ enum ltc_pkcs_1_paddings
LTC_LTC_PKCS_1_PSS = 3 /* LTC_PKCS #1 v2.1 signature padding */
};
-int pkcs_1_mgf1( int hash_idx,
+int pkcs_1_mgf1(const struct algo_properties_st *hash,
const unsigned char *seed, unsigned long seedlen,
unsigned char *mask, unsigned long masklen);