VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume/EncryptionTest.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-26 10:38:04 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:24:36 +0100
commit3c471383d9b0ef6ee951fbcf205af819923d24c9 (patch)
treebf3a1bbd278871285dbfd26b6efe0c4d1b386b38 /src/Volume/EncryptionTest.cpp
parent0a09314336b248d373a96d5de9586006adbd84eb (diff)
downloadVeraCrypt-3c471383d9b0ef6ee951fbcf205af819923d24c9.tar.gz
VeraCrypt-3c471383d9b0ef6ee951fbcf205af819923d24c9.zip
Linux/MacOSX: adapt code to the changes in PRF functions prototypes
Diffstat (limited to 'src/Volume/EncryptionTest.cpp')
-rw-r--r--src/Volume/EncryptionTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Volume/EncryptionTest.cpp b/src/Volume/EncryptionTest.cpp
index ffe998b0..8ed90115 100644
--- a/src/Volume/EncryptionTest.cpp
+++ b/src/Volume/EncryptionTest.cpp
@@ -792,17 +792,17 @@ namespace VeraCrypt
Buffer derivedKey (4);
Pkcs5HmacRipemd160 pkcs5HmacRipemd160;
- pkcs5HmacRipemd160.DeriveKey (derivedKey, password, salt, 5, FALSE);
+ pkcs5HmacRipemd160.DeriveKey (derivedKey, password, salt, 5);
if (memcmp (derivedKey.Ptr(), "\x7a\x3d\x7c\x03", 4) != 0)
throw TestFailed (SRC_POS);
Pkcs5HmacSha512 pkcs5HmacSha512;
- pkcs5HmacSha512.DeriveKey (derivedKey, password, salt, 5, FALSE);
+ pkcs5HmacSha512.DeriveKey (derivedKey, password, salt, 5);
if (memcmp (derivedKey.Ptr(), "\x13\x64\xae\xf8", 4) != 0)
throw TestFailed (SRC_POS);
Pkcs5HmacWhirlpool pkcs5HmacWhirlpool;
- pkcs5HmacWhirlpool.DeriveKey (derivedKey, password, salt, 5, FALSE);
+ pkcs5HmacWhirlpool.DeriveKey (derivedKey, password, salt, 5);
if (memcmp (derivedKey.Ptr(), "\x50\x7c\x36\x6f", 4) != 0)
throw TestFailed (SRC_POS);
}