libceph: factor out encrypt_authorizer()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 27 Jul 2018 14:37:54 +0000 (16:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 18:41:10 +0000 (19:41 +0100)
commita55056e1523990e1ef9d70531ffaf27fd1ddff55
tree5de8d94634d86c470b5094ef4f6ca90d91bce09b
parent0858417b5c2e7bcc0b9e52c4b76e2af3d69e138b
libceph: factor out encrypt_authorizer()

commit 149cac4a50b0b4081b38b2f38de6ef71c27eaa85 upstream.

Will be used for encrypting both the initial and updated authorizers.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ceph/auth_x.c