Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ceph/
H A Dcrypto.h11 struct ceph_crypto_key { struct
19 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, argument
20 const struct ceph_crypto_key *src);
21 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end);
22 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end);
23 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *in);
24 void ceph_crypto_key_destroy(struct ceph_crypto_key *key);
27 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt,
H A 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()
107 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
134 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy()
218 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt()
282 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt()
[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.c54 static int ceph_x_encrypt(struct ceph_crypto_key *secret, void *buf, in ceph_x_encrypt()
74 static int __ceph_x_decrypt(struct ceph_crypto_key *secret, void *p, in __ceph_x_decrypt()
94 static int ceph_x_decrypt(struct ceph_crypto_key *secret, void **p, void *end) in ceph_x_decrypt()
158 struct ceph_crypto_key *secret, in process_one_ticket()
171 struct ceph_crypto_key new_session_key = { 0 }; in process_one_ticket()
267 struct ceph_crypto_key *secret, in ceph_x_proc_ticket_reply()
H A Dceph_common.c358 static int get_secret(struct ceph_crypto_key *dst, const char *name, in get_secret()
364 struct ceph_crypto_key *ckey; in get_secret()
H A Dauth.c39 struct ceph_auth_client *ceph_auth_init(const char *name, const struct ceph_crypto_key *key) in ceph_auth_init()
/OK3568_Linux_fs/kernel/include/linux/ceph/
H A Dauth.h95 const struct ceph_crypto_key *key; /* our secret key */
102 const struct ceph_crypto_key *key);
H A Dlibceph.h67 struct ceph_crypto_key *key;