Lines Matching refs:sec_cpl
844 chcr_req->sec_cpl.op_ivinsrtofst = in create_cipher_wr()
847 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes); in create_cipher_wr()
848 chcr_req->sec_cpl.aadstart_cipherstop_hi = in create_cipher_wr()
851 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_cipher_wr()
853 chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, 0, in create_cipher_wr()
856 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 0, in create_cipher_wr()
1601 chcr_req->sec_cpl.op_ivinsrtofst = in create_hash_wr()
1604 chcr_req->sec_cpl.pldlen = htonl(param->bfr_len + param->sg_len); in create_hash_wr()
1606 chcr_req->sec_cpl.aadstart_cipherstop_hi = in create_hash_wr()
1608 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_hash_wr()
1610 chcr_req->sec_cpl.seqno_numivs = in create_hash_wr()
1614 chcr_req->sec_cpl.ivgen_hdrlen = in create_hash_wr()
1631 chcr_req->sec_cpl.scmd1 = cpu_to_be64((u64)param->scmd1); in create_hash_wr()
2514 chcr_req->sec_cpl.op_ivinsrtofst = in create_authenc_wr()
2516 chcr_req->sec_cpl.pldlen = htonl(req->assoclen + IV + req->cryptlen); in create_authenc_wr()
2517 chcr_req->sec_cpl.aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in create_authenc_wr()
2522 chcr_req->sec_cpl.cipherstop_lo_authinsert = FILL_SEC_CPL_AUTHINSERT( in create_authenc_wr()
2531 chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, in create_authenc_wr()
2536 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, in create_authenc_wr()
2963 static void fill_sec_cpl_for_aead(struct cpl_tx_sec_pdu *sec_cpl, in fill_sec_cpl_for_aead() argument
2998 sec_cpl->op_ivinsrtofst = FILL_SEC_CPL_OP_IVINSR(rx_channel_id, 2, 1); in fill_sec_cpl_for_aead()
2999 sec_cpl->pldlen = in fill_sec_cpl_for_aead()
3002 sec_cpl->aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in fill_sec_cpl_for_aead()
3006 sec_cpl->cipherstop_lo_authinsert = FILL_SEC_CPL_AUTHINSERT(0, in fill_sec_cpl_for_aead()
3010 sec_cpl->seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(op_type, in fill_sec_cpl_for_aead()
3015 sec_cpl->ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, 0, in fill_sec_cpl_for_aead()
3104 fill_sec_cpl_for_aead(&chcr_req->sec_cpl, dst_size, req, reqctx->op); in create_aead_ccm_wr()
3199 chcr_req->sec_cpl.op_ivinsrtofst = FILL_SEC_CPL_OP_IVINSR( in create_gcm_wr()
3201 chcr_req->sec_cpl.pldlen = in create_gcm_wr()
3203 chcr_req->sec_cpl.aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in create_gcm_wr()
3207 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_gcm_wr()
3210 chcr_req->sec_cpl.seqno_numivs = in create_gcm_wr()
3216 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, in create_gcm_wr()