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

Cryptography: correct Whirlpool compilation error on Big Endian platforms.

This commit is contained in:
Mounir IDRASSI
2016-01-01 00:44:46 +01:00
parent 0c2c0a846d
commit bb66dac8e6

View File

@@ -685,7 +685,7 @@ static uint64 HashMultipleBlocks(WHIRLPOOL_CTX * const ctx, const uint64 *input,
do
{
#if BYTE_ORDER == BIG_ENDIAN
Whirlpool::Transform(this->m_state, input);
WhirlpoolTransform(ctx->state, input);
#else
CorrectEndianess(dataBuf, input, 64);
WhirlpoolTransform(ctx->state, dataBuf);