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()
2508 chcr_req->sec_cpl.op_ivinsrtofst = in create_authenc_wr()
2510 chcr_req->sec_cpl.pldlen = htonl(req->assoclen + IV + req->cryptlen); in create_authenc_wr()
2511 chcr_req->sec_cpl.aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in create_authenc_wr()
2516 chcr_req->sec_cpl.cipherstop_lo_authinsert = FILL_SEC_CPL_AUTHINSERT( in create_authenc_wr()
2525 chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, in create_authenc_wr()
2530 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, in create_authenc_wr()
2957 static void fill_sec_cpl_for_aead(struct cpl_tx_sec_pdu *sec_cpl, in fill_sec_cpl_for_aead() argument
2992 sec_cpl->op_ivinsrtofst = FILL_SEC_CPL_OP_IVINSR(rx_channel_id, 2, 1); in fill_sec_cpl_for_aead()
2993 sec_cpl->pldlen = in fill_sec_cpl_for_aead()
2996 sec_cpl->aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in fill_sec_cpl_for_aead()
3000 sec_cpl->cipherstop_lo_authinsert = FILL_SEC_CPL_AUTHINSERT(0, in fill_sec_cpl_for_aead()
3004 sec_cpl->seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(op_type, in fill_sec_cpl_for_aead()
3009 sec_cpl->ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, 0, in fill_sec_cpl_for_aead()
3098 fill_sec_cpl_for_aead(&chcr_req->sec_cpl, dst_size, req, reqctx->op); in create_aead_ccm_wr()
3193 chcr_req->sec_cpl.op_ivinsrtofst = FILL_SEC_CPL_OP_IVINSR( in create_gcm_wr()
3195 chcr_req->sec_cpl.pldlen = in create_gcm_wr()
3197 chcr_req->sec_cpl.aadstart_cipherstop_hi = FILL_SEC_CPL_CIPHERSTOP_HI( in create_gcm_wr()
3201 chcr_req->sec_cpl.cipherstop_lo_authinsert = in create_gcm_wr()
3204 chcr_req->sec_cpl.seqno_numivs = in create_gcm_wr()
3210 chcr_req->sec_cpl.ivgen_hdrlen = FILL_SEC_CPL_IVGEN_HDRLEN(0, 0, 1, in create_gcm_wr()