Home
last modified time | relevance | path

Searched refs:ceph_crypto_key (Results 1 – 8 of 8) sorted by relevance

/linux/net/ceph/
H A Dcrypto.h15 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);
[all …]
H A Dcrypto.c20 static int set_aes_tfm(struct ceph_crypto_key *key) in set_aes_tfm()
41 static int set_krb5_tfms(struct ceph_crypto_key *key, const u32 *key_usages, in set_krb5_tfms()
78 int ceph_crypto_key_prepare(struct ceph_crypto_key *key, in ceph_crypto_key_prepare()
97 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, in ceph_crypto_key_clone()
98 const struct ceph_crypto_key *src) in ceph_crypto_key_clone()
114 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode()
139 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
166 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy()
264 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt()
328 static int ceph_krb5_encrypt(const struct ceph_crypto_key *key, int usage_slot, in ceph_krb5_encrypt()
[all …]
H A Dauth_x.h19 struct ceph_crypto_key session_key;
32 struct ceph_crypto_key session_key;
41 struct ceph_crypto_key secret;
H A Dauth_x.c63 static int __ceph_x_encrypt_offset(const struct ceph_crypto_key *key) in __ceph_x_encrypt_offset()
69 static int ceph_x_encrypt_offset(const struct ceph_crypto_key *key) in ceph_x_encrypt_offset()
78 static int ceph_x_encrypt_buflen(const struct ceph_crypto_key *key, in ceph_x_encrypt_buflen()
85 static int ceph_x_encrypt(const struct ceph_crypto_key *key, int usage_slot, in ceph_x_encrypt()
106 static int __ceph_x_decrypt(const struct ceph_crypto_key *key, int usage_slot, in __ceph_x_decrypt()
127 static int ceph_x_decrypt(const struct ceph_crypto_key *key, int usage_slot, in ceph_x_decrypt()
192 struct ceph_crypto_key *secret, in process_one_ticket()
205 struct ceph_crypto_key new_session_key = { 0 }; in process_one_ticket()
311 struct ceph_crypto_key *secret, in ceph_x_proc_ticket_reply()
857 static int decrypt_authorizer_challenge(struct ceph_crypto_key *secret, in decrypt_authorizer_challenge()
[all …]
H A Dceph_common.c353 static int get_secret(struct ceph_crypto_key *dst, const char *name, in get_secret()
359 struct ceph_crypto_key *ckey; in get_secret()
H A Dauth.c57 const struct ceph_crypto_key *key, in ceph_auth_init()
/linux/include/linux/ceph/
H A Dauth.h98 const struct ceph_crypto_key *key; /* our secret key */
110 const struct ceph_crypto_key *key,
H A Dlibceph.h68 struct ceph_crypto_key *key;