VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/EncryptionThreadPool.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/EncryptionThreadPool.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/EncryptionThreadPool.c')
-rw-r--r--src/Common/EncryptionThreadPool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/EncryptionThreadPool.c b/src/Common/EncryptionThreadPool.c
index bd6b7b1b..fdedf36f 100644
--- a/src/Common/EncryptionThreadPool.c
+++ b/src/Common/EncryptionThreadPool.c
@@ -159,7 +159,7 @@ static TC_THREAD_PROC EncryptionThreadProc (void *threadArg)
switch (workItem->KeyDerivation.Pkcs5Prf)
{
case RIPEMD160:
- derive_key_ripemd160 (workItem->KeyDerivation.Password, workItem->KeyDerivation.PasswordLength, workItem->KeyDerivation.Salt, PKCS5_SALT_SIZE,
+ derive_key_ripemd160 (TRUE, workItem->KeyDerivation.Password, workItem->KeyDerivation.PasswordLength, workItem->KeyDerivation.Salt, PKCS5_SALT_SIZE,
workItem->KeyDerivation.IterationCount, workItem->KeyDerivation.DerivedKey, GetMaxPkcs5OutSize());
break;