RORc instead of ROR
This commit is contained in:
parent
d0a534393a
commit
af77f1fae9
@ -190,7 +190,7 @@ static ulong64 F(ulong64 x)
|
|||||||
U = SP1110[(x >> loc(1)) & 0xFF] ^ SP0222[(x >> loc(2)) & 0xFF] ^ SP3033[(x >> loc(3)) & 0xFF] ^ SP4404[(x >> loc(4)) & 0xFF];
|
U = SP1110[(x >> loc(1)) & 0xFF] ^ SP0222[(x >> loc(2)) & 0xFF] ^ SP3033[(x >> loc(3)) & 0xFF] ^ SP4404[(x >> loc(4)) & 0xFF];
|
||||||
|
|
||||||
D ^= U;
|
D ^= U;
|
||||||
U = D ^ ROR(U, 8);
|
U = D ^ RORc(U, 8);
|
||||||
|
|
||||||
return ((ulong64)U) | (((ulong64)D) << CONST64(32));
|
return ((ulong64)U) | (((ulong64)D) << CONST64(32));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user