Home
last modified time | relevance | path

Searched refs:cpt_req (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.c301 struct otx_cptvf_request *cpt_req = &req->req; in process_request() local
319 cpt_req->dlen = info->dlen; in process_request()
364 iq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request()
365 iq_cmd.cmd.s.param1 = cpu_to_be16(cpt_req->param1); in process_request()
366 iq_cmd.cmd.s.param2 = cpu_to_be16(cpt_req->param2); in process_request()
367 iq_cmd.cmd.s.dlen = cpu_to_be16(cpt_req->dlen); in process_request()
381 pr_debug("Dptr hexdump (%d bytes)\n", cpt_req->dlen); in process_request()
383 cpt_req->dlen, false); in process_request()
Dotx_cptvf_algs.c97 static inline int validate_hmac_cipher_null(struct otx_cpt_req_info *cpt_req) in validate_hmac_cipher_null() argument
103 req = container_of(cpt_req->areq, struct aead_request, base); in validate_hmac_cipher_null()
118 struct otx_cpt_req_info *cpt_req; in otx_cpt_aead_callback() local
124 cpt_req = cpt_info->req; in otx_cpt_aead_callback()
131 if (cpt_req->req_type == OTX_CPT_AEAD_ENC_DEC_NULL_REQ && in otx_cpt_aead_callback()
132 !cpt_req->is_enc) in otx_cpt_aead_callback()
133 status = validate_hmac_cipher_null(cpt_req); in otx_cpt_aead_callback()
158 req_info = &rctx->cpt_req; in output_iv_copyback()
236 struct otx_cpt_req_info *req_info = &rctx->cpt_req; in create_ctx_hdr()
306 struct otx_cpt_req_info *req_info = &rctx->cpt_req; in create_input_list()
[all …]
Dotx_cptvf_algs.h160 struct otx_cpt_req_info cpt_req; member
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c414 struct cptvf_request *cpt_req = NULL; in process_request() local
430 cpt_req = (struct cptvf_request *)&req->req; in process_request()
441 cpt_req->dlen = info->dlen; in process_request()
468 vq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request()
469 vq_cmd.cmd.s.param1 = cpu_to_be16(cpt_req->param1); in process_request()
470 vq_cmd.cmd.s.param2 = cpu_to_be16(cpt_req->param2); in process_request()
471 vq_cmd.cmd.s.dlen = cpu_to_be16(cpt_req->dlen); in process_request()
Dcptvf_algs.c103 struct cpt_request_info *req_info = &rctx->cpt_req; in create_ctx_hdr()
155 struct cpt_request_info *req_info = &rctx->cpt_req; in create_input_list()
177 struct cpt_request_info *req_info = &rctx->cpt_req; in create_output_list()
199 struct cpt_request_info *req_info = &rctx->cpt_req; in cvm_enc_dec()
Dcptvf_algs.h111 struct cpt_request_info cpt_req; member