Searched refs:icv_len (Results 1 – 6 of 6) sorted by relevance
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | crypto.h | 133 insert_sqh(uint32_t sqh, void *picv, uint32_t icv_len) in insert_sqh() argument 138 RTE_ASSERT(icv_len % sizeof(uint32_t) == 0); in insert_sqh() 141 icv_len = icv_len / sizeof(uint32_t); in insert_sqh() 142 for (i = icv_len; i-- != 0; icv[i] = icv[i - 1]) in insert_sqh() 153 remove_sqh(void *picv, uint32_t icv_len) in remove_sqh() argument 157 RTE_ASSERT(icv_len % sizeof(uint32_t) == 0); in remove_sqh() 160 icv_len = icv_len / sizeof(uint32_t); in remove_sqh() 161 for (i = 0; i != icv_len; i++) in remove_sqh()
|
| H A D | esp_inb.c | 52 sop->aead.aad.data = icv->va + sa->icv_len; in sop_aead_prepare() 53 sop->aead.aad.phys_addr = icv->pa + sa->icv_len; in sop_aead_prepare() 181 insert_sqh(sqn_hi32(sqc), icv->va, sa->icv_len); in inb_pkt_xprepare() 188 aad = (struct aead_gcm_aad *)(icv->va + sa->icv_len); in inb_pkt_xprepare() 223 uint32_t clen, icv_len, icv_ofs, plen; in inb_prepare() local 236 icv_len = sa->icv_len; in inb_prepare() 237 icv_ofs = mb->pkt_len - icv_len; in inb_prepare() 245 if (ml->data_len < icv_ofs + icv_len) { in inb_prepare() 530 const uint32_t tlen = sa->icv_len + sizeof(espt[0]) + sqh_len; in tun_process() 588 const uint32_t tlen = sa->icv_len + sizeof(espt[0]) + sqh_len; in trs_process() [all …]
|
| H A D | esp_outb.c | 52 sop->aead.aad.data = icv->va + sa->icv_len; in sop_aead_prepare() 53 sop->aead.aad.phys_addr = icv->pa + sa->icv_len; in sop_aead_prepare() 132 tlen = pdlen + sa->icv_len + sqh_len; in outb_tun_pkt_prepare() 212 aad = (struct aead_gcm_aad *)(icv->va + sa->icv_len); in outb_pkt_xprepare() 303 tlen = pdlen + sa->icv_len + sqh_len; in outb_trs_pkt_prepare() 492 aad[k].va = icv.va + sa->icv_len; in cpu_outb_pkt_prepare() 536 uint32_t i, k, icv_len, *icv; in esp_outb_sqh_process() local 544 icv_len = sa->icv_len; in esp_outb_sqh_process() 553 ml->data_len - icv_len); in esp_outb_sqh_process() 554 remove_sqh(icv, icv_len); in esp_outb_sqh_process()
|
| H A D | sa.c | 247 sa->ctp.cipher.length = sa->icv_len + sa->ctp.cipher.offset; in esp_inb_init() 260 sa->ctp.auth.length = sa->icv_len - sa->sqh_len; in esp_inb_init() 371 sa->icv_len = cxf->aead->digest_length; in esp_sa_init() 381 sa->icv_len = cxf->auth->digest_length; in esp_sa_init()
|
| H A D | sa.h | 104 uint8_t icv_len; member
|
| /f-stack/dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_dpseci.c | 300 int icv_len = sess->digest_length; in build_authenc_gcm_sg_fd() local 368 sge->length -= icv_len; in build_authenc_gcm_sg_fd() 374 sge->length = icv_len; in build_authenc_gcm_sg_fd() 388 icv_len); in build_authenc_gcm_sg_fd() 422 sge->length = icv_len; in build_authenc_gcm_sg_fd() 660 sge->length -= icv_len; in build_authenc_sg_fd() 666 sge->length = icv_len; in build_authenc_sg_fd() 680 icv_len); in build_authenc_sg_fd() 701 sge->length -= icv_len; in build_authenc_sg_fd() 707 icv_len); in build_authenc_sg_fd() [all …]
|