Home
last modified time | relevance | path

Searched refs:qat_req (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dqat_comp_algs.c29 int (*qat_comp_callback)(struct qat_compression_req *qat_req, void *resp);
49 static int qat_alg_send_dc_message(struct qat_compression_req *qat_req, in qat_alg_send_dc_message() argument
53 struct qat_alg_req *alg_req = &qat_req->alg_req; in qat_alg_send_dc_message()
55 alg_req->fw_req = (u32 *)&qat_req->req; in qat_alg_send_dc_message()
65 struct qat_compression_req *qat_req = in qat_comp_resubmit() local
67 struct qat_compression_ctx *ctx = qat_req->qat_compression_ctx; in qat_comp_resubmit()
69 struct qat_request_buffs *qat_bufs = &qat_req->buf; in qat_comp_resubmit()
71 struct acomp_req *areq = qat_req->acompress_req; in qat_comp_resubmit()
74 u8 *req = qat_req->req; in qat_comp_resubmit()
82 qat_req->dir == COMPRESSION ? "comp" : "decomp", dlen); in qat_comp_resubmit()
[all …]
Dqat_asym_algs.c144 static int qat_alg_send_asym_message(struct qat_asym_request *qat_req, in qat_alg_send_asym_message() argument
148 struct qat_alg_req *alg_req = &qat_req->alg_req; in qat_alg_send_asym_message()
150 alg_req->fw_req = (u32 *)&qat_req->req; in qat_alg_send_asym_message()
225 struct qat_asym_request *qat_req = in qat_dh_compute_value() local
227 struct icp_qat_fw_pke_request *msg = &qat_req->req; in qat_dh_compute_value()
253 qat_req->cb = qat_dh_cb; in qat_dh_compute_value()
254 qat_req->ctx.dh = ctx; in qat_dh_compute_value()
255 qat_req->areq.dh = req; in qat_dh_compute_value()
265 qat_req->in.dh.in.xa = ctx->dma_xa; in qat_dh_compute_value()
266 qat_req->in.dh.in.p = ctx->dma_p; in qat_dh_compute_value()
[all …]
Dqat_algs.c667 struct qat_crypto_request *qat_req) in qat_aead_alg_callback() argument
669 struct qat_alg_aead_ctx *ctx = qat_req->aead_ctx; in qat_aead_alg_callback()
671 struct aead_request *areq = qat_req->aead_req; in qat_aead_alg_callback()
675 qat_bl_free_bufl(inst->accel_dev, &qat_req->buf); in qat_aead_alg_callback()
681 static void qat_alg_update_iv_ctr_mode(struct qat_crypto_request *qat_req) in qat_alg_update_iv_ctr_mode() argument
683 struct skcipher_request *sreq = qat_req->skcipher_req; in qat_alg_update_iv_ctr_mode()
688 memcpy(qat_req->iv, sreq->iv, AES_BLOCK_SIZE); in qat_alg_update_iv_ctr_mode()
690 iv_lo = be64_to_cpu(qat_req->iv_lo); in qat_alg_update_iv_ctr_mode()
691 iv_hi = be64_to_cpu(qat_req->iv_hi); in qat_alg_update_iv_ctr_mode()
698 qat_req->iv_lo = cpu_to_be64(iv_lo); in qat_alg_update_iv_ctr_mode()
[all …]