]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
auth/cephx/CephxSessionHandler: implement CEPHX_V2 calculation mode
authorSage Weil <sage@redhat.com>
Thu, 24 May 2018 19:42:48 +0000 (14:42 -0500)
committerSage Weil <sage@redhat.com>
Thu, 24 May 2018 19:42:48 +0000 (14:42 -0500)
commita2b04cc337a6f6f7b7a8b02bf31a8f3448670645
treee95918110edb25d03ec2f56fd9e30f1838a36d2e
parent52318ad035d2e1698b021e85a34d9d98c4bc078c
auth/cephx/CephxSessionHandler: implement CEPHX_V2 calculation mode

Derive the signature from the entire buffer (both cipher blocks).

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 8f396cf35a3826044b089141667a196454c0a587)

# Conflicts:
# src/auth/cephx/CephxSessionHandler.cc

- master and mimic use no_bl crypto interface, which doesn't exist here,
so fall back to using bufferlist-based calls into encrypt().
src/auth/cephx/CephxSessionHandler.cc