Home
last modified time | relevance | path

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

/linux-6.1.9/net/ceph/
Dcrypto.h14 struct ceph_crypto_key { struct
22 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, argument
23 const struct ceph_crypto_key *src);
24 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end);
25 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end);
26 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *in);
27 void ceph_crypto_key_destroy(struct ceph_crypto_key *key);
30 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt,
Dcrypto.c23 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_encode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_encode()
89 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode()
108 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
135 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy()
219 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt()
283 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt()
[all …]
Dauth_x.h19 struct ceph_crypto_key session_key;
32 struct ceph_crypto_key session_key;
41 struct ceph_crypto_key secret;
Dauth_x.c57 static int ceph_x_encrypt(struct ceph_crypto_key *secret, void *buf, in ceph_x_encrypt()
77 static int __ceph_x_decrypt(struct ceph_crypto_key *secret, void *p, in __ceph_x_decrypt()
97 static int ceph_x_decrypt(struct ceph_crypto_key *secret, void **p, void *end) in ceph_x_decrypt()
161 struct ceph_crypto_key *secret, in process_one_ticket()
174 struct ceph_crypto_key new_session_key = { 0 }; in process_one_ticket()
271 struct ceph_crypto_key *secret, in ceph_x_proc_ticket_reply()
792 static int decrypt_authorizer_challenge(struct ceph_crypto_key *secret, in decrypt_authorizer_challenge()
844 static int decrypt_authorizer_reply(struct ceph_crypto_key *secret, in decrypt_authorizer_reply()
Dceph_common.c354 static int get_secret(struct ceph_crypto_key *dst, const char *name, in get_secret()
360 struct ceph_crypto_key *ckey; in get_secret()
Dauth.c57 const struct ceph_crypto_key *key, in ceph_auth_init()
/linux-6.1.9/include/linux/ceph/
Dauth.h98 const struct ceph_crypto_key *key; /* our secret key */
110 const struct ceph_crypto_key *key,
Dlibceph.h68 struct ceph_crypto_key *key;