| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | pmd_kasumi.c | 81 uint8_t *iv_ptr; in process_kasumi_cipher_op() local 93 iv_ptr = rte_crypto_op_ctod_offset(ops[i], uint8_t *, in process_kasumi_cipher_op() 95 iv[i] = *((uint64_t *)(iv_ptr)); in process_kasumi_cipher_op() 115 uint8_t *iv_ptr; in process_kasumi_cipher_op_bit() local 125 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in process_kasumi_cipher_op_bit() 127 iv = *((uint64_t *)(iv_ptr)); in process_kasumi_cipher_op_bit()
|
| H A D | pmd_chacha_poly.c | 102 uint8_t *iv_ptr; in chacha20_poly1305_crypto_op() local 143 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in chacha20_poly1305_crypto_op() 148 iv_ptr, sym_op->aead.aad.data, in chacha20_poly1305_crypto_op()
|
| H A D | pmd_aesni_gcm.c | 270 uint8_t *iv_ptr; in process_gcm_crypto_op() local 323 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in process_gcm_crypto_op() 327 ops->init(&session->gdata_key, &qp_data->gcm_ctx_data, iv_ptr, in process_gcm_crypto_op() 362 ops->init(&session->gdata_key, &qp_data->gcm_ctx_data, iv_ptr, in process_gcm_crypto_op() 394 iv_ptr, session->iv.length); in process_gcm_crypto_op() 424 iv_ptr, session->iv.length); in process_gcm_crypto_op()
|
| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_ops.c | 313 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(ops[i], in cperf_set_ops_cipher() local 316 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher() 353 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(ops[i], in cperf_set_ops_auth() local 356 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_auth() 418 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_auth() 521 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(ops[i], in cperf_set_ops_cipher_auth() local 524 memcpy(iv_ptr, test_vector->cipher_iv.data, in cperf_set_ops_cipher_auth() 531 iv_ptr += test_vector->cipher_iv.length; in cperf_set_ops_cipher_auth() 532 memcpy(iv_ptr, test_vector->auth_iv.data, in cperf_set_ops_cipher_auth() 635 memcpy(iv_ptr + 1, test_vector->aead_iv.data, in cperf_set_ops_aead() [all …]
|
| /dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_raw_dp.c | 51 uint8_t *iv_ptr = iv->va; in build_raw_dp_chain_fd() local 147 DPAA2_SET_FLE_ADDR(sge, DPAA2_VADDR_TO_IOVA(iv_ptr)); in build_raw_dp_chain_fd() 396 uint8_t *iv_ptr; in build_raw_dp_auth_fd() local 398 iv_ptr = rte_crypto_op_ctod_offset(userdata, uint8_t *, in build_raw_dp_auth_fd() 402 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_raw_dp_auth_fd() 405 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_raw_dp_auth_fd() 410 DPAA2_SET_FLE_ADDR(sge, DPAA2_VADDR_TO_IOVA(iv_ptr)); in build_raw_dp_auth_fd()
|
| H A D | dpaa2_sec_dpseci.c | 708 DPAA2_SET_FLE_ADDR(sge, DPAA2_VADDR_TO_IOVA(iv_ptr)); in build_authenc_sg_fd() 864 DPAA2_SET_FLE_ADDR(sge, DPAA2_VADDR_TO_IOVA(iv_ptr)); in build_authenc_fd() 952 uint8_t *iv_ptr; in build_auth_sg_fd() local 954 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in build_auth_sg_fd() 958 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_auth_sg_fd() 961 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_auth_sg_fd() 1082 uint8_t *iv_ptr; in build_auth_fd() local 1084 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in build_auth_fd() 1088 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_auth_fd() 1091 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_auth_fd() [all …]
|
| /dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec_raw_dp.c | 159 uint8_t *iv_ptr; in build_dpaa_raw_dp_auth_fd() local 161 iv_ptr = rte_crypto_op_ctod_offset(userdata, uint8_t *, in build_dpaa_raw_dp_auth_fd() 165 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_dpaa_raw_dp_auth_fd() 168 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_dpaa_raw_dp_auth_fd() 173 qm_sg_entry_set64(sg, rte_dpaa_mem_vtop(iv_ptr)); in build_dpaa_raw_dp_auth_fd()
|
| H A D | dpaa_sec.c | 942 uint8_t *iv_ptr; in build_auth_only_sg() local 944 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in build_auth_only_sg() 948 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_auth_only_sg() 951 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_auth_only_sg() 956 qm_sg_entry_set64(sg, rte_dpaa_mem_vtop(iv_ptr)); in build_auth_only_sg() 1060 uint8_t *iv_ptr; in build_auth_only() local 1062 iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in build_auth_only() 1066 iv_ptr = conv_to_snow_f9_iv(iv_ptr); in build_auth_only() 1069 iv_ptr = conv_to_zuc_eia_iv(iv_ptr); in build_auth_only() 1074 qm_sg_entry_set64(sg, rte_dpaa_mem_vtop(iv_ptr)); in build_auth_only()
|
| /dpdk/app/test/ |
| H A D | test_cryptodev.c | 452 symvec.iv = &iv_ptr; in process_cpu_aead_op() 498 symvec.iv = &iv_ptr; in process_cpu_crypt_auth_op() 2881 iv_ptr += cipher_iv_len; in create_wireless_cipher_hash_operation() 2882 rte_memcpy(iv_ptr, auth_iv, auth_iv_len); in create_wireless_cipher_hash_operation() 2967 iv_ptr += cipher_iv_len; in create_wireless_algo_cipher_hash_operation() 3067 iv_ptr += cipher_iv_len; in create_wireless_algo_auth_cipher_operation() 8092 debug_hexdump(stdout, "iv:", iv_ptr, in create_aead_operation() 8113 debug_hexdump(stdout, "iv:", iv_ptr, in create_aead_operation() 8117 debug_hexdump(stdout, "iv:", iv_ptr, in create_aead_operation() 10247 uint8_t *iv_ptr; in test_docsis_proto_uplink() local [all …]
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | esp.c | 98 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()
|
| /dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 464 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(op, in l2fwd_simple_crypto_enqueue() local 472 rte_memcpy(iv_ptr, cparams->auth_iv.data, in l2fwd_simple_crypto_enqueue() 500 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in l2fwd_simple_crypto_enqueue() local 503 rte_memcpy(iv_ptr, cparams->cipher_iv.data, in l2fwd_simple_crypto_enqueue() 519 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, in l2fwd_simple_crypto_enqueue() local 527 rte_memcpy(iv_ptr + 1, cparams->aead_iv.data, in l2fwd_simple_crypto_enqueue() 530 rte_memcpy(iv_ptr, cparams->aead_iv.data, in l2fwd_simple_crypto_enqueue()
|
| /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 551 rte_memcpy(cipher_param->u.cipher_IV_array, iv_ptr->va, in qat_set_cipher_iv() 557 cipher_param->u.s.cipher_IV_ptr = iv_ptr->iova; in qat_set_cipher_iv()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | cryptodev_lib.rst | 979 uint8_t *iv_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, 982 generate_random_bytes(iv_ptr, AES_CBC_IV_LENGTH);
|