aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_curve25519.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 13:57:23 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 14:40:25 -0400
commita742a826f6fe4eafef047c4dd7ca7fa899d2f823 (patch)
tree7c83b2c177eeac4630736ed010266e6bcd36ebb3 /src/lib/crypt_ops/crypto_curve25519.c
parent0f02d2c0411448668d2dfe11b61e1ea72ee7a3b2 (diff)
downloadtor-a742a826f6fe4eafef047c4dd7ca7fa899d2f823.tar.gz
tor-a742a826f6fe4eafef047c4dd7ca7fa899d2f823.zip
Remove all include common/ uses in crypto_ops and tls.
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();
}
-