Blame view
net/ceph/auth_x.h
905 Bytes
ec0994e48 ceph: add support... |
1 2 3 4 |
#ifndef _FS_CEPH_AUTH_X_H #define _FS_CEPH_AUTH_X_H #include <linux/rbtree.h> |
3d14c5d2b ceph: factor out ... |
5 |
#include <linux/ceph/auth.h> |
ec0994e48 ceph: add support... |
6 |
#include "crypto.h" |
ec0994e48 ceph: add support... |
7 8 9 10 11 12 13 |
#include "auth_x_protocol.h" /* * Handle ticket for a single service. */ struct ceph_x_ticket_handler { struct rb_node node; |
95c961747 net: cleanup unsi... |
14 |
unsigned int service; |
ec0994e48 ceph: add support... |
15 16 17 18 19 20 21 22 23 24 25 26 |
struct ceph_crypto_key session_key; struct ceph_timespec validity; u64 secret_id; struct ceph_buffer *ticket_blob; unsigned long renew_after, expires; }; struct ceph_x_authorizer { |
ae385eaf2 libceph: store se... |
27 |
struct ceph_crypto_key session_key; |
ec0994e48 ceph: add support... |
28 |
struct ceph_buffer *buf; |
95c961747 net: cleanup unsi... |
29 |
unsigned int service; |
ec0994e48 ceph: add support... |
30 |
u64 nonce; |
0bed9b5c5 libceph: add upda... |
31 |
u64 secret_id; |
ec0994e48 ceph: add support... |
32 33 34 35 36 37 38 39 |
char reply_buf[128]; /* big enough for encrypted blob */ }; struct ceph_x_info { struct ceph_crypto_key secret; bool starting; u64 server_challenge; |
95c961747 net: cleanup unsi... |
40 |
unsigned int have_keys; |
ec0994e48 ceph: add support... |
41 42 43 44 |
struct rb_root ticket_handlers; struct ceph_x_authorizer auth_authorizer; }; |
348662a14 net: 8021q/blueto... |
45 |
int ceph_x_init(struct ceph_auth_client *ac); |
ec0994e48 ceph: add support... |
46 47 |
#endif |