summaryrefslogtreecommitdiff
path: root/curve.h
diff options
context:
space:
mode:
Diffstat (limited to 'curve.h')
-rw-r--r--curve.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/curve.h b/curve.h
index b7aebcb..ee4a322 100644
--- a/curve.h
+++ b/curve.h
@@ -14,7 +14,7 @@
#include "built_in.h"
#include "ioops.h"
#include "rnd.h"
-#include "crypto_box_curve25519xsalsa20poly1305.h"
+#include "crypto.h"
struct tai {
uint64_t x;
@@ -32,12 +32,6 @@ static struct taia tolerance_taia = {
.atto = 0,
};
-#define crypto_box_zerobytes crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
-#define crypto_box_boxzerobytes crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
-
-#define crypto_box_noncebytes crypto_box_curve25519xsalsa20poly1305_NONCEBYTES
-#define crypto_box_beforenmbytes crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES
-
struct curve25519_proto {
unsigned char enonce[crypto_box_noncebytes] __aligned_16;
unsigned char dnonce[crypto_box_noncebytes] __aligned_16;