1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: solve benchmark issue for Whirlpool which caused wrong numbers when a 1GB buffer is chosen.

This commit is contained in:
Mounir IDRASSI
2016-07-25 08:16:38 +02:00
parent 73703095b2
commit 3aaf5c7045
8 changed files with 22 additions and 22 deletions

View File

@@ -136,6 +136,6 @@ namespace VeraCrypt
void Whirlpool::ProcessData (const ConstBufferPtr &data)
{
if_debug (ValidateDataParameters (data));
WHIRLPOOL_add (data.Get(), (int) data.Size() * 8, (WHIRLPOOL_CTX *) Context.Ptr());
WHIRLPOOL_add (data.Get(), (int) data.Size(), (WHIRLPOOL_CTX *) Context.Ptr());
}
}