summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_curve25519.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypt_ops/crypto_curve25519.c')
-rw-r--r--src/lib/crypt_ops/crypto_curve25519.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_curve25519.c b/src/lib/crypt_ops/crypto_curve25519.c
index 276ff208aa..09f492e544 100644
--- a/src/lib/crypt_ops/crypto_curve25519.c
+++ b/src/lib/crypt_ops/crypto_curve25519.c
@@ -20,16 +20,19 @@
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
+#include "lib/ctime/di_ops.h"
#include "lib/crypt_ops/crypto_curve25519.h"
#include "lib/crypt_ops/crypto_digest.h"
#include "lib/crypt_ops/crypto_format.h"
#include "lib/crypt_ops/crypto_rand.h"
#include "lib/crypt_ops/crypto_util.h"
-#include "common/util.h"
#include "lib/log/torlog.h"
+#include "lib/log/util_bug.h"
#include "ed25519/donna/ed25519_donna_tor.h"
+#include <string.h>
+
/* ==============================
Part 1: wrap a suitable curve25519 implementation as curve25519_impl
============================== */
@@ -355,4 +358,3 @@ curve25519_init(void)
{
pick_curve25519_basepoint_impl();
}
-