diff options
author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-02-03 16:16:33 +0100 |
---|---|---|
committer | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-02-03 17:04:36 +0100 |
commit | 61c7ec29f1951ddb7a8fe5109b86eb29686507b7 (patch) | |
tree | 657ead2f9902c585faa37bac0656b22637147578 /src/ext | |
parent | 202d27af71014169539863cbf81ddf3411a05258 (diff) | |
download | tor-61c7ec29f1951ddb7a8fe5109b86eb29686507b7.tar.gz tor-61c7ec29f1951ddb7a8fe5109b86eb29686507b7.zip |
Include crypto_digest.h in order to solve dependency issues.
Included crypto_digest.h in some files in order to solve xof+digest module
dependency issues. Removed crypto.h where it isn't needed anymore.
Follows #24658.
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Diffstat (limited to 'src/ext')
-rw-r--r-- | src/ext/ed25519/donna/ed25519-hash-custom.h | 2 | ||||
-rw-r--r-- | src/ext/ed25519/ref10/crypto_hash_sha512.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ext/ed25519/donna/ed25519-hash-custom.h b/src/ext/ed25519/donna/ed25519-hash-custom.h index 609451abd5..cdeab3e45b 100644 --- a/src/ext/ed25519/donna/ed25519-hash-custom.h +++ b/src/ext/ed25519/donna/ed25519-hash-custom.h @@ -9,7 +9,7 @@ void ed25519_hash(uint8_t *hash, const uint8_t *in, size_t inlen); */ -#include "crypto.h" +#include "crypto_digest.h" typedef struct ed25519_hash_context { crypto_digest_t *ctx; diff --git a/src/ext/ed25519/ref10/crypto_hash_sha512.h b/src/ext/ed25519/ref10/crypto_hash_sha512.h index 5dad935c79..7faddb1597 100644 --- a/src/ext/ed25519/ref10/crypto_hash_sha512.h +++ b/src/ext/ed25519/ref10/crypto_hash_sha512.h @@ -1,5 +1,5 @@ /* Added for Tor. */ -#include "crypto.h" +#include "crypto_digest.h" /* Set 'out' to the 512-bit SHA512 hash of the 'len'-byte string in 'inp' */ #define crypto_hash_sha512(out, inp, len) \ |