]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/ceph/crypto.h
libceph: remove now unused ceph_*{en,de}crypt*() functions
[mirror_ubuntu-zesty-kernel.git] / net / ceph / crypto.h
index 73da34e8c62e1225426921a06be5e2f9839728dd..c33bcafd3829e69b2c7b539db31fb24d3e93773f 100644 (file)
@@ -29,20 +29,6 @@ int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end);
 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *in);
 
 /* crypto.c */
-int ceph_decrypt(struct ceph_crypto_key *secret,
-                void *dst, size_t *dst_len,
-                const void *src, size_t src_len);
-int ceph_encrypt(struct ceph_crypto_key *secret,
-                void *dst, size_t *dst_len,
-                const void *src, size_t src_len);
-int ceph_decrypt2(struct ceph_crypto_key *secret,
-                 void *dst1, size_t *dst1_len,
-                 void *dst2, size_t *dst2_len,
-                 const void *src, size_t src_len);
-int ceph_encrypt2(struct ceph_crypto_key *secret,
-                 void *dst, size_t *dst_len,
-                 const void *src1, size_t src1_len,
-                 const void *src2, size_t src2_len);
 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt,
               void *buf, int buf_len, int in_len, int *pout_len);
 int ceph_crypto_init(void);