mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Move macros up
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user