summaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 4ebeb949e2..41ef3396a9 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1205,15 +1205,6 @@ crypto_cipher_decrypt(crypto_cipher_env_t *env, char *to,
return 0;
}
-/** Move the position of the cipher stream backwards by <b>delta</b> bytes.
- * Return 0 on success, -1 on failure.
- */
-int
-crypto_cipher_rewind(crypto_cipher_env_t *env, long delta)
-{
- return crypto_cipher_advance(env, -delta);
-}
-
/** Move the position of the cipher stream forwards by <b>delta</b> bytes.
* Return 0 on success, -1 on failure.
*/