Lines Matching refs:ceph_crypto_key
15 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, in ceph_crypto_key_clone()
16 const struct ceph_crypto_key *src) in ceph_crypto_key_clone()
18 memcpy(dst, src, sizeof(struct ceph_crypto_key)); in ceph_crypto_key_clone()
25 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_encode()
37 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode()
55 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
427 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_decrypt()
447 int ceph_decrypt2(struct ceph_crypto_key *secret, in ceph_decrypt2()
480 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt()
500 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt2()
524 struct ceph_crypto_key *ckey; in ceph_key_preparse()
556 struct ceph_crypto_key *ckey = prep->payload[0]; in ceph_key_free_preparse()
563 struct ceph_crypto_key *ckey = key->payload.data; in ceph_key_destroy()