aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-11-30 22:19:02 +0000
committerRoger Dingledine <arma@torproject.org>2005-11-30 22:19:02 +0000
commit923ad87470e6de29a043ce602cbd08742acfe032 (patch)
tree7ac88ff684e8d32020a5c12127ed8bbeeb8dea72
parentcbad6e9709fd1ce345fad00553c4701f248d7bde (diff)
downloadtor-923ad87470e6de29a043ce602cbd08742acfe032.tar
tor-923ad87470e6de29a043ce602cbd08742acfe032.tar.gz
remove another unused function
svn:r5477
-rw-r--r--src/common/crypto.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 41ef3396a..e80e09ad5 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1205,16 +1205,6 @@ crypto_cipher_decrypt(crypto_cipher_env_t *env, char *to,
return 0;
}
-/** Move the position of the cipher stream forwards by <b>delta</b> bytes.
- * Return 0 on success, -1 on failure.
- */
-int
-crypto_cipher_advance(crypto_cipher_env_t *env, long delta)
-{
- aes_adjust_counter(env->cipher, delta);
- return 0;
-}
-
/* SHA-1 */
/** Compute the SHA1 digest of <b>len</b> bytes in data stored in