Lines Matching refs:auth_hdr
565 struct qat_session *qs, struct fw_auth_hdr *auth_hdr,
573 auth_hdr->next_id = next_slice;
574 auth_hdr->curr_id = FW_SLICE_AUTH;
575 auth_hdr->offset = hw_blk_offset / 8;
576 auth_hdr->resrvd = 0;
578 auth_hdr->hash_flags = FW_AUTH_HDR_FLAG_NO_NESTED;
579 auth_hdr->u.inner_prefix_sz = 0;
580 auth_hdr->outer_prefix_sz = 0;
581 auth_hdr->final_sz = hash_def->qshd_alg->qshai_digest_len;
582 auth_hdr->inner_state1_sz =
584 auth_hdr->inner_res_sz = hash_def->qshd_alg->qshai_digest_len;
585 auth_hdr->inner_state2_sz =
587 auth_hdr->inner_state2_off = auth_hdr->offset +
588 ((sizeof(struct hw_auth_setup) + auth_hdr->inner_state1_sz) / 8);
590 auth_hdr->outer_config_off = 0;
591 auth_hdr->outer_state1_sz = 0;
592 auth_hdr->outer_res_sz = 0;
593 auth_hdr->outer_prefix_off = 0;
599 sizeof(struct hw_auth_setup) + auth_hdr->inner_state1_sz +
604 return sizeof(struct hw_auth_setup) + auth_hdr->inner_state1_sz +
605 auth_hdr->inner_state2_sz;
679 struct fw_auth_hdr *auth_hdr;
719 auth_hdr = (struct fw_auth_hdr *)(ctrl_blk_ptr +
725 qs, auth_hdr, ctrl_blk_offset, hw_blk_offset,