aboutsummaryrefslogtreecommitdiffstats
path: root/src/benchmark.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-05 23:49:23 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-05 23:49:23 +0100
commit07411abdca6b2fc35d1f8661ddd7ffddf7118e57 (patch)
tree0238ce9412b85d4460216cd5cb5b19e53547581d /src/benchmark.c
parentmake it possible to select file to benchmark over (diff)
downloadlibkeccak-07411abdca6b2fc35d1f8661ddd7ffddf7118e57.tar.gz
libkeccak-07411abdca6b2fc35d1f8661ddd7ffddf7118e57.tar.bz2
libkeccak-07411abdca6b2fc35d1f8661ddd7ffddf7118e57.tar.xz
m + benchmark-flags
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/benchmark.c')
-rw-r--r--src/benchmark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/benchmark.c b/src/benchmark.c
index 4090b68..c719720 100644
--- a/src/benchmark.c
+++ b/src/benchmark.c
@@ -72,7 +72,9 @@ int main(void)
libkeccak_spec_t spec;
libkeccak_state_t state;
char hashsum[OUTPUT / 8];
+#ifndef IGNORE_BEHEXING
char hexsum[OUTPUT / 8 * 2 + 1];
+#endif
struct timespec start, end;
long i, r;