aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2018-02-16 18:23:21 +0100
committerFernando Fernandez Mancera <ffmancera@riseup.net>2018-02-16 18:23:21 +0100
commit0fad49e1c495414cb80994863b616005724da51f (patch)
tree528426b07b2560aa8461fb1a4054e76773fe37f0 /src/common/crypto.h
parent541b6b2433184ea3e5658d65a3f590e52483699b (diff)
downloadtor-0fad49e1c495414cb80994863b616005724da51f.tar.gz
tor-0fad49e1c495414cb80994863b616005724da51f.zip
Move crypto_pk_obsolete_* functions into RSA module.
We moved the crypto_pk_obselete_* functions into crypto_rsa.[ch] because they fit better with the RSA module. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 5967a6f8b6..b586790329 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -64,16 +64,6 @@ void crypto_cipher_free_(crypto_cipher_t *env);
#define crypto_cipher_free(c) \
FREE_AND_NULL(crypto_cipher_t, crypto_cipher_free_, (c))
-/* public key crypto */
-int crypto_pk_obsolete_public_hybrid_encrypt(crypto_pk_t *env, char *to,
- size_t tolen,
- const char *from, size_t fromlen,
- int padding, int force);
-int crypto_pk_obsolete_private_hybrid_decrypt(crypto_pk_t *env, char *to,
- size_t tolen,
- const char *from, size_t fromlen,
- int padding, int warnOnFailure);
-
/* symmetric crypto */
const char *crypto_cipher_get_key(crypto_cipher_t *env);