Browse Source

RORc instead of ROR

Karel Miko 9 years ago
parent
commit
af77f1fae9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ciphers/camellia.c

+ 1 - 1
src/ciphers/camellia.c

@@ -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];
 
    D ^= U;
-   U = D ^ ROR(U, 8);
+   U = D ^ RORc(U, 8);
 
    return ((ulong64)U) | (((ulong64)D) << CONST64(32));
 }