| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_vectors.c | 656 if (options->op_type == CPERF_ASYM_MODEX) { in cperf_test_vector_get_dummy() 663 if (options->op_type == CPERF_PDCP || in cperf_test_vector_get_dummy() 664 options->op_type == CPERF_IPSEC) { in cperf_test_vector_get_dummy() 675 if (options->op_type == CPERF_IPSEC) in cperf_test_vector_get_dummy() 722 if (options->op_type == CPERF_CIPHER_ONLY || in cperf_test_vector_get_dummy() 723 options->op_type == CPERF_CIPHER_THEN_AUTH || in cperf_test_vector_get_dummy() 725 options->op_type == CPERF_DOCSIS) { in cperf_test_vector_get_dummy() 756 if (options->op_type == CPERF_AUTH_ONLY || in cperf_test_vector_get_dummy() 789 if (options->op_type != CPERF_AUTH_ONLY) in cperf_test_vector_get_dummy() 798 if (options->op_type == CPERF_AEAD || in cperf_test_vector_get_dummy() [all …]
|
| H A D | cperf_options_parsing.c | 491 opts->op_type = (enum cperf_op_type)id; in parse_op_type() 923 opts->op_type = CPERF_CIPHER_THEN_AUTH; in cperf_options_default() 1138 if (options->op_type == CPERF_CIPHER_ONLY || in cperf_options_check() 1139 options->op_type == CPERF_DOCSIS) in cperf_options_check() 1161 if (options->op_type == CPERF_IPSEC) in cperf_options_check() 1188 options->op_type != CPERF_CIPHER_ONLY && in cperf_options_check() 1289 if (options->op_type == CPERF_DOCSIS) { in cperf_options_check() 1344 if (opts->op_type == CPERF_AUTH_ONLY || in cperf_options_dump() 1357 if (opts->op_type == CPERF_CIPHER_ONLY || in cperf_options_dump() 1369 if (opts->op_type == CPERF_AEAD) { in cperf_options_dump() [all …]
|
| H A D | main.c | 226 if (opts->op_type == CPERF_ASYM_MODEX) { in cperf_initialize_cryptodev() 245 switch (opts->op_type) { in cperf_initialize_cryptodev() 315 if (opts->op_type == CPERF_ASYM_MODEX) in cperf_initialize_cryptodev() 328 if (opts->op_type == CPERF_ASYM_MODEX) { in cperf_initialize_cryptodev() 377 if (opts->op_type == CPERF_ASYM_MODEX) { in cperf_verify_devices_capabilities() 391 if (opts->op_type == CPERF_AUTH_ONLY || in cperf_verify_devices_capabilities() 412 if (opts->op_type == CPERF_CIPHER_ONLY || in cperf_verify_devices_capabilities() 432 if (opts->op_type == CPERF_AEAD) { in cperf_verify_devices_capabilities() 460 if (opts->op_type == CPERF_CIPHER_ONLY) { in cperf_check_test_vector() 508 opts->op_type == CPERF_AUTH_THEN_CIPHER) { in cperf_check_test_vector() [all …]
|
| H A D | cperf_test_throughput.c | 38 if (ctx->options->op_type == CPERF_ASYM_MODEX) in cperf_throughput_test_free() 42 else if (ctx->options->op_type == CPERF_PDCP || in cperf_throughput_test_free() 43 ctx->options->op_type == CPERF_DOCSIS || in cperf_throughput_test_free() 44 ctx->options->op_type == CPERF_IPSEC) { in cperf_throughput_test_free() 126 if ((ctx->options->op_type != CPERF_ASYM_MODEX) && in cperf_throughput_test_runner()
|
| H A D | cperf_ops.c | 82 if (options->op_type == CPERF_PDCP) { in cperf_set_ops_security() 88 if (options->op_type == CPERF_DOCSIS) { in cperf_set_ops_security() 788 if (options->op_type == CPERF_ASYM_MODEX) { in cperf_create_session() 808 if (options->op_type == CPERF_PDCP) { in cperf_create_session() 877 if (options->op_type == CPERF_IPSEC) { in cperf_create_session() 882 if (options->op_type == CPERF_DOCSIS) { in cperf_create_session() 930 if (options->op_type == CPERF_CIPHER_ONLY) { in cperf_create_session() 956 } else if (options->op_type == CPERF_AUTH_ONLY) { in cperf_create_session() 985 || options->op_type == CPERF_AUTH_THEN_CIPHER) { in cperf_create_session() 1035 if (options->op_type == CPERF_CIPHER_THEN_AUTH) { in cperf_create_session() [all …]
|
| /dpdk/app/test-bbdev/ |
| H A D | test_bbdev_vector.c | 266 enum rte_bbdev_op_type op_type) in parse_turbo_flags() argument 277 if (op_type == RTE_BBDEV_OP_TURBO_DEC) { in parse_turbo_flags() 311 *op_type = RTE_BBDEV_OP_TURBO_DEC; in op_turbo_type_strtol() 313 *op_type = RTE_BBDEV_OP_TURBO_ENC; in op_turbo_type_strtol() 315 *op_type = RTE_BBDEV_OP_LDPC_ENC; in op_turbo_type_strtol() 317 *op_type = RTE_BBDEV_OP_LDPC_DEC; in op_turbo_type_strtol() 319 *op_type = RTE_BBDEV_OP_NONE; in op_turbo_type_strtol() 354 (op_type == RTE_BBDEV_OP_LDPC_DEC)) in parse_expected_status() 528 vector->op_type); in parse_decoder_params() 632 vector->op_type); in parse_encoder_params() [all …]
|
| H A D | test_bbdev_perf.c | 619 enum rte_bbdev_op_type op_type = vector->op_type; in add_bbdev_dev() local 797 qconf.op_type = op_type; in add_bbdev_dev() 999 if ((op_type == DATA_INPUT) || (op_type == DATA_HARQ_INPUT)) { in init_op_data_objs() 1031 op_type, in init_op_data_objs() 1051 op_type); in init_op_data_objs() 1061 op_type, in init_op_data_objs() 1068 op_type); in init_op_data_objs() 2398 enum rte_bbdev_op_type op_type = test_vector.op_type; in run_test_case_on_device() local 4271 const enum rte_bbdev_op_type op_type = test_vector.op_type; in validation_latency_test() local 4730 const enum rte_bbdev_op_type op_type = test_vector.op_type; in offload_cost_test() [all …]
|
| /dpdk/drivers/crypto/octeontx/ |
| H A D | otx_cryptodev_ops.c | 603 const uint8_t op_type) in otx_cpt_enq_single() argument 607 if (op_type == OP_TYPE_SYM) { in otx_cpt_enq_single() 614 if (op_type == OP_TYPE_ASYM) { in otx_cpt_enq_single() 626 const uint8_t op_type) in otx_cpt_pkt_enqueue() argument 712 uint8_t op_type, cdev_id; in otx_crypto_adapter_enqueue() local 751 switch (rsa->op_type) { in otx_cpt_asym_rsa_op() 865 const uint8_t op_type) in otx_cpt_dequeue_post_process() argument 872 if ((op_type == OP_TYPE_SYM) && in otx_cpt_dequeue_post_process() 935 const uint8_t op_type) in otx_cpt_pkt_dequeue() argument 981 cc[i], op_type); in otx_cpt_pkt_dequeue() [all …]
|
| /dpdk/lib/cryptodev/ |
| H A D | rte_crypto_asym.h | 318 enum rte_crypto_asym_op_type op_type; member 424 enum rte_crypto_asym_op_type op_type; member 456 enum rte_crypto_asym_op_type op_type; member
|
| /dpdk/drivers/compress/qat/dev/ |
| H A D | qat_comp_pmd_gen4.c | 79 enum rte_comp_op_type op_type, uint32_t *comp_slice_cfg_word) in qat_comp_set_slice_cfg_word_gen4() argument 112 if (op_type == RTE_COMP_OP_STATEFUL) { in qat_comp_set_slice_cfg_word_gen4()
|
| H A D | qat_comp_pmd_gens.h | 23 enum rte_comp_op_type op_type,
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cnxk_ae.h | 294 if (rsa_op.op_type == RTE_CRYPTO_ASYM_OP_ENCRYPT) { in cnxk_ae_rsa_prep() 299 } else if (rsa_op.op_type == RTE_CRYPTO_ASYM_OP_VERIFY) { in cnxk_ae_rsa_prep() 352 if (rsa_op.op_type == RTE_CRYPTO_ASYM_OP_SIGN) { in cnxk_ae_rsa_crt_prep() 356 } else if (rsa_op.op_type == RTE_CRYPTO_ASYM_OP_DECRYPT) { in cnxk_ae_rsa_crt_prep() 379 switch (rsa->op_type) { in cnxk_ae_enqueue_rsa_op() 588 if (ecdsa->op_type == RTE_CRYPTO_ASYM_OP_SIGN) in cnxk_ae_enqueue_ecdsa_op() 591 else if (ecdsa->op_type == RTE_CRYPTO_ASYM_OP_VERIFY) in cnxk_ae_enqueue_ecdsa_op() 670 switch (rsa->op_type) { in cnxk_ae_dequeue_rsa_op() 727 if (ecdsa->op_type == RTE_CRYPTO_ASYM_OP_VERIFY) in cnxk_ae_dequeue_ecdsa_op()
|
| /dpdk/lib/bbdev/ |
| H A D | rte_bbdev.c | 465 if ((conf->op_type == RTE_BBDEV_OP_NONE) && in rte_bbdev_queue_configure() 472 if (conf->op_type == p->type) { in rte_bbdev_queue_configure() 495 if (conf->op_type == RTE_BBDEV_OP_TURBO_DEC && in rte_bbdev_queue_configure() 503 if (conf->op_type == RTE_BBDEV_OP_TURBO_ENC && in rte_bbdev_queue_configure() 540 op_type_str = rte_bbdev_op_type_str(stored_conf->op_type); in rte_bbdev_queue_configure() 1118 rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type) in rte_bbdev_op_type_str() argument 1128 if (op_type < RTE_BBDEV_OP_TYPE_COUNT) in rte_bbdev_op_type_str() 1129 return op_types[op_type]; in rte_bbdev_op_type_str()
|
| /dpdk/drivers/compress/qat/ |
| H A D | qat_comp.c | 118 if (op->op_type == RTE_COMP_OP_STATEFUL) { in qat_comp_build_request() 182 } else if (op->op_type == RTE_COMP_OP_STATEFUL) { in qat_comp_build_request() 567 if (rx_op->op_type == RTE_COMP_OP_STATEFUL) { in qat_comp_process_response() 633 && rx_op->op_type == RTE_COMP_OP_STATEFUL) { in qat_comp_process_response() 821 enum rte_comp_op_type op_type, in qat_comp_create_templates() argument 833 if (op_type == RTE_COMP_OP_STATEFUL) { in qat_comp_create_templates() 863 if (op_type == RTE_COMP_OP_STATEFUL) { in qat_comp_create_templates() 894 qat_xform, xform, op_type, in qat_comp_create_templates()
|
| /dpdk/app/test/ |
| H A D | test_cryptodev_asym.c | 91 asym_op->rsa.op_type = RTE_CRYPTO_ASYM_OP_SIGN; in queue_ops_rsa_sign_verify() 128 asym_op->rsa.op_type = RTE_CRYPTO_ASYM_OP_VERIFY; in queue_ops_rsa_sign_verify() 182 asym_op->rsa.op_type = RTE_CRYPTO_ASYM_OP_ENCRYPT; in queue_ops_rsa_enc_dec() 219 asym_op->rsa.op_type = RTE_CRYPTO_ASYM_OP_DECRYPT; in queue_ops_rsa_enc_dec() 271 if (op->asym->rsa.op_type == RTE_CRYPTO_ASYM_OP_ENCRYPT) { in test_cryptodev_asym_ver() 394 op->asym->rsa.op_type = type; in test_cryptodev_asym_op() 419 if (op->asym->rsa.op_type == RTE_CRYPTO_ASYM_OP_ENCRYPT) { in test_cryptodev_asym_op() 1688 asym_op->dsa.op_type = RTE_CRYPTO_ASYM_OP_SIGN; in test_dsa_sign() 1726 asym_op->dsa.op_type = RTE_CRYPTO_ASYM_OP_VERIFY; in test_dsa_sign() 1851 op->asym->ecdsa.op_type = RTE_CRYPTO_ASYM_OP_SIGN; in test_ecdsa_sign_verify() [all …]
|
| /dpdk/app/test-bbdev/test_vectors/ |
| H A D | bbdev_null.data | 4 op_type =
|
| H A D | ldpc_enc_v11835.data | 4 op_type =
|
| H A D | ldpc_enc_v7813.data | 6 op_type =
|
| H A D | turbo_enc_c1_k40_r0_e272_rm.data | 4 op_type =
|
| H A D | ldpc_dec_v7813.data | 4 op_type =
|
| H A D | ldpc_dec_v11835.data | 4 op_type =
|
| H A D | turbo_enc_c1_k40_r0_e1190_rm.data | 4 op_type =
|
| /dpdk/drivers/crypto/qat/ |
| H A D | qat_asym.c | 347 if (asym_op->rsa.op_type == RTE_CRYPTO_ASYM_OP_ENCRYPT) { in rsa_set_pub_input() 455 if (asym_op->rsa.op_type == in rsa_set_priv_input() 470 } else if (asym_op->rsa.op_type == in rsa_set_priv_input() 502 if (asym_op->rsa.op_type == RTE_CRYPTO_ASYM_OP_ENCRYPT || in rsa_set_input() 503 asym_op->rsa.op_type == in rsa_set_input() 517 if (asym_op->rsa.op_type == RTE_CRYPTO_ASYM_OP_ENCRYPT || in rsa_collect() 518 asym_op->rsa.op_type == RTE_CRYPTO_ASYM_OP_VERIFY) { in rsa_collect() 520 if (asym_op->rsa.op_type == in rsa_collect() 547 if (asym_op->rsa.op_type == RTE_CRYPTO_ASYM_OP_DECRYPT) { in rsa_collect() 592 switch (asym_op->ecdsa.op_type) { in ecdsa_set_input() [all …]
|
| /dpdk/drivers/common/cpt/ |
| H A D | cpt_ucode_asym.h | 335 if (rsa_op.op_type == RTE_CRYPTO_ASYM_OP_ENCRYPT) { in cpt_rsa_prep() 340 } else if (rsa_op.op_type == RTE_CRYPTO_ASYM_OP_VERIFY) { in cpt_rsa_prep() 419 if (rsa_op.op_type == RTE_CRYPTO_ASYM_OP_SIGN) { in cpt_rsa_crt_prep() 423 } else if (rsa_op.op_type == RTE_CRYPTO_ASYM_OP_DECRYPT) { in cpt_rsa_crt_prep() 464 switch (rsa->op_type) { in cpt_enqueue_rsa_op() 854 if (ecdsa->op_type == RTE_CRYPTO_ASYM_OP_SIGN) in cpt_enqueue_ecdsa_op() 856 else if (ecdsa->op_type == RTE_CRYPTO_ASYM_OP_VERIFY) in cpt_enqueue_ecdsa_op()
|
| /dpdk/drivers/baseband/la12xx/ |
| H A D | bbdev_la12xx.c | 187 switch (q_priv->op_type) { in la12xx_e200_queue_setup() 241 switch (q_priv->op_type) { in la12xx_e200_queue_setup() 266 ch->op_type = rte_cpu_to_be_32(q_priv->op_type); in la12xx_e200_queue_setup() 300 q_priv->op_type = queue_conf->op_type; in la12xx_queue_setup() 453 switch (q_priv->op_type) { in enqueue_single_op()
|