X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=crypto%2Fsha512.c;h=c663438322e9bf4691930feede496de45fc5ea44;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=2403bb94675aa1c55d4ed19fdafaba25f6d15665;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/crypto/sha512.c b/crypto/sha512.c index 2403bb946..c66343832 100644 --- a/crypto/sha512.c +++ b/crypto/sha512.c @@ -105,7 +105,7 @@ static const u64 sha512_K[80] = { static inline void LOAD_OP(int I, u64 *W, const u8 *input) { - W[I] = __be64_to_cpu( ((u64*)(input))[I] ); + W[I] = __be64_to_cpu( ((__be64*)(input))[I] ); } static inline void BLEND_OP(int I, u64 *W)