diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-04-18 11:16:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-04-18 11:16:05 -0400 |
commit | da30adcf0fd048d1f2e7a4b76e2c880cc3824e6e (patch) | |
tree | eef8ad038eb361e3241c3b8f9997478c8522ce55 /src/common/crypto.h | |
parent | 5f035e2c6501fe166900cb493e2c3de51371c9c5 (diff) | |
parent | 9fec0c1a95ab24f5f18d6995e30fe2111e6b7db2 (diff) | |
download | tor-da30adcf0fd048d1f2e7a4b76e2c880cc3824e6e.tar.gz tor-da30adcf0fd048d1f2e7a4b76e2c880cc3824e6e.zip |
Merge remote-tracking branch 'origin/maint-0.2.4'
Conflicts:
src/common/crypto.c
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index ee356c64bd..38eb455173 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -205,6 +205,10 @@ int crypto_digest(char *digest, const char *m, size_t len); int crypto_digest256(char *digest, const char *m, size_t len, digest_algorithm_t algorithm); int crypto_digest_all(digests_t *ds_out, const char *m, size_t len); +struct smartlist_t; +void crypto_digest_smartlist(char *digest_out, size_t len_out, + const struct smartlist_t *lst, const char *append, + digest_algorithm_t alg); const char *crypto_digest_algorithm_get_name(digest_algorithm_t alg); int crypto_digest_algorithm_parse_name(const char *name); crypto_digest_t *crypto_digest_new(void); |