VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-09 11:10:42 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:19:36 +0100
commitbacd720279cb99bc5fe05de556f8a8ca23b9788e (patch)
tree848a4b7aa4ae5e7e93eb5aa3af2841783817d6f3 /src
parent31fd16979fa56eda856d93754b388e73eae69f9f (diff)
downloadVeraCrypt-bacd720279cb99bc5fe05de556f8a8ca23b9788e.tar.gz
VeraCrypt-bacd720279cb99bc5fe05de556f8a8ca23b9788e.zip
Correct values of RIPEMD160 iterations count to be identical to Windows ones (defined in function get_pkcs5_iteration_count)
Diffstat (limited to 'src')
-rw-r--r--src/Volume/Pkcs5Kdf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Volume/Pkcs5Kdf.h b/src/Volume/Pkcs5Kdf.h
index 5e7648fa..283c8ce6 100644
--- a/src/Volume/Pkcs5Kdf.h
+++ b/src/Volume/Pkcs5Kdf.h
@@ -51,7 +51,7 @@ namespace TrueCrypt
virtual void DeriveKey (const BufferPtr &key, const VolumePassword &password, const ConstBufferPtr &salt, int iterationCount, BOOL bNotTest = TRUE) const;
virtual shared_ptr <Hash> GetHash () const { return shared_ptr <Hash> (new Ripemd160); }
- virtual int GetIterationCount () const { return 655340; }
+ virtual int GetIterationCount () const { return 32767; }
virtual wstring GetName () const { return L"HMAC-RIPEMD-160"; }
private:
@@ -67,7 +67,7 @@ namespace TrueCrypt
virtual void DeriveKey (const BufferPtr &key, const VolumePassword &password, const ConstBufferPtr &salt, int iterationCount, BOOL bNotTest = TRUE) const;
virtual shared_ptr <Hash> GetHash () const { return shared_ptr <Hash> (new Ripemd160); }
- virtual int GetIterationCount () const { return 327670; }
+ virtual int GetIterationCount () const { return 16384; }
virtual wstring GetName () const { return L"HMAC-RIPEMD-160"; }
private: