From b7201e9deca1f9600b683c9ac0467c1056512bf1 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Wed, 24 Nov 2010 18:24:12 -0500 Subject: [PATCH] sha256: Assume that input is already big endian. --- sha256_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha256_generic.c b/sha256_generic.c index 579e0146..aaf3bc5b 100644 --- a/sha256_generic.c +++ b/sha256_generic.c @@ -46,7 +46,7 @@ static inline u32 Maj(u32 x, u32 y, u32 z) static inline void LOAD_OP(int I, u32 *W, const u8 *input) { - W[I] = ntohl( ((u32*)(input))[I] ); + W[I] = /* ntohl */ ( ((u32*)(input))[I] ); } static inline void BLEND_OP(int I, u32 *W)