Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_reqmgr.c234 struct otx2_cptvf_request *cpt_req = &req->req; in process_request() local
255 cpt_req->dlen = info->dlen; in process_request()
299 iq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request()
300 iq_cmd.cmd.s.param1 = cpu_to_be16(cpt_req->param1); in process_request()
301 iq_cmd.cmd.s.param2 = cpu_to_be16(cpt_req->param2); in process_request()
302 iq_cmd.cmd.s.dlen = cpu_to_be16(cpt_req->dlen); in process_request()
318 pr_debug("Dptr hexdump (%d bytes)\n", cpt_req->dlen); in process_request()
320 cpt_req->dlen, false); in process_request()
Dotx2_cptvf_algs.c82 static inline int validate_hmac_cipher_null(struct otx2_cpt_req_info *cpt_req) in validate_hmac_cipher_null() argument
88 req = container_of(cpt_req->areq, struct aead_request, base); in validate_hmac_cipher_null()
103 struct otx2_cpt_req_info *cpt_req; in otx2_cpt_aead_callback() local
107 cpt_req = inst_info->req; in otx2_cpt_aead_callback()
114 if (cpt_req->req_type == in otx2_cpt_aead_callback()
116 !cpt_req->is_enc) in otx2_cpt_aead_callback()
117 status = validate_hmac_cipher_null(cpt_req); in otx2_cpt_aead_callback()
141 req_info = &rctx->cpt_req; in output_iv_copyback()
224 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; in create_ctx_hdr()
292 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; in create_input_list()
[all …]
Dotx2_cptvf_algs.h146 struct otx2_cpt_req_info cpt_req; member
/Linux-v6.6/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.c98 static inline int validate_hmac_cipher_null(struct otx_cpt_req_info *cpt_req) in validate_hmac_cipher_null() argument
104 req = container_of(cpt_req->areq, struct aead_request, base); in validate_hmac_cipher_null()
119 struct otx_cpt_req_info *cpt_req; in otx_cpt_aead_callback() local
125 cpt_req = cpt_info->req; in otx_cpt_aead_callback()
132 if (cpt_req->req_type == OTX_CPT_AEAD_ENC_DEC_NULL_REQ && in otx_cpt_aead_callback()
133 !cpt_req->is_enc) in otx_cpt_aead_callback()
134 status = validate_hmac_cipher_null(cpt_req); in otx_cpt_aead_callback()
159 req_info = &rctx->cpt_req; in output_iv_copyback()
237 struct otx_cpt_req_info *req_info = &rctx->cpt_req; in create_ctx_hdr()
307 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
/Linux-v6.6/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c410 struct cptvf_request *cpt_req = NULL; in process_request() local
426 cpt_req = (struct cptvf_request *)&req->req; in process_request()
437 cpt_req->dlen = info->dlen; in process_request()
464 vq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request()
465 vq_cmd.cmd.s.param1 = cpu_to_be16(cpt_req->param1); in process_request()
466 vq_cmd.cmd.s.param2 = cpu_to_be16(cpt_req->param2); in process_request()
467 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