diff options
-rw-r--r-- | cl/onion.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cl/onion.cl b/cl/onion.cl index da6a654..035749c 100644 --- a/cl/onion.cl +++ b/cl/onion.cl @@ -1,5 +1,5 @@ #define SHA_CHUNK_LEN 64 -#define ROL(x, shamt) ((x << shamt) | ((x >> sizeof(x)*8) - shamt)) +#define ROL(x, shamt) ((x << shamt) | (x >> (sizeof(x)*8 - shamt))) #define MIN(a, b) ((a) < (b) ? (a) : (b)) struct sha_data { |