Lines Matching refs:session_key
151 ceph_crypto_key_destroy(&th->session_key); in remove_ticket_handler()
220 ret = ceph_x_decrypt(&th->session_key, p, end); in process_one_ticket()
244 ceph_crypto_key_destroy(&th->session_key); in process_one_ticket()
247 th->session_key = new_session_key; in process_one_ticket()
324 ret = ceph_x_encrypt(&au->session_key, p, end - p, sizeof(*msg_b)); in encrypt_authorizer()
341 ceph_crypto_key_destroy(&au->session_key); in ceph_x_authorizer_cleanup()
362 ceph_crypto_key_destroy(&au->session_key); in ceph_x_build_authorizer()
363 ret = ceph_crypto_key_clone(&au->session_key, &th->session_key); in ceph_x_build_authorizer()
604 ret = ceph_x_proc_ticket_reply(ac, &th->session_key, in ceph_x_handle_reply()
691 ret = __ceph_x_decrypt(&au->session_key, challenge_buf, in decrypt_authorize_challenge()
737 ret = ceph_x_decrypt(&au->session_key, &p, p + CEPHX_AU_ENC_BUF_LEN); in ceph_x_verify_authorizer_reply()
826 ret = ceph_x_encrypt(&au->session_key, enc_buf, in calc_signature()
858 ret = ceph_crypt(&au->session_key, true, enc_buf, in calc_signature()