Lines Matching refs:wrparam

798 static struct sk_buff *create_cipher_wr(struct cipher_wr_param *wrparam)  in create_cipher_wr()  argument
800 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req); in create_cipher_wr()
809 skcipher_request_ctx(wrparam->req); in create_cipher_wr()
814 gfp_t flags = wrparam->req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP ? in create_cipher_wr()
820 nents = sg_nents_xlen(reqctx->dstsg, wrparam->bytes, CHCR_DST_SG_SIZE, in create_cipher_wr()
825 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes, in create_cipher_wr()
827 temp = reqctx->imm ? roundup(wrparam->bytes, 16) : in create_cipher_wr()
840 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes); in create_cipher_wr()
876 chcr_add_cipher_src_ent(wrparam->req, ulptx, wrparam); in create_cipher_wr()
877 chcr_add_cipher_dst_ent(wrparam->req, phys_cpl, wrparam, wrparam->qid); in create_cipher_wr()
881 + (reqctx->imm ? (wrparam->bytes) : 0); in create_cipher_wr()
882 create_wreq(c_ctx(tfm), chcr_req, &(wrparam->req->base), reqctx->imm, 0, in create_cipher_wr()
889 sg_pcopy_to_buffer(wrparam->req->src, in create_cipher_wr()
890 sg_nents(wrparam->req->src), wrparam->req->iv, 16, in create_cipher_wr()
891 reqctx->processed + wrparam->bytes - AES_BLOCK_SIZE); in create_cipher_wr()
1167 struct cipher_wr_param wrparam; in chcr_handle_cipher_resp() local
1209 wrparam.qid = u_ctx->lldi.rxq_ids[reqctx->rxqidx]; in chcr_handle_cipher_resp()
1210 wrparam.req = req; in chcr_handle_cipher_resp()
1211 wrparam.bytes = bytes; in chcr_handle_cipher_resp()
1212 skb = create_cipher_wr(&wrparam); in chcr_handle_cipher_resp()
1252 struct cipher_wr_param wrparam; in process_cipher() local
1343 wrparam.qid = qid; in process_cipher()
1344 wrparam.req = req; in process_cipher()
1345 wrparam.bytes = bytes; in process_cipher()
1346 *skb = create_cipher_wr(&wrparam); in process_cipher()
2727 struct cipher_wr_param *wrparam) in chcr_add_cipher_src_ent() argument
2737 buf, wrparam->bytes, reqctx->processed); in chcr_add_cipher_src_ent()
2740 ulptx_walk_add_sg(&ulp_walk, reqctx->srcsg, wrparam->bytes, in chcr_add_cipher_src_ent()
2750 struct cipher_wr_param *wrparam, in chcr_add_cipher_dst_ent() argument
2754 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req); in chcr_add_cipher_dst_ent()
2762 dsgl_walk_add_sg(&dsgl_walk, reqctx->dstsg, wrparam->bytes, in chcr_add_cipher_dst_ent()