diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2013-06-22 17:38:33 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:18:21 +0100 |
commit | 6b2e97c2438e85ddf2f166cf7c56f6c923ffcac4 (patch) | |
tree | 539cf805380559c54767d5d0d3c2c0e010e77c19 /src/Common/Pkcs5.h | |
parent | 03867fbf5653c0260e71271e0ddf46ed1045b488 (diff) | |
download | VeraCrypt-6b2e97c2438e85ddf2f166cf7c56f6c923ffcac4.tar.gz VeraCrypt-6b2e97c2438e85ddf2f166cf7c56f6c923ffcac4.zip |
Enhance security by rising the iterations used in PBKDF2 : 327670 instead of 1000 when booting in encrypted system partition, and 2000000 instead of 2000 when using encrypted containers and partitions
Diffstat (limited to 'src/Common/Pkcs5.h')
-rw-r--r-- | src/Common/Pkcs5.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Pkcs5.h b/src/Common/Pkcs5.h index cc3b3c80..5a286fb5 100644 --- a/src/Common/Pkcs5.h +++ b/src/Common/Pkcs5.h @@ -26,8 +26,8 @@ void hmac_sha1 (char *k, int lk, char *d, int ld, char *out, int t); void derive_u_sha1 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b);
void derive_key_sha1 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen);
void hmac_ripemd160 (char *key, int keylen, char *input, int len, char *digest);
-void derive_u_ripemd160 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b);
-void derive_key_ripemd160 (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen);
+void derive_u_ripemd160 (BOOL bNotTest, char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b);
+void derive_key_ripemd160 (BOOL bNotTest, char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen);
void hmac_whirlpool (char *k, int lk, char *d, int ld, char *out, int t);
void derive_u_whirlpool (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *u, int b);
void derive_key_whirlpool (char *pwd, int pwd_len, char *salt, int salt_len, int iterations, char *dk, int dklen);
|