Searched refs:cpt_req (Results 1 – 9 of 9) sorted by relevance
234 struct otx2_cptvf_request *cpt_req = &req->req; in process_request() local255 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()
82 static inline int validate_hmac_cipher_null(struct otx2_cpt_req_info *cpt_req) in validate_hmac_cipher_null() argument88 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() local107 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 …]
146 struct otx2_cpt_req_info cpt_req; member
301 struct otx_cptvf_request *cpt_req = &req->req; in process_request() local319 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()
98 static inline int validate_hmac_cipher_null(struct otx_cpt_req_info *cpt_req) in validate_hmac_cipher_null() argument104 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() local125 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 …]
160 struct otx_cpt_req_info cpt_req; member
410 struct cptvf_request *cpt_req = NULL; in process_request() local426 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()
103 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()
111 struct cpt_request_info cpt_req; member