diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-24 18:24:12 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-24 18:24:12 -0500 |
commit | b7201e9deca1f9600b683c9ac0467c1056512bf1 (patch) | |
tree | d5d2945e1dcffea4502a83b4c3b64f0841c0a309 | |
parent | 5b0ab3cf792eb0f4e1eb8ef7e652772b3205ac54 (diff) |
sha256: Assume that input is already big endian.
-rw-r--r-- | sha256_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha256_generic.c b/sha256_generic.c index 579e014..aaf3bc5 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) |