From 8149d146d7558e0161175ecdeeefededc31bd776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Mon, 12 Nov 2012 21:01:52 +0100 Subject: Moved ROTL64 macro to macros.h. --- macros.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'macros.h') diff --git a/macros.h b/macros.h index b2d4b02e..b2d6076f 100644 --- a/macros.h +++ b/macros.h @@ -119,7 +119,9 @@ do { \ (dst) += (blocksize), \ (src) += (blocksize)) ) -#define ROTL32(n,x) ((((x))<<(n)) | (((x))>>(32-(n)))) +#define ROTL32(n,x) (((x)<<(n)) | ((x)>>(32-(n)))) + +#define ROTL64(n,x) (((x)<<(n)) | ((x)>>(64-(n)))) /* Requires that size >= 2 */ #define INCREMENT(size, ctr) \ -- cgit v1.2.1