diff options
author | Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com> | 2022-07-28 11:55:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 11:55:01 +0200 |
commit | 8ec5fcaa47345248011538fa448d1d558329981c (patch) | |
tree | ad32dd50f65363c8bd7b27668d6441a2362429b7 /halfsiphash.c | |
parent | Rename `DEBUG` to `DEBUG_SIPHASH` (diff) | |
parent | Merge pull request #41 from noocsharp/master (diff) | |
download | siphash-8ec5fcaa47345248011538fa448d1d558329981c.tar.gz siphash-8ec5fcaa47345248011538fa448d1d558329981c.tar.xz |
Merge branch 'master' into rename-debug-symbol
Diffstat (limited to 'halfsiphash.c')
-rw-r--r-- | halfsiphash.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/halfsiphash.c b/halfsiphash.c index 18e6be7..18ebadd 100644 --- a/halfsiphash.c +++ b/halfsiphash.c @@ -15,8 +15,8 @@ */ #include "halfsiphash.h" #include <assert.h> +#include <stddef.h> #include <stdint.h> -#include <stdio.h> /* default: SipHash-2-4 */ #ifndef cROUNDS @@ -56,7 +56,10 @@ v2 = ROTL(v2, 16); \ } while (0) + #ifdef DEBUG_SIPHASH +#include <stdio.h> + #define TRACE \ do { \ printf("(%3zu) v0 %08" PRIx32 "\n", inlen, v0); \ |