diff --git a/src/common/crypto.c b/src/common/crypto.c index 41ef3396a9..e80e09ad57 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 delta 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 len bytes in data stored in