Lines Matching refs:ceph_crypto_key
23 static int set_secret(struct ceph_crypto_key *key, void *buf) in set_secret()
70 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, in ceph_crypto_key_clone()
71 const struct ceph_crypto_key *src) in ceph_crypto_key_clone()
73 memcpy(dst, src, sizeof(struct ceph_crypto_key)); in ceph_crypto_key_clone()
77 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode()
96 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
123 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy()
207 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt()
271 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt()
288 struct ceph_crypto_key *ckey; in ceph_key_preparse()
320 struct ceph_crypto_key *ckey = prep->payload.data[0]; in ceph_key_free_preparse()
327 struct ceph_crypto_key *ckey = key->payload.data[0]; in ceph_key_destroy()