| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_ipsec_pxy.c | 145 ipsec_pxy_t *ipsec; local 174 if (ipsec == NULL) 179 KFREE(ipsec); 185 bzero((char *)ipsec, sizeof(*ipsec)); 242 if ((ipsec->ipsc_rcookie[0]|ipsec->ipsc_rcookie[1]) != 0) 246 ipsec->ipsc_nat = ipf_nat_add(&fi, ipn, &ipsec->ipsc_nat, 277 ipsec_pxy_t *ipsec; local 294 if ((ipsec->ipsc_nat == NULL) || (ipsec->ipsc_state == NULL)) { 317 ipsec->ipsc_nat = ipf_nat_add(&fi, ipsec->ipsc_rule, 364 ipsec_pxy_t *ipsec; local [all …]
|
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_cryptodev_sec.c | 44 if (ipsec->options.udp_encap) in ipsec_lp_len_precalc() 216 lp = &sess->ipsec.lp; in crypto_sec_ipsec_outb_session_create() 231 lp->tunnel_type = ipsec->tunnel.type; in crypto_sec_ipsec_outb_session_create() 243 if (ipsec->options.udp_encap) { in crypto_sec_ipsec_outb_session_create() 258 if (ipsec->tunnel.ipv4.df) in crypto_sec_ipsec_outb_session_create() 264 } else if (ipsec->tunnel.type == in crypto_sec_ipsec_outb_session_create() 268 ((ipsec->tunnel.ipv6.dscp << in crypto_sec_ipsec_outb_session_create() 271 ((ipsec->tunnel.ipv6.flabel << in crypto_sec_ipsec_outb_session_create() 275 ip6->proto = (ipsec->proto == in crypto_sec_ipsec_outb_session_create() 354 lp = &sess->ipsec.lp; in crypto_sec_ipsec_inb_session_create() [all …]
|
| H A D | otx2_ipsec_po.h | 261 return ipsec_po_xform_aead_verify(ipsec, xform); in ipsec_po_xform_verify() 294 ipsec_po_sa_ctl_set(struct rte_security_ipsec_xform *ipsec, in ipsec_po_sa_ctl_set() argument 313 if (ipsec->mode == RTE_SECURITY_IPSEC_SA_MODE_TUNNEL) { in ipsec_po_sa_ctl_set() 314 if (ipsec->tunnel.type == RTE_SECURITY_IPSEC_TUNNEL_IPV4) in ipsec_po_sa_ctl_set() 324 if (ipsec->mode == RTE_SECURITY_IPSEC_SA_MODE_TRANSPORT) in ipsec_po_sa_ctl_set() 326 else if (ipsec->mode == RTE_SECURITY_IPSEC_SA_MODE_TUNNEL) in ipsec_po_sa_ctl_set() 331 if (ipsec->proto == RTE_SECURITY_IPSEC_SA_PROTO_AH) in ipsec_po_sa_ctl_set() 333 else if (ipsec->proto == RTE_SECURITY_IPSEC_SA_PROTO_ESP) in ipsec_po_sa_ctl_set() 401 if (ipsec->options.esn) in ipsec_po_sa_ctl_set() 404 if (ipsec->options.udp_encap == 1) in ipsec_po_sa_ctl_set() [all …]
|
| H A D | otx2_ipsec_fp.h | 194 if (ipsec->direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS && in ipsec_fp_xform_aead_verify() 225 return ipsec_fp_xform_aead_verify(ipsec, xform); in ipsec_fp_xform_verify() 258 ipsec_fp_sa_ctl_set(struct rte_security_ipsec_xform *ipsec, in ipsec_fp_sa_ctl_set() argument 277 if (ipsec->mode == RTE_SECURITY_IPSEC_SA_MODE_TUNNEL) { in ipsec_fp_sa_ctl_set() 278 if (ipsec->tunnel.type == RTE_SECURITY_IPSEC_TUNNEL_IPV4) in ipsec_fp_sa_ctl_set() 288 if (ipsec->mode == RTE_SECURITY_IPSEC_SA_MODE_TRANSPORT) in ipsec_fp_sa_ctl_set() 290 else if (ipsec->mode == RTE_SECURITY_IPSEC_SA_MODE_TUNNEL) in ipsec_fp_sa_ctl_set() 295 if (ipsec->proto == RTE_SECURITY_IPSEC_SA_PROTO_AH) in ipsec_fp_sa_ctl_set() 297 else if (ipsec->proto == RTE_SECURITY_IPSEC_SA_PROTO_ESP) in ipsec_fp_sa_ctl_set() 364 if (ipsec->options.esn == 1) in ipsec_fp_sa_ctl_set() [all …]
|
| H A D | otx2_security.h | 29 union otx2_sec_session_ipsec ipsec; member
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_sec.c | 115 .ipsec = { 127 .ipsec = { 237 if (ipsec->options.udp_encap) in ipsec_sa_const_set() 364 sess = &priv->ipsec.ip; in eth_sec_ipsec_out_sess_create() 382 memcpy(sa->nonce, &ipsec->salt, 4); in eth_sec_ipsec_out_sess_create() 384 if (ipsec->options.udp_encap == 1) { in eth_sec_ipsec_out_sess_create() 482 sa = in_sa_get(port, ipsec->spi); in eth_sec_ipsec_in_sess_create() 487 sess = &priv->ipsec.ip; in eth_sec_ipsec_in_sess_create() 505 memcpy(sa->nonce, &ipsec->salt, 4); in eth_sec_ipsec_in_sess_create() 524 sa->replay_win_sz = ipsec->replay_win_sz; in eth_sec_ipsec_in_sess_create() [all …]
|
| /f-stack/dpdk/lib/librte_security/ |
| H A D | rte_security.c | 184 if (capability->ipsec.proto == in rte_security_capability_get() 185 idx->ipsec.proto && in rte_security_capability_get() 186 capability->ipsec.mode == in rte_security_capability_get() 187 idx->ipsec.mode && in rte_security_capability_get() 188 capability->ipsec.direction == in rte_security_capability_get() 189 idx->ipsec.direction) in rte_security_capability_get()
|
| H A D | rte_security.h | 373 struct rte_security_ipsec_xform ipsec; member 614 struct rte_security_ipsec_stats ipsec; member 662 } ipsec; member 734 } ipsec; member
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 372 t->ipsec.pkts[(t->ipsec.num)++] = pkt; in prepare_one_packet() 407 t->ipsec.pkts[(t->ipsec.num)++] = pkt; in prepare_one_packet() 725 traffic->ipsec.saptr, traffic->ipsec.num); in process_pkts_inbound() 758 ipsec->res[ipsec->num] = sa_idx; in outbound_sp() 759 ipsec->pkts[ipsec->num++] = m; in outbound_sp() 773 free_pkts(traffic->ipsec.pkts, traffic->ipsec.num); in process_pkts_outbound() 784 traffic->ipsec.res, traffic->ipsec.num, in process_pkts_outbound() 800 traffic->ipsec.saptr, traffic->ipsec.num); in process_pkts_outbound() 840 traffic->ipsec.saptr, traffic->ipsec.num); in process_pkts_inbound_nosp() 875 traffic->ipsec.res, traffic->ipsec.num, in process_pkts_outbound_nosp() [all …]
|
| H A D | meson.build | 9 deps += ['security', 'lpm', 'acl', 'hash', 'ip_frag', 'ipsec', 'eventdev'] 15 'ipsec.c', 17 'ipsec-secgw.c',
|
| H A D | ipsec.c | 26 &ipsec->tunnel; in set_ipsec_conf() 53 ipsec->replay_win_sz = app_sa_prm.window_size; in set_ipsec_conf() 54 ipsec->options.esn = app_sa_prm.enable_esn; in set_ipsec_conf() 95 {.ipsec = { in create_lookaside_session() 117 set_ipsec_conf(sa, &(sess_conf.ipsec)); in create_lookaside_session() 168 {.ipsec = { in create_inline_session() 217 sec_cap->ipsec.mode == in create_inline_session() 219 sec_cap->ipsec.direction == sa->direction) in create_inline_session() 367 set_ipsec_conf(sa, &(sess_conf.ipsec)); in create_inline_session() 404 sec_cap->ipsec.mode == in create_inline_session() [all …]
|
| H A D | Makefile | 4 APP = ipsec-secgw 10 SRCS-y += ipsec.c 18 SRCS-y += ipsec-secgw.c
|
| H A D | ipsec_process.c | 281 struct rte_ipsec_group grp[RTE_DIM(trf->ipsec.pkts)]; in ipsec_process() 283 n = sa_group(trf->ipsec.saptr, trf->ipsec.pkts, grp, trf->ipsec.num); in ipsec_process() 375 struct rte_crypto_op *cop[RTE_DIM(trf->ipsec.pkts)]; in ipsec_cqp_process() 376 struct rte_ipsec_group grp[RTE_DIM(trf->ipsec.pkts)]; in ipsec_cqp_process() 381 out = &trf->ipsec; in ipsec_cqp_process()
|
| H A D | ipsec-secgw.h | 59 struct traffic_type ipsec; member 73 struct traffic_type_nb ipsec; member
|
| /f-stack/freebsd/netipsec/ |
| H A D | ipsec_mod.c | 144 DECLARE_MODULE(ipsec, ipsec_mod, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY); 145 MODULE_VERSION(ipsec, 1); 147 MODULE_DEPEND(ipsec, ipsec_support, 1, 1, 1);
|
| /f-stack/freebsd/contrib/device-tree/Bindings/crypto/ |
| H A D | picochip-spacc.txt | 7 - compatible : "picochip,spacc-ipsec" for the IPSEC offload engine 16 compatible = "picochip,spacc-ipsec";
|
| /f-stack/freebsd/contrib/device-tree/Bindings/rng/ |
| H A D | brcm,bcm2835.yaml | 29 const: ipsec 60 clock-names = "ipsec";
|
| /f-stack/dpdk/doc/guides/cryptodevs/ |
| H A D | zuc.rst | 8 utilizing `Intel IPSec Multi-buffer library <https://github.com/01org/intel-ipsec-mb>`_ 36 library from `here <https://github.com/01org/intel-ipsec-mb>`_ 39 can be downloaded from `<https://github.com/01org/intel-ipsec-mb/archive/v0.54.zip>`_. 67 should be used: `<https://github.com/intel/intel-ipsec-mb/issues/40>`_.
|
| H A D | snow3g.rst | 8 utilizing `Intel IPSec Multi-buffer library <https://github.com/01org/intel-ipsec-mb>`_ 36 library from `here <https://github.com/01org/intel-ipsec-mb>`_ 39 can be downloaded from `<https://github.com/01org/intel-ipsec-mb/archive/v0.54.zip>`_. 67 should be used: `<https://github.com/intel/intel-ipsec-mb/issues/40>`_.
|
| H A D | aesni_mb.rst | 11 <https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/fast-multi-buffer-ipsec-… 86 library from `here <https://github.com/01org/intel-ipsec-mb>`_ 89 can be downloaded from `<https://github.com/01org/intel-ipsec-mb/archive/v0.55.zip>`_. 114 should be used: `<https://github.com/intel/intel-ipsec-mb/issues/40>`_.
|
| H A D | kasumi.rst | 8 utilizing `Intel IPSec Multi-buffer library <https://github.com/01org/intel-ipsec-mb>`_ 37 library from `here <https://github.com/01org/intel-ipsec-mb>`_ 40 can be downloaded from `<https://github.com/01org/intel-ipsec-mb/archive/v0.54.zip>`_. 68 should be used: `<https://github.com/intel/intel-ipsec-mb/issues/40>`_.
|
| H A D | aesni_gcm.rst | 41 library from `here <https://github.com/01org/intel-ipsec-mb>`_ 44 can be downloaded in `<https://github.com/01org/intel-ipsec-mb/archive/v0.55.zip>`_. 69 should be used: `<https://github.com/intel/intel-ipsec-mb/issues/40>`_.
|
| /f-stack/dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr_capabilities.c | 232 .ipsec = { 243 .ipsec = {
|
| /f-stack/dpdk/app/test-sad/ |
| H A D | meson.build | 5 deps += ['ipsec', 'net']
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ipsec.c | 394 if (conf->ipsec.direction == RTE_SECURITY_IPSEC_SA_DIR_INGRESS) { in ixgbe_crypto_create_session() 416 ic_session->spi = conf->ipsec.spi; in ixgbe_crypto_create_session() 570 {.ipsec = { in ixgbe_crypto_capabilities_get() 582 {.ipsec = { in ixgbe_crypto_capabilities_get() 594 {.ipsec = { in ixgbe_crypto_capabilities_get() 606 {.ipsec = { in ixgbe_crypto_capabilities_get()
|