Move macros up
This commit is contained in:
parent
2a562f8986
commit
820a2b70e3
@ -2,6 +2,10 @@
|
|||||||
#define TEST_NAME "pwhash"
|
#define TEST_NAME "pwhash"
|
||||||
#include "cmptest.h"
|
#include "cmptest.h"
|
||||||
|
|
||||||
|
#define OUT_LEN 128
|
||||||
|
#define OPSLIMIT 1000000
|
||||||
|
#define MEMLIMIT 10000000
|
||||||
|
|
||||||
static void tv(void)
|
static void tv(void)
|
||||||
{
|
{
|
||||||
static struct {
|
static struct {
|
||||||
@ -281,10 +285,6 @@ static void tv3(void)
|
|||||||
} while (++i < (sizeof tests) / (sizeof tests[0]));
|
} while (++i < (sizeof tests) / (sizeof tests[0]));
|
||||||
}
|
}
|
||||||
|
|
||||||
#define OUT_LEN 128
|
|
||||||
#define OPSLIMIT 1000000
|
|
||||||
#define MEMLIMIT 10000000
|
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
char str_out[crypto_pwhash_scryptsalsa208sha256_STRBYTES];
|
char str_out[crypto_pwhash_scryptsalsa208sha256_STRBYTES];
|
||||||
|
Loading…
Reference in New Issue
Block a user