summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-16 08:13:26 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-16 08:13:26 +0000
commitf3b165fdc0b945b5d30a81db7d818d2445487520 (patch)
tree8238d420e28276ed0c76043180dda2fc6943e502 /src/common/crypto.h
parente358a362eefbe11366d1b4f8e59078a3e9695f5e (diff)
downloadtor-f3b165fdc0b945b5d30a81db7d818d2445487520.tar.gz
tor-f3b165fdc0b945b5d30a81db7d818d2445487520.zip
change crypto_digest_new_env to crypto_new_digest_env
(and same with _free_) to match our conventions i think our conventions may be getting too ad hoc svn:r940
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 1b072839f6..8ba57445be 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -99,8 +99,8 @@ crypto_cipher_env_t *crypto_create_init_cipher(int cipher_type, char *key, char
/* SHA-1 */
int crypto_SHA_digest(const unsigned char *m, int len, unsigned char *digest);
-crypto_digest_env_t *crypto_new_digest_env(int type);
-void crypto_digest_free(crypto_digest_env_t *digest);
+crypto_digest_env_t *crypto_digest_new_env(int type);
+void crypto_free_digest_env(crypto_digest_env_t *digest);
void crypto_digest_add_bytes(crypto_digest_env_t *digest, const char *data,
size_t len);
void crypto_digest_get_digest(crypto_digest_env_t *digest,