diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-28 13:57:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-28 14:40:25 -0400 |
commit | a742a826f6fe4eafef047c4dd7ca7fa899d2f823 (patch) | |
tree | 7c83b2c177eeac4630736ed010266e6bcd36ebb3 /src/lib/crypt_ops/crypto_ed25519.c | |
parent | 0f02d2c0411448668d2dfe11b61e1ea72ee7a3b2 (diff) | |
download | tor-a742a826f6fe4eafef047c4dd7ca7fa899d2f823.tar.gz tor-a742a826f6fe4eafef047c4dd7ca7fa899d2f823.zip |
Remove all include common/ uses in crypto_ops and tls.
Diffstat (limited to 'src/lib/crypt_ops/crypto_ed25519.c')
-rw-r--r-- | src/lib/crypt_ops/crypto_ed25519.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_ed25519.c b/src/lib/crypt_ops/crypto_ed25519.c index b0e23e29c6..985652ecba 100644 --- a/src/lib/crypt_ops/crypto_ed25519.c +++ b/src/lib/crypt_ops/crypto_ed25519.c @@ -21,6 +21,7 @@ #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_ed25519.h" @@ -28,12 +29,15 @@ #include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_util.h" #include "lib/log/torlog.h" -#include "common/util.h" +#include "lib/log/util_bug.h" #include "lib/encoding/binascii.h" +#include "lib/string/util_string.h" #include "ed25519/ref10/ed25519_ref10.h" #include "ed25519/donna/ed25519_donna_tor.h" +#include <string.h> + static void pick_ed25519_impl(void); /** An Ed25519 implementation, as a set of function pointers. */ @@ -814,4 +818,3 @@ ed25519_validate_pubkey(const ed25519_public_key_t *pubkey) return 0; } - |