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:
@@ -685,7 +685,7 @@ static uint64 HashMultipleBlocks(WHIRLPOOL_CTX * const ctx, const uint64 *input,
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
#if BYTE_ORDER == BIG_ENDIAN
|
#if BYTE_ORDER == BIG_ENDIAN
|
||||||
Whirlpool::Transform(this->m_state, input);
|
WhirlpoolTransform(ctx->state, input);
|
||||||
#else
|
#else
|
||||||
CorrectEndianess(dataBuf, input, 64);
|
CorrectEndianess(dataBuf, input, 64);
|
||||||
WhirlpoolTransform(ctx->state, dataBuf);
|
WhirlpoolTransform(ctx->state, dataBuf);
|
||||||
|
|||||||
Reference in New Issue
Block a user