small cleanup, makefile preparation for calcdiff

This commit is contained in:
cathugger 2019-12-22 22:01:26 +02:00
parent 451c9610aa
commit 9032811fc5
No known key found for this signature in database
GPG key ID: 9BADDA2DAF6F01A8
3 changed files with 52 additions and 38 deletions

View file

@ -6,6 +6,7 @@
#include "types.h"
#include "base16.h"
#include "ed25519/ed25519.h"
#include "testutil.h"
struct pktest {
const char *seed;
@ -26,11 +27,6 @@ struct pktest {
},
};
#define WARN(test) if (!(test)) \
fprintf(stderr, "check failed @ %d: %s\n", (int)__LINE__, #test)
#define WARNF(test) if (!(test) && (fprintf(stderr, "check failed @ %d: %s\n", (int)__LINE__, #test), 1))
#define SEEDBYTES 32
#define SECRETKEYBYTES 64
#define PUBLICKEYBYTES 32