diff options
Diffstat (limited to 'siphash.c')
-rw-r--r-- | siphash.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -20,8 +20,12 @@ #include <string.h> /* default: SipHash-2-4 */ -#define cROUNDS 2 -#define dROUNDS 4 +#ifndef cROUNDS + #define cROUNDS 2 +#endif +#ifndef dROUNDS + #define dROUNDS 4 +#endif #define ROTL(x, b) (uint64_t)(((x) << (b)) | ((x) >> (64 - (b)))) |