Searched refs:ceph_crypto_key (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/net/ceph/ |
D | crypto.h | 10 struct ceph_crypto_key { struct 17 static inline void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy() argument 25 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, 26 const struct ceph_crypto_key *src); 27 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end); 28 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end); 29 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *in); 32 int ceph_decrypt(struct ceph_crypto_key *secret, 35 int ceph_encrypt(struct ceph_crypto_key *secret, 38 int ceph_decrypt2(struct ceph_crypto_key *secret, [all …]
|
D | auth_x.h | 18 struct ceph_crypto_key session_key; 29 struct ceph_crypto_key session_key; 38 struct ceph_crypto_key secret;
|
D | crypto.c | 15 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, in ceph_crypto_key_clone() 16 const struct ceph_crypto_key *src) in ceph_crypto_key_clone() 18 memcpy(dst, src, sizeof(struct ceph_crypto_key)); in ceph_crypto_key_clone() 25 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_encode() 37 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode() 55 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor() 423 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_decrypt() 443 int ceph_decrypt2(struct ceph_crypto_key *secret, in ceph_decrypt2() 476 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt() 496 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt2() [all …]
|
D | auth_x.c | 48 static int ceph_x_encrypt(struct ceph_crypto_key *secret, in ceph_x_encrypt() 66 static int ceph_x_decrypt(struct ceph_crypto_key *secret, in ceph_x_decrypt() 139 struct ceph_crypto_key *secret, in process_one_ticket() 151 struct ceph_crypto_key old_key; in process_one_ticket() 156 struct ceph_crypto_key new_session_key; in process_one_ticket() 256 struct ceph_crypto_key *secret, in ceph_x_proc_ticket_reply()
|
D | ceph_common.c | 293 static int get_secret(struct ceph_crypto_key *dst, const char *name) { in get_secret() 297 struct ceph_crypto_key *ckey; in get_secret()
|
D | auth.c | 38 struct ceph_auth_client *ceph_auth_init(const char *name, const struct ceph_crypto_key *key) in ceph_auth_init()
|
/linux-4.4.14/include/linux/ceph/ |
D | auth.h | 89 const struct ceph_crypto_key *key; /* our secret key */ 96 const struct ceph_crypto_key *key);
|
D | libceph.h | 62 struct ceph_crypto_key *key;
|