Searched refs:ceph_crypto_key (Results 1 – 6 of 6) sorted by relevance
/net/ceph/ |
D | crypto.h | 14 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,
|
D | crypto.c | 23 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 …]
|
D | auth_x.h | 19 struct ceph_crypto_key session_key; 32 struct ceph_crypto_key session_key; 41 struct ceph_crypto_key secret;
|
D | auth_x.c | 57 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()
|
D | ceph_common.c | 378 static int get_secret(struct ceph_crypto_key *dst, const char *name, in get_secret() 384 struct ceph_crypto_key *ckey; in get_secret()
|
D | auth.c | 57 const struct ceph_crypto_key *key, in ceph_auth_init()
|