Home
last modified time | relevance | path

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

/linux-4.4.14/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
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 …]
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()
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 …]
Dauth_x.c48 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()
Dceph_common.c293 static int get_secret(struct ceph_crypto_key *dst, const char *name) { in get_secret()
297 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.4.14/include/linux/ceph/
Dauth.h89 const struct ceph_crypto_key *key; /* our secret key */
96 const struct ceph_crypto_key *key);
Dlibceph.h62 struct ceph_crypto_key *key;