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()
423 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_decrypt()
443 int ceph_decrypt2(struct ceph_crypto_key *secret, in ceph_decrypt2()
476 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt()
496 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt2()
520 struct ceph_crypto_key *ckey; in ceph_key_preparse()
552 struct ceph_crypto_key *ckey = prep->payload.data[0]; in ceph_key_free_preparse()
559 struct ceph_crypto_key *ckey = key->payload.data[0]; in ceph_key_destroy()