hash/siphash: style
This commit is contained in:
parent
b3f00b2f39
commit
cc3153123e
@ -31,10 +31,10 @@ round (uint64_t v[4])
|
|||||||
{
|
{
|
||||||
using cruft::rotatel;
|
using cruft::rotatel;
|
||||||
|
|
||||||
v[0] += v[1]; v[2] += v[3];
|
v[0] += v[1]; v[2] += v[3];
|
||||||
v[1] = rotatel (v[1], 13); v[3] = rotatel (v[3], 16);
|
v[1] = rotatel (v[1], 13); v[3] = rotatel (v[3], 16);
|
||||||
v[1] ^= v[0]; v[3] ^= v[2];
|
v[1] ^= v[0]; v[3] ^= v[2];
|
||||||
v[0] = rotatel (v[0], 32);
|
v[0] = rotatel (v[0], 32);
|
||||||
|
|
||||||
v[2] += v[1]; v[0] += v[3];
|
v[2] += v[1]; v[0] += v[3];
|
||||||
v[1] = rotatel (v[1], 17); v[3] = rotatel (v[3], 21);
|
v[1] = rotatel (v[1], 17); v[3] = rotatel (v[3], 21);
|
||||||
|
Loading…
Reference in New Issue
Block a user