aboutsummaryrefslogtreecommitdiff
path: root/halfsiphash.c
diff options
context:
space:
mode:
authorJean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>2022-07-28 11:57:13 +0200
committerGitHub <noreply@github.com>2022-07-28 11:57:13 +0200
commit0eeb8e142c84d3e48cca790b5499aa009ff3e245 (patch)
treead32dd50f65363c8bd7b27668d6441a2362429b7 /halfsiphash.c
parentMerge pull request #41 from noocsharp/master (diff)
parentMerge branch 'master' into rename-debug-symbol (diff)
downloadsiphash-0eeb8e142c84d3e48cca790b5499aa009ff3e245.tar.gz
siphash-0eeb8e142c84d3e48cca790b5499aa009ff3e245.tar.xz
Merge pull request #39 from snej/rename-debug-symbol
Rename `DEBUG` to `DEBUG_SIPHASH` – fixing the makefile upstream
Diffstat (limited to 'halfsiphash.c')
-rw-r--r--halfsiphash.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/halfsiphash.c b/halfsiphash.c
index dacfc8e..18ebadd 100644
--- a/halfsiphash.c
+++ b/halfsiphash.c
@@ -56,8 +56,10 @@
v2 = ROTL(v2, 16); \
} while (0)
-#ifdef DEBUG
+
+#ifdef DEBUG_SIPHASH
#include <stdio.h>
+
#define TRACE \
do { \
printf("(%3zu) v0 %08" PRIx32 "\n", inlen, v0); \