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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user