Lines Matching refs:ceph_crypto_key
15 struct ceph_crypto_key { struct
31 int ceph_crypto_key_prepare(struct ceph_crypto_key *key, argument
33 int ceph_crypto_key_clone(struct ceph_crypto_key *dst,
34 const struct ceph_crypto_key *src);
35 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end);
36 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *in);
37 void ceph_crypto_key_destroy(struct ceph_crypto_key *key);
40 int ceph_crypt(const struct ceph_crypto_key *key, int usage_slot, bool encrypt,
42 int ceph_crypt_data_offset(const struct ceph_crypto_key *key);
43 int ceph_crypt_buflen(const struct ceph_crypto_key *key, int data_len);
44 void ceph_hmac_sha256(const struct ceph_crypto_key *key, const void *buf,