Home
last modified time | relevance | path

Searched refs:iv_ptr (Results 1 – 10 of 10) sorted by relevance

/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_ops.c203 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(ops[i], in cperf_set_ops_cipher() local
206 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher()
242 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(ops[i], in cperf_set_ops_auth() local
245 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_auth()
307 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_auth()
409 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(ops[i], in cperf_set_ops_cipher_auth() local
412 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher_auth()
419 iv_ptr += test_vector->cipher_iv.length; in cperf_set_ops_cipher_auth()
420 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_cipher_auth()
521 memcpy(iv_ptr + 1, test_vector->aead_iv.data, in cperf_set_ops_aead()
[all …]
/f-stack/dpdk/drivers/crypto/kasumi/
H A Drte_kasumi_pmd.c180 uint8_t *iv_ptr; in process_kasumi_cipher_op() local
192 iv_ptr = rte_crypto_op_ctod_offset(ops[i], uint8_t *, in process_kasumi_cipher_op()
194 iv[i] = *((uint64_t *)(iv_ptr)); in process_kasumi_cipher_op()
213 uint8_t *iv_ptr; in process_kasumi_cipher_op_bit() local
223 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in process_kasumi_cipher_op_bit()
225 iv = *((uint64_t *)(iv_ptr)); in process_kasumi_cipher_op_bit()
/f-stack/dpdk/drivers/crypto/aesni_gcm/
H A Daesni_gcm_pmd.c222 uint8_t *iv_ptr; in process_gcm_crypto_op() local
273 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in process_gcm_crypto_op()
279 iv_ptr, in process_gcm_crypto_op()
319 iv_ptr, in process_gcm_crypto_op()
357 iv_ptr, in process_gcm_crypto_op()
392 iv_ptr, in process_gcm_crypto_op()
426 iv_ptr,
440 iv_ptr,
/f-stack/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_dpseci.c683 DPAA2_SET_FLE_ADDR(sge, DPAA2_VADDR_TO_IOVA(iv_ptr)); in build_authenc_sg_fd()
839 DPAA2_SET_FLE_ADDR(sge, DPAA2_VADDR_TO_IOVA(iv_ptr)); in build_authenc_fd()
927 uint8_t *iv_ptr; in build_auth_sg_fd() local
929 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in build_auth_sg_fd()
933 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_auth_sg_fd()
936 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_auth_sg_fd()
1057 uint8_t *iv_ptr; in build_auth_fd() local
1059 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in build_auth_fd()
1063 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_auth_fd()
1066 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_auth_fd()
[all …]
/f-stack/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec.c757 uint8_t *iv_ptr; in build_auth_only_sg() local
759 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in build_auth_only_sg()
763 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_auth_only_sg()
766 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_auth_only_sg()
771 qm_sg_entry_set64(sg, rte_dpaa_mem_vtop(iv_ptr)); in build_auth_only_sg()
875 uint8_t *iv_ptr; in build_auth_only() local
877 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in build_auth_only()
881 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_auth_only()
884 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_auth_only()
889 qm_sg_entry_set64(sg, rte_dpaa_mem_vtop(iv_ptr)); in build_auth_only()
/f-stack/dpdk/app/test/
H A Dtest_cryptodev.c398 symvec.iv = &iv_ptr; in process_cpu_aead_op()
444 symvec.iv = &iv_ptr; in process_cpu_crypt_auth_op()
2444 iv_ptr += cipher_iv_len; in create_wireless_cipher_hash_operation()
2445 rte_memcpy(iv_ptr, auth_iv, auth_iv_len); in create_wireless_cipher_hash_operation()
2530 iv_ptr += cipher_iv_len; in create_wireless_algo_cipher_hash_operation()
2630 iv_ptr += cipher_iv_len; in create_wireless_algo_auth_cipher_operation()
7487 debug_hexdump(stdout, "iv:", iv_ptr, in create_aead_operation()
7508 debug_hexdump(stdout, "iv:", iv_ptr, in create_aead_operation()
7512 debug_hexdump(stdout, "iv:", iv_ptr, in create_aead_operation()
8502 uint8_t *iv_ptr; in test_docsis_proto_uplink() local
[all …]
/f-stack/dpdk/examples/ipsec-secgw/
H A Desp.c98 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(cop, in esp_inbound() local
106 rte_memcpy(iv_ptr, iv, sa->iv_len); in esp_inbound()
/f-stack/dpdk/examples/l2fwd-crypto/
H A Dmain.c456 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(op, in l2fwd_simple_crypto_enqueue() local
464 rte_memcpy(iv_ptr, cparams->auth_iv.data, in l2fwd_simple_crypto_enqueue()
492 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in l2fwd_simple_crypto_enqueue() local
495 rte_memcpy(iv_ptr, cparams->cipher_iv.data, in l2fwd_simple_crypto_enqueue()
511 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in l2fwd_simple_crypto_enqueue() local
519 rte_memcpy(iv_ptr + 1, cparams->aead_iv.data, in l2fwd_simple_crypto_enqueue()
522 rte_memcpy(iv_ptr, cparams->aead_iv.data, in l2fwd_simple_crypto_enqueue()
/f-stack/dpdk/drivers/crypto/qat/
H A Dqat_sym_hw_dp.c73 struct rte_crypto_va_iova_ptr *iv_ptr, uint32_t iv_len, in set_cipher_iv() argument
78 rte_memcpy(cipher_param->u.cipher_IV_array, iv_ptr->va, in set_cipher_iv()
84 cipher_param->u.s.cipher_IV_ptr = iv_ptr->iova; in set_cipher_iv()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dcryptodev_lib.rst935 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *,
938 generate_random_bytes(iv_ptr, AES_CBC_IV_LENGTH);