Lines Matching refs:sec_cpl
775 chcr_req->sec_cpl.op_ivinsrtofst = in create_cipher_wr()
778 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes); in create_cipher_wr()
779 chcr_req->sec_cpl.aadstart_cipherstop_hi = in create_cipher_wr()
782 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_cipher_wr()
784 chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, 0, in create_cipher_wr()
787 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 0, in create_cipher_wr()
1500 chcr_req->sec_cpl.op_ivinsrtofst = in create_hash_wr()
1502 chcr_req->sec_cpl.pldlen = htonl(param->bfr_len + param->sg_len); in create_hash_wr()
1504 chcr_req->sec_cpl.aadstart_cipherstop_hi = in create_hash_wr()
1506 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_hash_wr()
1508 chcr_req->sec_cpl.seqno_numivs = in create_hash_wr()
1512 chcr_req->sec_cpl.ivgen_hdrlen = in create_hash_wr()
1529 chcr_req->sec_cpl.scmd1 = cpu_to_be64((u64)param->scmd1); in create_hash_wr()
2333 chcr_req->sec_cpl.op_ivinsrtofst = in create_authenc_wr()
2336 chcr_req->sec_cpl.pldlen = htonl(assoclen + IV + req->cryptlen); in create_authenc_wr()
2337 chcr_req->sec_cpl.aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in create_authenc_wr()
2341 chcr_req->sec_cpl.cipherstop_lo_authinsert = FILL_SEC_CPL_AUTHINSERT( in create_authenc_wr()
2350 chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, in create_authenc_wr()
2355 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, in create_authenc_wr()
2756 static void fill_sec_cpl_for_aead(struct cpl_tx_sec_pdu *sec_cpl, in fill_sec_cpl_for_aead() argument
2787 sec_cpl->op_ivinsrtofst = FILL_SEC_CPL_OP_IVINSR(c_id, in fill_sec_cpl_for_aead()
2789 sec_cpl->pldlen = in fill_sec_cpl_for_aead()
2792 sec_cpl->aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in fill_sec_cpl_for_aead()
2796 sec_cpl->cipherstop_lo_authinsert = FILL_SEC_CPL_AUTHINSERT(0, in fill_sec_cpl_for_aead()
2800 sec_cpl->seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(op_type, in fill_sec_cpl_for_aead()
2805 sec_cpl->ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, 0, in fill_sec_cpl_for_aead()
2892 fill_sec_cpl_for_aead(&chcr_req->sec_cpl, dst_size, req, reqctx->op); in create_aead_ccm_wr()
2981 chcr_req->sec_cpl.op_ivinsrtofst = FILL_SEC_CPL_OP_IVINSR( in create_gcm_wr()
2984 chcr_req->sec_cpl.pldlen = in create_gcm_wr()
2986 chcr_req->sec_cpl.aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in create_gcm_wr()
2989 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_gcm_wr()
2992 chcr_req->sec_cpl.seqno_numivs = in create_gcm_wr()
2998 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, in create_gcm_wr()