[PATCH 4.14 016/146] libceph: factor out encrypt_authorizer()