Searched refs:cofs (Results 1 – 4 of 4) sorted by relevance
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | esp_inb.c | 531 const uint32_t cofs = sa->ctp.cipher.offset; in tun_process() local 543 adj = hl[i] + cofs; in tun_process() 589 const uint32_t cofs = sa->ctp.cipher.offset; in trs_process() local 606 hl[i] + cofs, tl) == 0) { in trs_process() 609 np = trs_process_step2(mb[i], ml[i], hl[i], cofs, in trs_process() 741 cpu_crypto_bulk(ss, sa->cofs, mb, iv, aad, dgst, in cpu_inb_pkt_prepare()
|
| H A D | sa.c | 261 sa->cofs.ofs.cipher.tail = sa->sqh_len; in esp_inb_init() 265 sa->cofs.ofs.cipher.head = sa->ctp.cipher.offset - sa->ctp.auth.offset; in esp_inb_init() 326 sa->cofs.ofs.cipher.head = sa->ctp.cipher.offset - sa->ctp.auth.offset; in esp_outb_init() 327 sa->cofs.ofs.cipher.tail = (sa->ctp.auth.offset + sa->ctp.auth.length) - in esp_outb_init()
|
| H A D | sa.h | 92 union rte_crypto_sym_ofs cofs; member
|
| H A D | esp_outb.c | 506 cpu_crypto_bulk(ss, sa->cofs, mb, iv, aad, dgst, in cpu_outb_pkt_prepare()
|