Cryptography: correct Whirlpool compilation error on Big Endian platforms.

This commit is contained in:
Mounir IDRASSI committed 2016-01-03 00:14:54 +01:00
1 parent 0c2c0a846d
commit bb66dac8e6
1 file changed
+1 -1
+1 -1
View File
@@ -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);