aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto_digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/crypto_digest.c')
-rw-r--r--src/common/crypto_digest.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/common/crypto_digest.c b/src/common/crypto_digest.c
index cdcc1828c8..f7163de133 100644
--- a/src/common/crypto_digest.c
+++ b/src/common/crypto_digest.c
@@ -10,10 +10,13 @@
* operations.
**/
+#include "container.h"
#include "crypto_digest.h"
-
-#include "crypto.h" /* common functions */
#include "crypto_openssl_mgt.h"
+#include "crypto_util.h"
+#include "torlog.h"
+
+#include "keccak-tiny/keccak-tiny.h"
DISABLE_GCC_WARNING(redundant-decls)
@@ -22,8 +25,6 @@ DISABLE_GCC_WARNING(redundant-decls)
ENABLE_GCC_WARNING(redundant-decls)
-#include "container.h"
-
/* Crypto digest functions */
/** Compute the SHA1 digest of the <b>len</b> bytes on data stored in