diff options
Diffstat (limited to 'camellia-internal.h')
-rw-r--r-- | camellia-internal.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/camellia-internal.h b/camellia-internal.h index e0cfdf56..c0f67c8a 100644 --- a/camellia-internal.h +++ b/camellia-internal.h @@ -45,11 +45,8 @@ * macros */ -/* Rotation of 32-bit values. */ -#define ROL32(bits, x) (((x) << (bits)) | ((x) >> (32 - (bits)))) - /* Destructive rotation of 128 bit values. */ -#define ROL128(bits, xl, xr) do { \ +#define ROTL128(bits, xl, xr) do { \ uint64_t __rol128_t = (xl); \ (xl) = ((xl) << (bits)) | ((xr) >> (64 - (bits))); \ (xr) = ((xr) << (bits)) | (__rol128_t >> (64 - (bits))); \ |