Home
last modified time | relevance | path

Searched refs:crypto_xform (Results 1 – 25 of 26) sorted by relevance

12

/dpdk/drivers/crypto/cnxk/
H A Dcnxk_ipsec.h131 auth_xform = crypto_xform; in cnxk_ipsec_xform_verify()
145 cipher_xform = crypto_xform; in cnxk_ipsec_xform_verify()
146 auth_xform = crypto_xform->next; in cnxk_ipsec_xform_verify()
152 } else if (crypto_xform->type == in cnxk_ipsec_xform_verify()
154 auth_xform = crypto_xform; in cnxk_ipsec_xform_verify()
159 if (crypto_xform->next == NULL) in cnxk_ipsec_xform_verify()
166 crypto_xform->next->type != in cnxk_ipsec_xform_verify()
169 auth_xform = crypto_xform; in cnxk_ipsec_xform_verify()
174 crypto_xform->next->type != in cnxk_ipsec_xform_verify()
177 cipher_xform = crypto_xform; in cnxk_ipsec_xform_verify()
[all …]
H A Dcn9k_ipsec.c124 auth_xform = crypto_xform; in ipsec_sa_ctl_set()
125 cipher_xform = crypto_xform->next; in ipsec_sa_ctl_set()
127 cipher_xform = crypto_xform; in ipsec_sa_ctl_set()
128 auth_xform = crypto_xform->next; in ipsec_sa_ctl_set()
161 switch (crypto_xform->aead.algo) { in ipsec_sa_ctl_set()
284 auth_xform = crypto_xform; in fill_ipsec_common_sa()
287 cipher_xform = crypto_xform; in fill_ipsec_common_sa()
288 auth_xform = crypto_xform->next; in fill_ipsec_common_sa()
357 auth_xform = crypto_xform; in cn9k_ipsec_outb_sa_create()
359 auth_xform = crypto_xform->next; in cn9k_ipsec_outb_sa_create()
[all …]
H A Dcn10k_ipsec.c314 conf->crypto_xform, sess); in cn10k_sec_session_create()
471 ret = cnxk_ipsec_xform_verify(&conf->ipsec, conf->crypto_xform); in cn10k_sec_session_update()
479 conf->crypto_xform, sess); in cn10k_sec_session_update()
/dpdk/drivers/net/iavf/
H A Diavf_ipsec_crypto.c314 conf->crypto_xform->next && in iavf_ipsec_crypto_session_validate_conf()
317 &conf->crypto_xform->cipher)) { in iavf_ipsec_crypto_session_validate_conf()
323 &conf->crypto_xform->next->auth)) { in iavf_ipsec_crypto_session_validate_conf()
329 conf->crypto_xform->next && in iavf_ipsec_crypto_session_validate_conf()
337 &conf->crypto_xform->next->cipher)) { in iavf_ipsec_crypto_session_validate_conf()
525 &conf->crypto_xform->aead, conf->ipsec.salt); in iavf_ipsec_crypto_security_association_add()
605 conf->crypto_xform->aead.algo); in set_session_parameter()
610 conf->crypto_xform->cipher.algo); in set_session_parameter()
616 conf->crypto_xform->auth.algo); in set_session_parameter()
621 conf->crypto_xform->next->cipher.algo); in set_session_parameter()
[all …]
/dpdk/drivers/crypto/mvsam/
H A Dmrvl_pmd_private.h92 struct rte_crypto_sym_xform *crypto_xform);
H A Drte_mrvl_pmd_ops.c873 struct rte_crypto_sym_xform *crypto_xform = conf->crypto_xform; in mrvl_crypto_pmd_security_session_create() local
877 crypto_xform); in mrvl_crypto_pmd_security_session_create()
H A Drte_mrvl_pmd.c510 struct rte_crypto_sym_xform *crypto_xform) in mrvl_ipsec_set_session_parameters() argument
515 if (ipsec_xform == NULL || crypto_xform == NULL) in mrvl_ipsec_set_session_parameters()
519 if (mrvl_crypto_set_session_parameters(sess, crypto_xform)) in mrvl_ipsec_set_session_parameters()
/dpdk/lib/ipsec/
H A Dsa.c20 struct crypto_xform { struct
30 fill_crypto_xform(struct crypto_xform *xform, uint64_t type, in fill_crypto_xform()
37 xf = prm->crypto_xform; in fill_crypto_xform()
384 const struct crypto_xform *cxf) in esp_sa_init()
555 struct crypto_xform cxf; in rte_ipsec_sa_init()
H A Drte_ipsec_sa.h37 struct rte_crypto_sym_xform *crypto_xform; member
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ipsec.c385 if (conf->crypto_xform->type != RTE_CRYPTO_SYM_XFORM_AEAD || in ixgbe_crypto_create_session()
386 conf->crypto_xform->aead.algo != in ixgbe_crypto_create_session()
392 aead_xform = &conf->crypto_xform->aead; in ixgbe_crypto_create_session()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ipsec.c365 if (conf->crypto_xform->type != RTE_CRYPTO_SYM_XFORM_AEAD || in txgbe_crypto_create_session()
366 conf->crypto_xform->aead.algo != in txgbe_crypto_create_session()
372 aead_xform = &conf->crypto_xform->aead; in txgbe_crypto_create_session()
/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec.c2979 if (conf->crypto_xform->type == RTE_CRYPTO_SYM_XFORM_CIPHER) { in dpaa_sec_set_ipsec_session()
2980 cipher_xform = &conf->crypto_xform->cipher; in dpaa_sec_set_ipsec_session()
2981 if (conf->crypto_xform->next) in dpaa_sec_set_ipsec_session()
2982 auth_xform = &conf->crypto_xform->next->auth; in dpaa_sec_set_ipsec_session()
2985 } else if (conf->crypto_xform->type == RTE_CRYPTO_SYM_XFORM_AUTH) { in dpaa_sec_set_ipsec_session()
2986 auth_xform = &conf->crypto_xform->auth; in dpaa_sec_set_ipsec_session()
2987 if (conf->crypto_xform->next) in dpaa_sec_set_ipsec_session()
2988 cipher_xform = &conf->crypto_xform->next->cipher; in dpaa_sec_set_ipsec_session()
2991 } else if (conf->crypto_xform->type == RTE_CRYPTO_SYM_XFORM_AEAD) { in dpaa_sec_set_ipsec_session()
2992 aead_xform = &conf->crypto_xform->aead; in dpaa_sec_set_ipsec_session()
[all …]
/dpdk/lib/security/
H A Drte_security.h515 struct rte_crypto_sym_xform *crypto_xform; member
/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_dpseci.c3187 if (conf->crypto_xform->type == RTE_CRYPTO_SYM_XFORM_CIPHER) { in dpaa2_sec_set_ipsec_session()
3188 cipher_xform = &conf->crypto_xform->cipher; in dpaa2_sec_set_ipsec_session()
3189 if (conf->crypto_xform->next) in dpaa2_sec_set_ipsec_session()
3190 auth_xform = &conf->crypto_xform->next->auth; in dpaa2_sec_set_ipsec_session()
3193 } else if (conf->crypto_xform->type == RTE_CRYPTO_SYM_XFORM_AUTH) { in dpaa2_sec_set_ipsec_session()
3194 auth_xform = &conf->crypto_xform->auth; in dpaa2_sec_set_ipsec_session()
3195 if (conf->crypto_xform->next) in dpaa2_sec_set_ipsec_session()
3196 cipher_xform = &conf->crypto_xform->next->cipher; in dpaa2_sec_set_ipsec_session()
3199 } else if (conf->crypto_xform->type == RTE_CRYPTO_SYM_XFORM_AEAD) { in dpaa2_sec_set_ipsec_session()
3200 aead_xform = &conf->crypto_xform->aead; in dpaa2_sec_set_ipsec_session()
[all …]
/dpdk/drivers/net/cnxk/
H A Dcn9k_ethdev_sec.c165 crypto = conf->crypto_xform; in cn9k_eth_sec_session_create()
H A Dcn10k_ethdev_sec.c618 crypto = conf->crypto_xform; in cn10k_eth_sec_session_create()
930 crypto = conf->crypto_xform; in cn10k_eth_sec_session_update()
/dpdk/app/test-crypto-perf/
H A Dcperf_ops.c761 .crypto_xform = &xform in create_ipsec_session()
866 .crypto_xform = &cipher_xform in cperf_create_session()
916 .crypto_xform = &cipher_xform in cperf_create_session()
/dpdk/examples/ipsec-secgw/
H A Dipsec.c106 .crypto_xform = sa->xforms, in create_lookaside_session()
176 .crypto_xform = sa->xforms, in create_inline_session()
H A Dsa.c1480 prm->crypto_xform = ss->xforms; in fill_ipsec_sa_prm()
/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr.c1766 cipher_xform = &conf->crypto_xform->cipher; in caam_jr_set_ipsec_session()
1767 auth_xform = &conf->crypto_xform->next->auth; in caam_jr_set_ipsec_session()
1769 auth_xform = &conf->crypto_xform->auth; in caam_jr_set_ipsec_session()
1770 cipher_xform = &conf->crypto_xform->next->cipher; in caam_jr_set_ipsec_session()
/dpdk/app/test/
H A Dtest_ipsec_perf.c221 prm->crypto_xform = sa->crypto_xforms; in fill_ipsec_param()
H A Dtest_cryptodev.c8448 .crypto_xform = &ut_params->cipher_xform in test_pdcp_proto()
8720 .crypto_xform = &ut_params->cipher_xform in test_pdcp_proto_SGL()
9304 sess_conf.crypto_xform = &ut_params->aead_xform; in test_ipsec_proto_process()
9307 sess_conf.crypto_xform = &ut_params->auth_xform; in test_ipsec_proto_process()
9311 sess_conf.crypto_xform = &ut_params->cipher_xform; in test_ipsec_proto_process()
9314 sess_conf.crypto_xform = &ut_params->auth_xform; in test_ipsec_proto_process()
10325 .crypto_xform = &ut_params->cipher_xform, in test_docsis_proto_uplink()
10510 .crypto_xform = &ut_params->cipher_xform, in test_docsis_proto_downlink()
/dpdk/drivers/crypto/ipsec_mb/
H A Dpmd_aesni_mb.c801 struct rte_crypto_sym_xform *crypto_sym = conf->crypto_xform; in check_docsis_sec_session()
894 cipher_xform = conf->crypto_xform; in aesni_mb_set_docsis_sec_session_parameters()
898 cipher_xform = conf->crypto_xform; in aesni_mb_set_docsis_sec_session_parameters()
/dpdk/drivers/crypto/qat/
H A Dqat_sym_session.c2111 struct rte_crypto_sym_xform *crypto_sym = conf->crypto_xform; in qat_sec_session_check_docsis()
2169 xform = conf->crypto_xform; in qat_sec_session_set_docsis_parameters()
/dpdk/doc/guides/prog_guide/
H A Drte_security.rst609 struct rte_crypto_sym_xform *crypto_xform;

12