diff --git a/hash/siphash.cpp b/hash/siphash.cpp index f2541eb4..a45b6663 100644 --- a/hash/siphash.cpp +++ b/hash/siphash.cpp @@ -31,10 +31,10 @@ round (uint64_t v[4]) { using cruft::rotatel; - v[0] += v[1]; v[2] += v[3]; - v[1] = rotatel (v[1], 13); v[3] = rotatel (v[3], 16); - v[1] ^= v[0]; v[3] ^= v[2]; - v[0] = rotatel (v[0], 32); + v[0] += v[1]; v[2] += v[3]; + v[1] = rotatel (v[1], 13); v[3] = rotatel (v[3], 16); + v[1] ^= v[0]; v[3] ^= v[2]; + v[0] = rotatel (v[0], 32); v[2] += v[1]; v[0] += v[3]; v[1] = rotatel (v[1], 17); v[3] = rotatel (v[3], 21);