| /dpdk/lib/ipsec/ |
| H A D | crypto.h | 31 uint32_t salt; member 61 uint32_t salt; member 90 uint32_t salt; member 100 uint8_t salt[3]; member 137 uint64_t iv, uint32_t salt) in aead_chacha20_poly1305_iv_fill() argument 139 chacha20_poly1305->salt = salt; in aead_chacha20_poly1305_iv_fill() 147 gcm->salt = salt; in aead_gcm_iv_fill() 157 tsalt.salt = salt; in aead_ccm_iv_fill() 159 ccm->salt[0] = tsalt.inner.salt8[0]; in aead_ccm_iv_fill() 160 ccm->salt[1] = tsalt.inner.salt8[1]; in aead_ccm_iv_fill() [all …]
|
| H A D | esp_inb.c | 85 aead_gcm_iv_fill(gcm, ivp[0], sa->salt); in inb_cop_prepare() 93 aead_ccm_iv_fill(ccm, ivp[0], sa->salt); in inb_cop_prepare() 103 ivp[0], sa->salt); in inb_cop_prepare() 119 aead_gcm_iv_fill(gcm, ivp[0], sa->salt); in inb_cop_prepare() 127 aes_ctr_cnt_blk_fill(ctr, ivp[0], sa->salt); in inb_cop_prepare() 154 aead_gcm_iv_fill(gcm, ivp[0], sa->salt); in inb_cpu_crypto_prepare() 158 aead_ccm_iv_fill(ccm, ivp[0], sa->salt); in inb_cpu_crypto_prepare() 163 ivp[0], sa->salt); in inb_cpu_crypto_prepare() 171 aes_ctr_cnt_blk_fill(ctr, ivp[0], sa->salt); in inb_cpu_crypto_prepare()
|
| H A D | esp_outb.c | 92 aead_gcm_iv_fill(gcm, ivp[0], sa->salt); in outb_cop_prepare() 101 aead_gcm_iv_fill(gcm, ivp[0], sa->salt); in outb_cop_prepare() 110 aead_ccm_iv_fill(ccm, ivp[0], sa->salt); in outb_cop_prepare() 121 ivp[0], sa->salt); in outb_cop_prepare() 130 aes_ctr_cnt_blk_fill(ctr, ivp[0], sa->salt); in outb_cop_prepare() 506 aead_gcm_iv_fill(gcm, ivp[0], sa->salt); in outb_cpu_crypto_prepare() 510 aead_ccm_iv_fill(ccm, ivp[0], sa->salt); in outb_cpu_crypto_prepare() 515 ivp[0], sa->salt); in outb_cpu_crypto_prepare() 519 aes_ctr_cnt_blk_fill(ctr, ivp[0], sa->salt); in outb_cpu_crypto_prepare()
|
| H A D | sa.h | 103 uint32_t salt; member
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | esp.c | 75 icb->salt = sa->salt; in esp_inbound() 110 icb->salt = sa->salt; in esp_inbound() 385 icb->salt = sa->salt; in esp_outbound() 426 icb->salt = sa->salt; in esp_outbound()
|
| H A D | ipsec.h | 111 uint32_t salt; member 258 uint32_t salt; member
|
| H A D | ipsec.c | 97 .salt = sa->salt, in create_lookaside_session() 170 .salt = sa->salt, in create_inline_session()
|
| H A D | sa.c | 497 rule->salt = (uint32_t)rte_rand(); in parse_sa_tokens() 502 memcpy(&rule->salt, in parse_sa_tokens() 567 memcpy(&rule->salt, in parse_sa_tokens() 626 memcpy(&rule->salt, in parse_sa_tokens() 1454 prm->ipsec_xform.salt = ss->salt; in fill_ipsec_sa_prm()
|
| /dpdk/drivers/common/dpaax/caamflib/desc/ |
| H A D | ipsec.h | 308 uint8_t salt[4]; member 320 uint8_t salt[4]; member 385 rta_copy_data(program, pdb->ccm.salt, sizeof(pdb->ccm.salt)); in __rta_copy_ipsec_encap_pdb() 394 rta_copy_data(program, pdb->gcm.salt, sizeof(pdb->gcm.salt)); in __rta_copy_ipsec_encap_pdb() 434 uint8_t salt[4]; member 444 uint8_t salt[4]; member 502 rta_copy_data(program, pdb->ccm.salt, sizeof(pdb->ccm.salt)); in __rta_copy_ipsec_decap_pdb() 510 rta_copy_data(program, pdb->gcm.salt, sizeof(pdb->gcm.salt)); in __rta_copy_ipsec_decap_pdb()
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_ipsec_crypto.c | 348 struct rte_crypto_aead_xform *aead, uint32_t salt) in sa_add_set_aead_params() argument 367 cfg->salt = salt; in sa_add_set_aead_params() 374 struct rte_crypto_cipher_xform *cipher, uint32_t salt) in sa_add_set_cipher_params() argument 387 cfg->salt = salt; in sa_add_set_cipher_params() 396 cfg->salt = salt; in sa_add_set_cipher_params() 403 struct rte_crypto_auth_xform *auth, uint32_t salt) in sa_add_set_auth_params() argument 430 cfg->salt = salt; in sa_add_set_auth_params() 525 &conf->crypto_xform->aead, conf->ipsec.salt); in iavf_ipsec_crypto_security_association_add() 529 &conf->crypto_xform->cipher, conf->ipsec.salt); in iavf_ipsec_crypto_security_association_add() 531 &conf->crypto_xform->next->auth, conf->ipsec.salt); in iavf_ipsec_crypto_security_association_add() [all …]
|
| /dpdk/app/test/ |
| H A D | test_cryptodev_security_ipsec_test_vectors.h | 74 .salt = { 174 .salt = { 276 .salt = { 485 .salt = { 1014 .salt = { 1430 .salt = {
|
| H A D | test_cryptodev_security_ipsec.h | 34 } salt; member
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cnxk_se.h | 34 uint32_t salt; member 2152 uint8_t *salt; in fill_fc_params() local 2177 salt = fc_params.iv_buf; in fill_fc_params() 2178 if (unlikely(*(uint32_t *)salt != sess->salt)) { in fill_fc_params() 2180 sess->salt = *(uint32_t *)salt; in fill_fc_params() 2182 fc_params.iv_buf = salt + 4; in fill_fc_params() 2216 uint8_t *salt; in fill_fc_params() local 2217 salt = fc_params.iv_buf; in fill_fc_params() 2218 if (unlikely(*(uint32_t *)salt != sess->salt)) { in fill_fc_params() 2220 sess->salt = *(uint32_t *)salt; in fill_fc_params() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | cnxk_security.c | 112 memcpy(salt_key, &ipsec_xfrm->salt, 4); in ot_ipsec_sa_common_param_fill() 165 memcpy(salt_key, &ipsec_xfrm->salt, 4); in ot_ipsec_sa_common_param_fill() 333 rc = ot_ipsec_sa_common_param_fill(&w2, sa->cipher_key, sa->w8.s.salt, in cnxk_ot_ipsec_inb_sa_fill() 435 rc = ot_ipsec_sa_common_param_fill(&w2, sa->cipher_key, sa->iv.s.salt, in cnxk_ot_ipsec_outb_sa_fill() 607 onf_ipsec_sa_common_param_fill(struct roc_ie_onf_sa_ctl *ctl, uint8_t *salt, in onf_ipsec_sa_common_param_fill() argument 663 memcpy(salt, &ipsec_xfrm->salt, 4); in onf_ipsec_sa_common_param_fill()
|
| H A D | roc_se.c | 362 const uint8_t *key, uint16_t key_len, uint8_t *salt) in roc_se_ciph_key_set() argument 382 if ((salt != NULL) && (type == ROC_SE_AES_GCM)) { in roc_se_ciph_key_set() 383 memcpy(fctx->enc.encr_iv, salt, 4); in roc_se_ciph_key_set()
|
| H A D | roc_ie_ot.h | 260 uint8_t salt[4]; member 396 uint8_t salt[4]; member
|
| H A D | roc_se.h | 310 uint16_t key_len, uint8_t *salt);
|
| /dpdk/drivers/common/cpt/ |
| H A D | cpt_ucode.h | 81 uint8_t *salt) in cpt_fc_salt_update() argument 84 memcpy(fctx->enc.encr_iv, salt, 4); in cpt_fc_salt_update() 290 if (salt) { in cpt_fc_ciph_set_key() 3127 uint8_t *salt; in fill_fc_params() local 3154 salt = fc_params.iv_buf; in fill_fc_params() 3155 if (unlikely(*(uint32_t *)salt != sess_misc->salt)) { in fill_fc_params() 3157 sess_misc->salt = *(uint32_t *)salt; in fill_fc_params() 3195 uint8_t *salt; in fill_fc_params() local 3196 salt = fc_params.iv_buf; in fill_fc_params() 3197 if (unlikely(*(uint32_t *)salt != sess_misc->salt)) { in fill_fc_params() [all …]
|
| H A D | cpt_mcode_defines.h | 271 uint32_t salt; member
|
| /dpdk/drivers/common/iavf/ |
| H A D | virtchnl_inline_ipsec.h | 187 u32 salt; member 407 u32 salt; member
|
| /dpdk/drivers/crypto/nitrox/ |
| H A D | nitrox_sym_ctx.h | 78 uint8_t salt[AES_GCM_SALT_SIZE]; member
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ipsec.h | 51 uint32_t salt; member
|
| H A D | txgbe_ipsec.c | 193 rte_cpu_to_be_32(ic_session->salt)); in txgbe_crypto_add_sa() 240 rte_cpu_to_be_32(ic_session->salt)); in txgbe_crypto_add_sa() 394 memcpy(&ic_session->salt, in txgbe_crypto_create_session()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ipsec.h | 67 uint32_t salt; member
|
| H A D | ixgbe_ipsec.c | 214 rte_cpu_to_be_32(ic_session->salt)); in ixgbe_crypto_add_sa() 261 rte_cpu_to_be_32(ic_session->salt)); in ixgbe_crypto_add_sa() 414 memcpy(&ic_session->salt, in ixgbe_crypto_create_session()
|