Home | History | Annotate | Download | only in qat

Lines Matching defs:auth_hdr

568     struct cryptoini *cria, struct fw_auth_hdr *auth_hdr, uint8_t *hw_blk_ptr,
592 auth_hdr->next_id = next_slice;
593 auth_hdr->curr_id = FW_SLICE_AUTH;
594 auth_hdr->offset = hw_blk_offset / 8;
595 auth_hdr->resrvd = 0;
597 auth_hdr->hash_flags = FW_AUTH_HDR_FLAG_NO_NESTED;
598 auth_hdr->u.inner_prefix_sz = 0;
599 auth_hdr->outer_prefix_sz = 0;
600 auth_hdr->final_sz = sah->auth_hash->authsize;
601 auth_hdr->inner_state1_sz =
603 auth_hdr->inner_res_sz = hash_def->qshd_alg->qshai_digest_len;
604 auth_hdr->inner_state2_sz =
606 auth_hdr->inner_state2_off = auth_hdr->offset +
607 ((sizeof(struct hw_auth_setup) + auth_hdr->inner_state1_sz) / 8);
609 hw_blk_size = sizeof(struct hw_auth_setup) + auth_hdr->inner_state1_sz +
610 auth_hdr->inner_state2_sz;
612 auth_hdr->outer_config_off = 0;
613 auth_hdr->outer_state1_sz = 0;
614 auth_hdr->outer_res_sz = 0;
615 auth_hdr->outer_prefix_off = 0;
618 state2 = state1 + auth_hdr->inner_state1_sz;
622 uint32_t state1_pad_len = auth_hdr->inner_state1_sz -
624 uint32_t state2_pad_len = auth_hdr->inner_state2_sz -
647 struct fw_auth_hdr *auth_hdr;
676 auth_hdr = (struct fw_auth_hdr *)(ctrl_blk_ptr +
680 cria, auth_hdr, hw_blk_ptr, hw_blk_offset,