Move macros up
This commit is contained in:
parent
2a562f8986
commit
820a2b70e3
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user