From 820a2b70e33538b02de1c50dcde0c6192e12e0a9 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 15 Jan 2015 00:51:53 +0100 Subject: [PATCH] Move macros up --- test/default/pwhash.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/default/pwhash.c b/test/default/pwhash.c index 6f1dd3c1..24a54025 100644 --- a/test/default/pwhash.c +++ b/test/default/pwhash.c @@ -2,6 +2,10 @@ #define TEST_NAME "pwhash" #include "cmptest.h" +#define OUT_LEN 128 +#define OPSLIMIT 1000000 +#define MEMLIMIT 10000000 + static void tv(void) { static struct { @@ -281,10 +285,6 @@ static void tv3(void) } while (++i < (sizeof tests) / (sizeof tests[0])); } -#define OUT_LEN 128 -#define OPSLIMIT 1000000 -#define MEMLIMIT 10000000 - int main(void) { char str_out[crypto_pwhash_scryptsalsa208sha256_STRBYTES];