Home
last modified time | relevance | path

Searched refs:esph (Results 1 – 6 of 6) sorted by relevance

/f-stack/freebsd/netipsec/
H A Dxform_esp.c263 const struct auth_hash *esph; in esp_input() local
297 esph = sav->tdb_authalgxform; in esp_input()
306 alen = xform_ah_authsize(esph); in esp_input()
364 if (esph != NULL) { in esp_input()
485 const struct auth_hash *esph; in esp_input_cb() local
501 esph = sav->tdb_authalgxform; in esp_input_cb()
534 if (esph != NULL) { in esp_input_cb()
678 const struct auth_hash *esph; in esp_output() local
694 esph = sav->tdb_authalgxform; in esp_output()
904 if (esph) { in esp_output()
[all …]
H A Dxform_ah.c117 xform_ah_authsize(const struct auth_hash *esph) in xform_ah_authsize() argument
121 if (esph == NULL) in xform_ah_authsize()
124 switch (esph->type) { in xform_ah_authsize()
128 alen = esph->hashsize / 2; /* RFC4868 2.3 */ in xform_ah_authsize()
132 alen = esph->hashsize; in xform_ah_authsize()
/f-stack/dpdk/lib/librte_ipsec/
H A Desp_outb.c114 struct rte_esp_hdr *esph; in outb_tun_pkt_prepare() local
120 hlen = sa->hdr_len + sa->iv_len + sizeof(*esph); in outb_tun_pkt_prepare()
163 iv = (uint64_t *)(esph + 1); in outb_tun_pkt_prepare()
166 esph->spi = sa->spi; in outb_tun_pkt_prepare()
167 esph->seq = sqn_low32(sqc); in outb_tun_pkt_prepare()
282 struct rte_esp_hdr *esph; in outb_trs_pkt_prepare() local
295 hlen = sa->iv_len + sizeof(*esph); in outb_trs_pkt_prepare()
329 esph = (struct rte_esp_hdr *)(ph + uhlen); in outb_trs_pkt_prepare()
330 iv = (uint64_t *)(esph + 1); in outb_trs_pkt_prepare()
333 esph->spi = sa->spi; in outb_trs_pkt_prepare()
[all …]
H A Dcrypto.h50 struct rte_esp_hdr esph; member
H A Desp_inb.c199 struct rte_esp_hdr *esph; in inb_get_sqn() local
201 esph = rte_pktmbuf_mtod_offset(mb, struct rte_esp_hdr *, hlen); in inb_get_sqn()
207 sqn = rte_be_to_cpu_32(esph->seq); in inb_get_sqn()
/f-stack/dpdk/app/test/
H A Dtest_ipsec.c581 struct rte_esp_hdr esph = { in setup_test_string_tunneled() local
610 rte_memcpy(dst, &esph, sizeof(esph)); in setup_test_string_tunneled()
611 dst += sizeof(esph); in setup_test_string_tunneled()