Home
last modified time | relevance | path

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

/linux-4.1.27/net/ceph/
Dcrypto.h10 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 int ceph_crypto_key_clone(struct ceph_crypto_key *dst,
24 const struct ceph_crypto_key *src);
25 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end);
26 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end);
27 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *in);
30 int ceph_decrypt(struct ceph_crypto_key *secret,
33 int ceph_encrypt(struct ceph_crypto_key *secret,
36 int ceph_decrypt2(struct ceph_crypto_key *secret,
[all …]
Dauth_x.h18 struct ceph_crypto_key session_key;
29 struct ceph_crypto_key session_key;
38 struct ceph_crypto_key secret;
Dcrypto.c15 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()
427 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_decrypt()
447 int ceph_decrypt2(struct ceph_crypto_key *secret, in ceph_decrypt2()
480 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt()
500 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, in ceph_encrypt2()
[all …]
Dauth_x.c47 static int ceph_x_encrypt(struct ceph_crypto_key *secret, in ceph_x_encrypt()
65 static int ceph_x_decrypt(struct ceph_crypto_key *secret, in ceph_x_decrypt()
138 struct ceph_crypto_key *secret, in process_one_ticket()
150 struct ceph_crypto_key old_key; in process_one_ticket()
155 struct ceph_crypto_key new_session_key; in process_one_ticket()
255 struct ceph_crypto_key *secret, in ceph_x_proc_ticket_reply()
Dceph_common.c283 static int get_secret(struct ceph_crypto_key *dst, const char *name) { in get_secret()
287 struct ceph_crypto_key *ckey; in get_secret()
Dauth.c38 struct ceph_auth_client *ceph_auth_init(const char *name, const struct ceph_crypto_key *key) in ceph_auth_init()
/linux-4.1.27/include/linux/ceph/
Dauth.h89 const struct ceph_crypto_key *key; /* our secret key */
96 const struct ceph_crypto_key *key);
Dlibceph.h60 struct ceph_crypto_key *key;