summaryrefslogtreecommitdiffstats
path: root/net/ceph/auth_x.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2014-11-04 16:32:35 +0800
committerIlya Dryomov <idryomov@redhat.com>2014-12-17 20:09:50 +0300
commitae385eaf24dc39c1703049112e4265b9f93b7d86 (patch)
tree2efff0dab643f262fad1e63e32db2ffcb779bf53 /net/ceph/auth_x.h
parente96a650a8174e20112b400e72e0b2429aa66de20 (diff)
downloadlinux-ae385eaf24dc39c1703049112e4265b9f93b7d86.tar.gz
linux-ae385eaf24dc39c1703049112e4265b9f93b7d86.tar.bz2
linux-ae385eaf24dc39c1703049112e4265b9f93b7d86.zip
libceph: store session key in cephx authorizer
Session key is required when calculating message signature. Save the session key in authorizer, this avoid lookup ticket handler for each message Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'net/ceph/auth_x.h')
-rw-r--r--net/ceph/auth_x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ceph/auth_x.h b/net/ceph/auth_x.h
index 65ee72082d99..e8b7c6917d47 100644
--- a/net/ceph/auth_x.h
+++ b/net/ceph/auth_x.h
@@ -26,6 +26,7 @@ struct ceph_x_ticket_handler {
struct ceph_x_authorizer {
+ struct ceph_crypto_key session_key;
struct ceph_buffer *buf;
unsigned int service;
u64 nonce;