Lines Matching refs:sec_cpl
837 chcr_req->sec_cpl.op_ivinsrtofst = in create_cipher_wr()
840 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes); in create_cipher_wr()
841 chcr_req->sec_cpl.aadstart_cipherstop_hi = in create_cipher_wr()
844 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_cipher_wr()
846 chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, 0, in create_cipher_wr()
849 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 0, in create_cipher_wr()
1595 chcr_req->sec_cpl.op_ivinsrtofst = in create_hash_wr()
1598 chcr_req->sec_cpl.pldlen = htonl(param->bfr_len + param->sg_len); in create_hash_wr()
1600 chcr_req->sec_cpl.aadstart_cipherstop_hi = in create_hash_wr()
1602 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_hash_wr()
1604 chcr_req->sec_cpl.seqno_numivs = in create_hash_wr()
1608 chcr_req->sec_cpl.ivgen_hdrlen = in create_hash_wr()
1625 chcr_req->sec_cpl.scmd1 = cpu_to_be64((u64)param->scmd1); in create_hash_wr()
2509 chcr_req->sec_cpl.op_ivinsrtofst = in create_authenc_wr()
2511 chcr_req->sec_cpl.pldlen = htonl(req->assoclen + IV + req->cryptlen); in create_authenc_wr()
2512 chcr_req->sec_cpl.aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in create_authenc_wr()
2517 chcr_req->sec_cpl.cipherstop_lo_authinsert = FILL_SEC_CPL_AUTHINSERT( in create_authenc_wr()
2526 chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, in create_authenc_wr()
2531 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, in create_authenc_wr()
2958 static void fill_sec_cpl_for_aead(struct cpl_tx_sec_pdu *sec_cpl, in fill_sec_cpl_for_aead() argument
2993 sec_cpl->op_ivinsrtofst = FILL_SEC_CPL_OP_IVINSR(rx_channel_id, 2, 1); in fill_sec_cpl_for_aead()
2994 sec_cpl->pldlen = in fill_sec_cpl_for_aead()
2997 sec_cpl->aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in fill_sec_cpl_for_aead()
3001 sec_cpl->cipherstop_lo_authinsert = FILL_SEC_CPL_AUTHINSERT(0, in fill_sec_cpl_for_aead()
3005 sec_cpl->seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(op_type, in fill_sec_cpl_for_aead()
3010 sec_cpl->ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, 0, in fill_sec_cpl_for_aead()
3099 fill_sec_cpl_for_aead(&chcr_req->sec_cpl, dst_size, req, reqctx->op); in create_aead_ccm_wr()
3194 chcr_req->sec_cpl.op_ivinsrtofst = FILL_SEC_CPL_OP_IVINSR( in create_gcm_wr()
3196 chcr_req->sec_cpl.pldlen = in create_gcm_wr()
3198 chcr_req->sec_cpl.aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in create_gcm_wr()
3202 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_gcm_wr()
3205 chcr_req->sec_cpl.seqno_numivs = in create_gcm_wr()
3211 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, in create_gcm_wr()