Browse Source

sha256: Assume that input is already big endian.

Jeff Garzik 15 years ago
parent
commit
b7201e9dec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sha256_generic.c

+ 1 - 1
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)