mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-15 14:32:46 +00:00
small cleanup, makefile preparation for calcdiff
This commit is contained in:
parent
451c9610aa
commit
9032811fc5
3 changed files with 52 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue