Lines Matching refs:enc_buf
508 void *enc_buf = xi->auth_authorizer.enc_buf; in ceph_x_build_request() local
509 struct ceph_x_challenge_blob *blob = enc_buf + in ceph_x_build_request()
524 ret = ceph_x_encrypt(&xi->secret, enc_buf, CEPHX_AU_ENC_BUF_LEN, in ceph_x_build_request()
531 for (u = (u64 *)enc_buf; u + 1 <= (u64 *)(enc_buf + ret); u++) in ceph_x_build_request()
761 auth->authorizer_reply_buf = au->enc_buf; in ceph_x_create_authorizer()
965 void *enc_buf = au->enc_buf; in calc_signature() local
975 } __packed *sigblock = enc_buf + ceph_x_encrypt_offset(); in calc_signature()
983 ret = ceph_x_encrypt(&au->session_key, enc_buf, in calc_signature()
988 *psig = *(__le64 *)(enc_buf + sizeof(u32)); in calc_signature()
999 } __packed *sigblock = enc_buf; in calc_signature()
1002 } __packed *penc = enc_buf; in calc_signature()
1015 ret = ceph_crypt(&au->session_key, true, enc_buf, in calc_signature()