Переглянути джерело

remove another unused function

svn:r5477
Roger Dingledine 20 роки тому
батько
коміт
923ad87470
1 змінених файлів з 0 додано та 10 видалено
  1. 0 10
      src/common/crypto.c

+ 0 - 10
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