Lines Matching refs:enc_buf
504 void *enc_buf = xi->auth_authorizer.enc_buf; in ceph_x_build_request() local
505 struct ceph_x_challenge_blob *blob = enc_buf + in ceph_x_build_request()
519 ret = ceph_x_encrypt(&xi->secret, enc_buf, CEPHX_AU_ENC_BUF_LEN, in ceph_x_build_request()
526 for (u = (u64 *)enc_buf; u + 1 <= (u64 *)(enc_buf + ret); u++) in ceph_x_build_request()
653 auth->authorizer_reply_buf = au->enc_buf; in ceph_x_create_authorizer()
733 void *p = au->enc_buf; in ceph_x_verify_authorizer_reply()
808 void *enc_buf = au->enc_buf; in calc_signature() local
818 } __packed *sigblock = enc_buf + ceph_x_encrypt_offset(); in calc_signature()
826 ret = ceph_x_encrypt(&au->session_key, enc_buf, in calc_signature()
831 *psig = *(__le64 *)(enc_buf + sizeof(u32)); in calc_signature()
842 } __packed *sigblock = enc_buf; in calc_signature()
845 } __packed *penc = enc_buf; in calc_signature()
858 ret = ceph_crypt(&au->session_key, true, enc_buf, in calc_signature()