| /dpdk/drivers/crypto/cnxk/ |
| H A D | cnxk_se.h | 429 iv_len = 0; in cpt_enc_hmac_prep() 605 iv_len); in cpt_enc_hmac_prep() 729 iv_len = 0; in cpt_dec_hmac_prep() 932 if (iv_len) { in cpt_dec_hmac_prep() 936 iv_len); in cpt_dec_hmac_prep() 1050 iv_len = 16; in cpt_pdcp_alg_prep() 1203 iv_len = 0; in cpt_pdcp_alg_prep() 1210 iv_len); in cpt_pdcp_alg_prep() 1399 iv_len = 0; in cpt_kasumi_enc_prep() 1403 if (iv_len) { in cpt_kasumi_enc_prep() [all …]
|
| /dpdk/drivers/common/cpt/ |
| H A D | cpt_ucode.h | 726 iv_len = 0; in cpt_enc_hmac_prep() 916 iv_len); in cpt_enc_hmac_prep() 1076 iv_len = 0; in cpt_dec_hmac_prep() 1351 if (iv_len) { in cpt_dec_hmac_prep() 1354 iv_len); in cpt_dec_hmac_prep() 1660 iv_len = 0; in cpt_zuc_snow3g_enc_prep() 1939 iv_len); in cpt_zuc_snow3g_dec_prep() 2162 iv_len = 0; in cpt_kasumi_enc_prep() 2166 if (iv_len) { in cpt_kasumi_enc_prep() 2169 iv_len); in cpt_kasumi_enc_prep() [all …]
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | esp.c | 53 sizeof(struct rte_esp_hdr) - sa->iv_len - sa->digest_len; in esp_inbound() 66 ip_hdr_len + sizeof(struct rte_esp_hdr) + sa->iv_len; in esp_inbound() 92 sa->iv_len; in esp_inbound() 106 rte_memcpy(iv_ptr, iv, sa->iv_len); in esp_inbound() 126 sa->iv_len + payload_len; in esp_inbound() 202 sizeof(struct rte_esp_hdr) + sa->iv_len); in esp_inbound_post() 313 sizeof(struct rte_esp_hdr) + sa->iv_len); in esp_outbound() 341 memset(iv, 0, sa->iv_len); in esp_outbound() 375 sizeof(struct rte_esp_hdr) + sa->iv_len; in esp_outbound() 410 sizeof(struct rte_esp_hdr) + sa->iv_len; in esp_outbound() [all …]
|
| H A D | sa.c | 70 .iv_len = 0, 77 .iv_len = 16, 84 .iv_len = 16, 91 .iv_len = 16, 98 .iv_len = 8, 119 .iv_len = 8, 160 .iv_len = 8, 176 .iv_len = 8, 465 rule->iv_len = algo->iv_len; in parse_sa_tokens() 566 rule->iv_len = algo->iv_len; in parse_sa_tokens() [all …]
|
| H A D | ipsec.h | 117 uint16_t iv_len; member
|
| /dpdk/lib/ipsec/ |
| H A D | sa.c | 314 sa->iv_len; in esp_outb_init() 320 sa->ctp.cipher.length = sa->iv_len; in esp_outb_init() 341 sa->iv_len + sa->sqh_len; in esp_outb_init() 403 sa->iv_len = sizeof(uint64_t); in esp_sa_init() 412 sa->iv_len = sizeof(uint64_t); in esp_sa_init() 421 sa->iv_len = sizeof(uint64_t); in esp_sa_init() 432 sa->iv_len = sizeof(uint64_t); in esp_sa_init() 444 sa->iv_len = 0; in esp_sa_init() 450 sa->iv_len = IPSEC_MAX_IV_SIZE; in esp_sa_init() 457 sa->iv_len = IPSEC_AES_CTR_IV_SIZE; in esp_sa_init() [all …]
|
| H A D | esp_outb.c | 151 hlen = sa->hdr_len + sa->iv_len + sizeof(*esph); in outb_tun_pkt_prepare() 211 copy_iv(iv, ivp, sa->iv_len); in outb_tun_pkt_prepare() 364 hlen = sa->iv_len + sizeof(*esph); in outb_trs_pkt_prepare() 408 copy_iv(iv, ivp, sa->iv_len); in outb_trs_pkt_prepare()
|
| H A D | sa.h | 112 uint8_t iv_len; member
|
| H A D | esp_inb.c | 111 copy_iv(ivc, ivp, sa->iv_len); in inb_cop_prepare() 167 copy_iv(iv, ivp, sa->iv_len); in inb_cpu_crypto_prepare()
|
| /dpdk/lib/vhost/ |
| H A D | virtio_crypto.h | 265 uint32_t iv_len; member 294 uint32_t iv_len; member 322 uint32_t iv_len; member
|
| H A D | vhost_crypto.c | 827 if (likely((req->para.iv_len <= VHOST_CRYPTO_MAX_IV_LEN) && in vhost_crypto_check_cipher_request() 854 cipher->para.iv_len, max_n_descs))) { in prepare_sym_cipher_op() 967 if (likely((req->para.iv_len <= VHOST_CRYPTO_MAX_IV_LEN) && in vhost_crypto_check_chain_request() 1008 chain->para.iv_len, max_n_descs) < 0)) { in prepare_sym_chain_op()
|
| /dpdk/app/test/ |
| H A D | test_ipsec_perf.c | 92 uint16_t iv_len; member 108 uint16_t iv_len; member 119 .iv_len = 16, 138 .iv_len = 8,
|
| H A D | test_cryptodev_security_ipsec.c | 594 int i, iv_pos, iv_len; in test_ipsec_iv_verify_push() local 598 iv_len = td->xform.aead.aead.iv.length - td->salt.len; in test_ipsec_iv_verify_push() 600 iv_len = td->xform.chain.cipher.cipher.iv.length; in test_ipsec_iv_verify_push() 605 TEST_ASSERT(iv_len <= IV_LEN_MAX, "IV length greater than supported"); in test_ipsec_iv_verify_push() 611 if (memcmp(output_text, iv_tmp, iv_len) == 0) { in test_ipsec_iv_verify_push() 620 memcpy(iv_tmp, output_text, iv_len); in test_ipsec_iv_verify_push()
|
| H A D | test_cryptodev.c | 2431 const uint8_t iv_len, const uint8_t auth_len, in create_wireless_algo_hash_session() argument 2475 uint8_t iv_len) in create_wireless_algo_cipher_session() argument 2536 iv, iv_len); in create_wireless_algo_cipher_operation() 2567 iv, iv_len); in create_wireless_algo_cipher_operation_oop() 2777 const uint8_t *iv, unsigned int iv_len, in create_wireless_algo_hash_operation() argument 2802 iv, iv_len); in create_wireless_algo_hash_operation() 7987 uint8_t iv_len) in create_aead_session() argument 8029 uint8_t iv_len) in create_aead_xform() argument 8044 sym_op->xform->aead.iv.length = iv_len; in create_aead_xform() 14197 const unsigned int iv_len = tdata->iv.len; in create_aead_operation_SGL() local [all …]
|
| H A D | test_ipsec.c | 127 uint16_t iv_len; member 144 .iv_len = 0,
|
| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | pmd_aesni_gcm_priv.h | 108 const uint8_t *iv, const uint64_t iv_len);
|
| /dpdk/examples/fips_validation/ |
| H A D | fips_validation.h | 151 uint32_t iv_len; member
|
| /dpdk/drivers/crypto/virtio/ |
| H A D | virtio_rxtx.c | 137 req_data->u.sym_req.u.cipher.para.iv_len in virtqueue_crypto_sym_pkt_header_arrange() 156 req_data->u.sym_req.u.chain.para.iv_len = session->iv.length; in virtqueue_crypto_sym_pkt_header_arrange()
|
| /dpdk/drivers/common/iavf/ |
| H A D | virtchnl_inline_ipsec.h | 181 u16 iv_len; member
|
| /dpdk/drivers/crypto/qat/dev/ |
| H A D | qat_crypto_pmd_gens.h | 546 struct rte_crypto_va_iova_ptr *iv_ptr, uint32_t iv_len, in qat_set_cipher_iv() argument 550 if (iv_len <= sizeof(cipher_param->u.cipher_IV_array)) in qat_set_cipher_iv() 552 iv_len); in qat_set_cipher_iv()
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_ipsec_crypto.c | 365 cfg->iv_len = sizeof(uint64_t); /* iv.length includes salt len */ in sa_add_set_aead_params() 395 cfg->iv_len = cipher->iv.length; in sa_add_set_cipher_params() 440 cfg->iv_len = sizeof(uint64_t); /* iv.length includes salt */ in sa_add_set_auth_params() 442 cfg->iv_len = auth->iv.length; in sa_add_set_auth_params()
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 1687 uint16_t iv_len; member 1854 data->aead.iv_len = aead_xform->iv.length; in sym_crypto_apply() 2043 rte_memcpy(iv, data->iv_aad_data, data->aead.iv_len); in pkt_work_sym_crypto() 2049 data->aead.iv_len; in pkt_work_sym_crypto() 2059 rte_memcpy(aad, data->iv_aad_data + data->aead.iv_len, in pkt_work_sym_crypto()
|