Home
last modified time | relevance | path

Searched refs:esn (Results 1 – 25 of 32) sorted by relevance

12

/dpdk/app/test/
H A Dtest_cryptodev_security_ipsec_test_vectors.h89 .options.esn = 0,
105 .esn.low = 1,
189 .options.esn = 0,
291 .options.esn = 0,
399 .options.esn = 0,
500 .options.esn = 0,
602 .options.esn = 0,
707 .options.esn = 0,
815 .options.esn = 0,
920 .options.esn = 0,
[all …]
H A Dtest_ipsec.c98 uint32_t esn; member
1313 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_crypto_inb_burst_null_null_wrapper()
1418 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_crypto_outb_burst_null_null_wrapper()
1527 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_inline_crypto_inb_burst_null_null_wrapper()
1604 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_inline_proto_inb_burst_null_null_wrapper()
1713 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_inline_crypto_outb_burst_null_null_wrapper()
1790 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_inline_proto_outb_burst_null_null_wrapper()
1863 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_lksd_proto_inb_burst_null_null_wrapper()
1884 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_lksd_proto_outb_burst_null_null_wrapper()
1998 ut_params->ipsec_xform.options.esn = test_cfg[i].esn; in test_ipsec_replay_inb_inside_null_null_wrapper()
[all …]
H A Dtest_ipsec_perf.c36 uint32_t esn; member
388 sa->ipsec_xform.options.esn = test_cfg->esn; in fill_ipsec_sa_out()
410 sa->ipsec_xform.options.esn = test_cfg->esn; in fill_ipsec_sa_in()
539 if (test_cfg->esn) in print_metrics()
H A Dtest_cryptodev_security_ipsec.c107 if (ipsec_xform->options.esn == 1 && sec_cap->ipsec.options.esn == 0) { in test_ipsec_sec_caps_verify()
H A Dtest_cryptodev.c9330 sess_conf.ipsec.esn.value = td[i].ipsec_xform.esn.value; in test_ipsec_proto_process()
10054 td_outb[i].ipsec_xform.esn.value = esn[i]; in test_ipsec_pkt_replay()
10081 uint64_t esn[5]; in test_ipsec_proto_pkt_antireplay() local
10084 esn[0] = winsz * 2; in test_ipsec_proto_pkt_antireplay()
10086 esn[1] = winsz + 1; in test_ipsec_proto_pkt_antireplay()
10088 esn[2] = winsz; in test_ipsec_proto_pkt_antireplay()
10090 esn[3] = winsz + (winsz / 2); in test_ipsec_proto_pkt_antireplay()
10092 esn[4] = winsz + (winsz / 2); in test_ipsec_proto_pkt_antireplay()
10128 uint64_t esn[7]; in test_ipsec_proto_pkt_esn_antireplay() local
10139 esn[4] = (uint64_t)(1ULL << 32); in test_ipsec_proto_pkt_esn_antireplay()
[all …]
/dpdk/lib/ipsec/
H A Dcrypto.h174 int esn) in aead_gcm_aad_fill() argument
177 if (esn) in aead_gcm_aad_fill()
193 int esn) in aead_ccm_aad_fill() argument
196 if (esn) in aead_ccm_aad_fill()
221 int esn) in aead_chacha20_poly1305_aad_fill() argument
224 if (esn) in aead_chacha20_poly1305_aad_fill()
H A Dsa.c223 if (prm->ipsec_xform.options.esn == 0) in fill_sa_type()
376 esp_outb_init(sa, sa->hdr_len, prm->ipsec_xform.esn.value); in esp_outb_tun_init()
502 esp_outb_init(sa, 0, prm->ipsec_xform.esn.value); in esp_sa_init()
596 sa->sqn_mask = (prm->ipsec_xform.options.esn == 0) ? in rte_ipsec_sa_init()
605 fill_sa_replay(sa, wsz, nb, prm->ipsec_xform.esn.value); in rte_ipsec_sa_init()
/dpdk/drivers/crypto/cnxk/
H A Dcn9k_ipsec_la_ops.h36 uint8_t esn; in ipsec_antireplay_check() local
43 esn = ctl->esn_en; in ipsec_antireplay_check()
50 if (!esn) { in ipsec_antireplay_check()
62 if (esn && !ret) { in ipsec_antireplay_check()
121 sa->esn++; in process_outb_sa()
H A Dcn9k_ipsec.c247 if (ipsec->options.esn) in ipsec_sa_ctl_set()
278 if (ipsec->esn.value) { in fill_ipsec_common_sa()
279 common_sa->esn_low = ipsec->esn.low; in fill_ipsec_common_sa()
280 common_sa->esn_hi = ipsec->esn.hi; in fill_ipsec_common_sa()
353 if (ipsec->esn.value) in cn9k_ipsec_outb_sa_create()
354 sa->esn = ipsec->esn.value; in cn9k_ipsec_outb_sa_create()
H A Dcn9k_ipsec.h35 uint64_t esn; member
H A Dcnxk_cryptodev_capabilities.c1235 sec_cap->ipsec.options.esn = 1; in cn10k_sec_caps_update()
/dpdk/drivers/net/iavf/
H A Diavf_ipsec_crypto.c51 } esn; member
495 if (conf->ipsec.options.esn) { in iavf_ipsec_crypto_security_association_add()
570 if (sess->esn.enabled) in set_pkt_metadata_template()
596 sess->esn.enabled = 1; in set_session_parameter()
597 sess->esn.value = conf->ipsec.esn.value; in set_session_parameter()
890 if (iavf_sess->esn.enabled && conf->ipsec.options.esn) { in iavf_ipsec_crypto_session_update()
900 iavf_sess->esn.hi = conf->ipsec.esn.hi; in iavf_ipsec_crypto_session_update()
1415 .stats = 1, .esn = 1 }, in iavf_ipsec_crypto_capabilities_get()
1427 .stats = 1, .esn = 1 }, in iavf_ipsec_crypto_capabilities_get()
1439 .esn = 1 }, in iavf_ipsec_crypto_capabilities_get()
[all …]
H A Diavf_ipsec_crypto.h22 __le32 esn; member
99 uint32_t esn; /* Extended Sequence Number (32b/4B) */ member
/dpdk/drivers/event/cnxk/
H A Dcn9k_worker.h613 uint64_t esn, *iv; in cn9k_sso_hws_xmit_sec_one() local
690 esn = outb_priv->esn; in cn9k_sso_hws_xmit_sec_one()
691 outb_priv->esn = esn + 1; in cn9k_sso_hws_xmit_sec_one()
693 ucode_cmd[0] |= (esn >> 32) << 16; in cn9k_sso_hws_xmit_sec_one()
694 esn = rte_cpu_to_be_32(esn & (BIT_ULL(32) - 1)); in cn9k_sso_hws_xmit_sec_one()
697 *(uint64_t *)dptr = esn << 32 | esn; in cn9k_sso_hws_xmit_sec_one()
/dpdk/drivers/common/cnxk/hw/
H A Dcpt.h218 uint64_t esn; member
285 uint64_t esn; member
/dpdk/drivers/common/cnxk/
H A Dcnxk_security.c367 sa->w2.s.esn_en = !!ipsec_xfrm->options.esn; in cnxk_ot_ipsec_inb_sa_fill()
512 sa->w0.s.esn_en = !!ipsec_xfrm->options.esn; in cnxk_ot_ipsec_outb_sa_fill()
514 if (ipsec_xfrm->esn.value) in cnxk_ot_ipsec_outb_sa_fill()
515 sa->ctx.esn_val = ipsec_xfrm->esn.value - 1; in cnxk_ot_ipsec_outb_sa_fill()
719 if (ipsec_xfrm->options.esn) in onf_ipsec_sa_common_param_fill()
H A Droc_cpt_debug.c36 cpth->esn, cpth->frag1_wqe_ptr); in roc_cpt_parse_hdr_dump()
/dpdk/lib/security/
H A Drte_security.h142 uint32_t esn : 1; member
351 } esn; member
/dpdk/drivers/net/cnxk/
H A Dcn9k_ethdev.h55 uint64_t esn; member
H A Dcn10k_ethdev_sec.c295 .esn = 1,
320 .esn = 1,
344 .esn = 1,
367 .esn = 1,
H A Dcn9k_rx.h183 uint8_t esn; in ipsec_antireplay_check() local
186 esn = sa->ctl.esn_en; in ipsec_antireplay_check()
189 if (!esn) { in ipsec_antireplay_check()
202 if (esn && !rc) { in ipsec_antireplay_check()
/dpdk/examples/ipsec-secgw/
H A Dipsec.c53 ipsec->options.esn = app_sa_prm.enable_esn; in set_ipsec_conf()
230 if (sa->esn > 0) { in create_inline_session()
231 sess_conf.ipsec.options.esn = 1; in create_inline_session()
232 sess_conf.ipsec.esn.value = sa->esn; in create_inline_session()
H A Dipsec.h145 uint64_t esn; member
H A Dsa.c785 rule->esn = atoll(tokens[ti]); in parse_sa_tokens()
1430 prm->ipsec_xform.options.esn = app_prm->enable_esn; in fill_ipsec_app_sa_prm()
/dpdk/drivers/common/iavf/
H A Dvirtchnl_inline_ipsec.h398 u8 esn; member

12