VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Dlgcode.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2013-06-22 17:38:33 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:18:21 +0100
commit6b2e97c2438e85ddf2f166cf7c56f6c923ffcac4 (patch)
tree539cf805380559c54767d5d0d3c2c0e010e77c19 /src/Common/Dlgcode.c
parent03867fbf5653c0260e71271e0ddf46ed1045b488 (diff)
downloadVeraCrypt-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/Dlgcode.c')
-rw-r--r--src/Common/Dlgcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index cd71d0b1..c8864372 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -4399,7 +4399,7 @@ static BOOL PerformBenchmark(HWND hwndDlg)
case RIPEMD160:
/* PKCS-5 test with HMAC-RIPEMD-160 used as the PRF */
- derive_key_ripemd160 ("passphrase-1234567890", 21, tmp_salt, 64, get_pkcs5_iteration_count(thid, FALSE), dk, MASTER_KEYDATA_SIZE);
+ derive_key_ripemd160 (FALSE, "passphrase-1234567890", 21, tmp_salt, 64, get_pkcs5_iteration_count(thid, FALSE), dk, MASTER_KEYDATA_SIZE);
break;
case WHIRLPOOL: