mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
remove another unused function
svn:r5477
This commit is contained in:
parent
cbad6e9709
commit
923ad87470
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user