Searched refs:ceph_crypto_key (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/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 23 extern int ceph_crypto_key_clone(struct ceph_crypto_key *dst, 24 const struct ceph_crypto_key *src); 25 extern int ceph_crypto_key_encode(struct ceph_crypto_key *key, 27 extern int ceph_crypto_key_decode(struct ceph_crypto_key *key, 29 extern int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *in); 32 extern int ceph_decrypt(struct ceph_crypto_key *secret, 35 extern int ceph_encrypt(struct ceph_crypto_key *secret, 38 extern int ceph_decrypt2(struct ceph_crypto_key *secret, [all …]
|
D | crypto.c | 14 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, in ceph_crypto_key_clone() 15 const struct ceph_crypto_key *src) in ceph_crypto_key_clone() 17 memcpy(dst, src, sizeof(struct ceph_crypto_key)); in ceph_crypto_key_clone() 24 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_encode() 36 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode() 54 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor() 331 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_decrypt() 351 int ceph_decrypt2(struct ceph_crypto_key *secret, in ceph_decrypt2() 384 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt() 404 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt2() [all …]
|
D | auth_x.h | 18 struct ceph_crypto_key session_key; 37 struct ceph_crypto_key secret;
|
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() 133 struct ceph_crypto_key *secret, in ceph_x_proc_ticket_reply() 167 struct ceph_crypto_key old_key; in ceph_x_proc_ticket_reply() 170 struct ceph_crypto_key new_session_key; in ceph_x_proc_ticket_reply()
|
D | ceph_common.c | 242 static int get_secret(struct ceph_crypto_key *dst, const char *name) { in get_secret() 246 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-3.4.99/include/linux/ceph/ |
D | auth.h | 79 const struct ceph_crypto_key *key; /* our secret key */ 86 const struct ceph_crypto_key *key);
|
D | libceph.h | 64 struct ceph_crypto_key *key;
|