Lines Matching refs:valid_devs

84 	uint8_t valid_devs[RTE_CRYPTO_MAX_DEVS];  member
766 ts_params->valid_devs[ts_params->valid_dev_count++] = i; in testsuite_setup()
774 dev_id = ts_params->valid_devs[0]; in testsuite_setup()
886 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in dev_configure_and_start()
889 ts_params->valid_devs[0]); in dev_configure_and_start()
893 ts_params->valid_devs[0], qp_id, in dev_configure_and_start()
895 rte_cryptodev_socket_id(ts_params->valid_devs[0])), in dev_configure_and_start()
897 qp_id, ts_params->valid_devs[0]); in dev_configure_and_start()
901 rte_cryptodev_stats_reset(ts_params->valid_devs[0]); in dev_configure_and_start()
904 TEST_ASSERT_SUCCESS(rte_cryptodev_start(ts_params->valid_devs[0]), in dev_configure_and_start()
906 ts_params->valid_devs[0]); in dev_configure_and_start()
937 (ts_params->valid_devs[0]), in ut_teardown()
946 ts_params->valid_devs[0], in ut_teardown()
977 rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats); in ut_teardown()
980 rte_cryptodev_stop(ts_params->valid_devs[0]); in ut_teardown()
993 dev_id = ts_params->valid_devs[0]; in test_device_configure_invalid_dev_id()
1025 rte_cryptodev_stop(ts_params->valid_devs[0]); in test_device_configure_invalid_queue_pair_ids()
1030 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1033 ts_params->valid_devs[0], ts_params->conf.nb_queue_pairs); in test_device_configure_invalid_queue_pair_ids()
1038 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1041 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1048 TEST_ASSERT_FAIL(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1052 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1059 TEST_ASSERT_FAIL(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1063 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1070 TEST_ASSERT_FAIL(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1074 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1093 rte_cryptodev_stop(ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1095 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in test_queue_pair_descriptor_setup()
1098 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1110 ts_params->valid_devs[0], qp_id, &qp_conf, in test_queue_pair_descriptor_setup()
1112 ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1117 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1124 ts_params->valid_devs[0], qp_id, &qp_conf, in test_queue_pair_descriptor_setup()
1126 ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1131 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1138 ts_params->valid_devs[0], qp_id, &qp_conf, in test_queue_pair_descriptor_setup()
1140 ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1145 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1152 ts_params->valid_devs[0], qp_id, &qp_conf, in test_queue_pair_descriptor_setup()
1154 ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1159 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1168 ts_params->valid_devs[0], in test_queue_pair_descriptor_setup()
1170 rte_cryptodev_socket_id(ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1173 qp_id, ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1178 ts_params->valid_devs[0], in test_queue_pair_descriptor_setup()
1180 rte_cryptodev_socket_id(ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1183 qp_id, ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1656 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1661 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1699 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1735 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1739 process_crypto_request(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1892 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA512_decrypt_perform()
1895 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_AES_CBC_HMAC_SHA512_decrypt_perform()
1899 process_crypto_request(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA512_decrypt_perform()
1931 ts_params->valid_devs[0], in test_blockcipher()
2668 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_authentication()
2690 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_authentication()
2695 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_snow3g_authentication()
2727 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_authentication()
2730 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_authentication()
2759 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_authentication_verify()
2781 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_authentication_verify()
2786 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_snow3g_authentication_verify()
2819 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_authentication_verify()
2822 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_authentication_verify()
2850 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_authentication()
2866 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_authentication()
2871 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_kasumi_authentication()
2903 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_kasumi_authentication()
2906 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_authentication()
2909 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_authentication()
2939 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_authentication_verify()
2955 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_authentication_verify()
2960 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_kasumi_authentication_verify()
2993 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_authentication_verify()
2996 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_authentication_verify()
3163 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_encryption()
3179 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_encryption()
3184 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_encryption()
3217 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_encryption()
3220 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption()
3263 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_encryption_sgl()
3267 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_encryption_sgl()
3287 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_encryption_sgl()
3316 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_encryption_sgl()
3319 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption_sgl()
3363 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_encryption_oop()
3374 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_encryption_oop()
3408 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption_oop()
3450 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_encryption_oop_sgl()
3460 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_encryption_oop_sgl()
3471 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_encryption_oop_sgl()
3501 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption_oop_sgl()
3541 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_decryption_oop()
3552 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_decryption_oop()
3586 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_decryption_oop()
3621 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_decryption()
3637 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_decryption()
3642 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_decryption()
3675 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_decryption()
3678 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_decryption()
3713 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_encryption()
3729 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_encryption()
3734 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_encryption()
3767 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_encryption()
3770 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption()
3807 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_encryption_oop()
3818 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_encryption_oop()
3857 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_oop()
3896 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_encryption_oop_sgl()
3906 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_encryption_oop_sgl()
3918 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_encryption_oop_sgl()
3951 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_oop_sgl()
4008 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_encryption_offset_oop()
4021 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_encryption_offset_oop()
4032 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_encryption_offset_oop()
4078 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_offset_oop()
4123 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_decryption()
4139 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_decryption()
4144 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_decryption()
4177 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_decryption()
4180 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_decryption()
4214 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_decryption_oop()
4225 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_decryption_oop()
4267 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_decryption_oop()
4301 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_cipher_auth()
4324 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_cipher_auth()
4332 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_cipher_auth()
4338 ts_params->valid_devs[0], in test_zuc_cipher_auth()
4364 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_cipher_auth()
4367 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_cipher_auth()
4409 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_cipher_auth()
4425 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_cipher_auth()
4430 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_cipher_auth()
4435 retval = create_wireless_algo_cipher_auth_session(ts_params->valid_devs[0], in test_snow3g_cipher_auth()
4476 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_cipher_auth()
4479 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_cipher_auth()
4529 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_auth_cipher()
4534 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_auth_cipher()
4541 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_auth_cipher()
4562 ts_params->valid_devs[0], in test_snow3g_auth_cipher()
4627 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_auth_cipher()
4630 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_auth_cipher()
4721 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_auth_cipher_sgl()
4726 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_auth_cipher_sgl()
4733 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_auth_cipher_sgl()
4764 ts_params->valid_devs[0], in test_snow3g_auth_cipher_sgl()
4830 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_auth_cipher_sgl()
4833 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_auth_cipher_sgl()
4928 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_auth_cipher()
4933 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_auth_cipher()
4937 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_auth_cipher()
4961 ts_params->valid_devs[0], in test_kasumi_auth_cipher()
5027 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_auth_cipher()
5030 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_auth_cipher()
5122 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_auth_cipher_sgl()
5127 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_auth_cipher_sgl()
5134 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_auth_cipher_sgl()
5165 ts_params->valid_devs[0], in test_kasumi_auth_cipher_sgl()
5231 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_auth_cipher_sgl()
5234 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_auth_cipher_sgl()
5321 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_cipher_auth()
5337 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_cipher_auth()
5342 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_cipher_auth()
5348 ts_params->valid_devs[0], in test_kasumi_cipher_auth()
5389 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_cipher_auth()
5392 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_cipher_auth()
5437 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_encryption()
5455 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_encryption()
5460 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_zuc_encryption()
5493 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_encryption()
5496 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_encryption()
5537 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_encryption_sgl()
5544 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_encryption_sgl()
5573 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_zuc_encryption_sgl()
5593 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_encryption_sgl()
5596 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_encryption_sgl()
5635 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_authentication()
5657 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_authentication()
5662 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_zuc_authentication()
5694 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_authentication()
5697 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_authentication()
5736 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_auth_cipher()
5740 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_auth_cipher()
5772 ts_params->valid_devs[0], in test_zuc_auth_cipher()
5838 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_auth_cipher()
5841 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_auth_cipher()
5934 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_auth_cipher_sgl()
5938 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_auth_cipher_sgl()
5970 ts_params->valid_devs[0], in test_zuc_auth_cipher_sgl()
6036 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_auth_cipher_sgl()
6039 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_auth_cipher_sgl()
6722 uint8_t dev_id = testsuite_params.valid_devs[0]; in test_mixed_check_if_unsupported()
6765 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_mixed_auth_cipher()
6777 ts_params->valid_devs[0], in test_mixed_auth_cipher()
6787 ts_params->valid_devs[0], in test_mixed_auth_cipher()
6850 op = process_crypto_request(ts_params->valid_devs[0], ut_params->op); in test_mixed_auth_cipher()
6959 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_mixed_auth_cipher_sgl()
6984 ts_params->valid_devs[0], in test_mixed_auth_cipher_sgl()
6994 ts_params->valid_devs[0], in test_mixed_auth_cipher_sgl()
7056 op = process_crypto_request(ts_params->valid_devs[0], ut_params->op); in test_mixed_auth_cipher_sgl()
7610 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encryption()
7625 ts_params->valid_devs[0], &cap_idx); in test_authenticated_encryption()
7634 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_encryption()
7666 process_cpu_aead_op(ts_params->valid_devs[0], ut_params->op); in test_authenticated_encryption()
7668 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_encryption()
7672 process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption()
7725 ts_params->valid_devs[0]); in security_proto_supported()
7767 ts_params->valid_devs[0]); in test_pdcp_proto()
7881 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) in test_pdcp_proto()
7953 ts_params->valid_devs[0]); in test_pdcp_proto_SGL()
8138 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) in test_pdcp_proto_SGL()
8464 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_PDCP_PROTO_all()
8509 ts_params->valid_devs[0]); in test_docsis_proto_uplink()
8629 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) == in test_docsis_proto_uplink()
8685 ts_params->valid_devs[0]); in test_docsis_proto_downlink()
8804 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) == in test_docsis_proto_downlink()
8950 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_DOCSIS_PROTO_all()
9235 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decryption()
9250 ts_params->valid_devs[0], &cap_idx); in test_authenticated_decryption()
9259 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_decryption()
9291 process_cpu_aead_op(ts_params->valid_devs[0], ut_params->op); in test_authenticated_decryption()
9293 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decryption()
9297 process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decryption()
9585 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encryption_oop()
9597 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_encryption_oop()
9626 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption_oop()
9677 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decryption_oop()
9687 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_decryption_oop()
9716 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decryption_oop()
9759 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encryption_sessionless()
9775 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encryption_sessionless()
9808 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption_sessionless()
9861 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decryption_sessionless()
9883 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decryption_sessionless()
9917 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decryption_sessionless()
9921 ts_params->valid_devs[0], ut_params->op), in test_authenticated_decryption_sessionless()
10075 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_stats()
10080 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_stats()
10084 if (rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats) in test_stats()
10088 rte_cryptodev_stats_reset(ts_params->valid_devs[0]); in test_stats()
10089 TEST_ASSERT((rte_cryptodev_stats_get(ts_params->valid_devs[0] + 600, in test_stats()
10092 TEST_ASSERT((rte_cryptodev_stats_get(ts_params->valid_devs[0], 0) != 0), in test_stats()
10097 TEST_ASSERT_SUCCESS(rte_cryptodev_stats_get(ts_params->valid_devs[0], in test_stats()
10110 rte_cryptodev_stats_reset(ts_params->valid_devs[0] + 300); in test_stats()
10111 TEST_ASSERT_SUCCESS(rte_cryptodev_stats_get(ts_params->valid_devs[0], in test_stats()
10118 rte_cryptodev_stats_reset(ts_params->valid_devs[0]); in test_stats()
10119 TEST_ASSERT_SUCCESS(rte_cryptodev_stats_get(ts_params->valid_devs[0], in test_stats()
10152 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in MD5_HMAC_create_session()
10214 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_MD5_HMAC_generate()
10227 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_MD5_HMAC_generate()
10248 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_MD5_HMAC_generate()
10251 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_MD5_HMAC_generate()
10255 process_crypto_request(ts_params->valid_devs[0], in test_MD5_HMAC_generate()
10287 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_MD5_HMAC_verify()
10300 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_MD5_HMAC_verify()
10319 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_MD5_HMAC_verify()
10322 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_MD5_HMAC_verify()
10326 process_crypto_request(ts_params->valid_devs[0], in test_MD5_HMAC_verify()
10375 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_multi_session()
10380 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_multi_session()
10388 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_multi_session()
10400 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_multi_session()
10438 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_multi_session()
10445 rte_cryptodev_sym_session_clear(ts_params->valid_devs[0], in test_multi_session()
10503 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_multi_session_random_usage()
10508 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_multi_session_random_usage()
10512 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_multi_session_random_usage()
10531 ts_params->valid_devs[0], in test_multi_session_random_usage()
10578 rte_cryptodev_sym_session_clear(ts_params->valid_devs[0], in test_multi_session_random_usage()
10616 ret = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_invalid_operation()
10634 ret = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_invalid_operation()
10680 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_burst_operation()
10705 TEST_ASSERT_EQUAL(rte_cryptodev_enqueue_burst(ts_params->valid_devs[0], in test_null_burst_operation()
10710 TEST_ASSERT_EQUAL(rte_cryptodev_dequeue_burst(ts_params->valid_devs[0], in test_null_burst_operation()
10878 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_AES_GMAC_authentication()
10899 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_GMAC_authentication()
10903 retval = create_gmac_session(ts_params->valid_devs[0], in test_AES_GMAC_authentication()
10947 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_AES_GMAC_authentication()
10950 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_AES_GMAC_authentication()
10954 process_crypto_request(ts_params->valid_devs[0], in test_AES_GMAC_authentication()
11012 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_AES_GMAC_authentication_verify()
11028 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_GMAC_authentication_verify()
11032 retval = create_gmac_session(ts_params->valid_devs[0], in test_AES_GMAC_authentication_verify()
11077 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_AES_GMAC_authentication_verify()
11080 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_AES_GMAC_authentication_verify()
11084 process_crypto_request(ts_params->valid_devs[0], in test_AES_GMAC_authentication_verify()
11141 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_GMAC_authentication_SGL()
11146 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_AES_GMAC_authentication_SGL()
11159 retval = create_gmac_session(ts_params->valid_devs[0], in test_AES_GMAC_authentication_SGL()
11235 process_crypto_request(ts_params->valid_devs[0], in test_AES_GMAC_authentication_SGL()
11759 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authentication_verify_fail_when_data_corruption()
11772 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authentication_verify_fail_when_data_corruption()
11779 ts_params->valid_devs[0], in test_authentication_verify_fail_when_data_corruption()
11813 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authentication_verify_fail_when_data_corruption()
11819 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authentication_verify_fail_when_data_corruption()
11822 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_authentication_verify_fail_when_data_corruption()
11841 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authentication_verify_GMAC_fail_when_corruption()
11854 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authentication_verify_GMAC_fail_when_corruption()
11860 ts_params->valid_devs[0], in test_authentication_verify_GMAC_fail_when_corruption()
11897 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authentication_verify_GMAC_fail_when_corruption()
11903 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authentication_verify_GMAC_fail_when_corruption()
11906 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_authentication_verify_GMAC_fail_when_corruption()
11926 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decryption_fail_when_corruption()
11939 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
11944 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
11950 ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
11985 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
11991 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decryption_fail_when_corruption()
11994 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
12016 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encryt_with_esn()
12029 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encryt_with_esn()
12034 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encryt_with_esn()
12067 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_authenticated_encryt_with_esn()
12096 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authenticated_encryt_with_esn()
12099 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_encryt_with_esn()
12103 ts_params->valid_devs[0], ut_params->op); in test_authenticated_encryt_with_esn()
12149 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decrypt_with_esn()
12162 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
12167 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
12199 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
12229 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
12232 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decrypt_with_esn()
12235 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
12359 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encryption_SGL()
12368 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encryption_SGL()
12437 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_encryption_SGL()
12583 process_cpu_aead_op(ts_params->valid_devs[0], ut_params->op); in test_authenticated_encryption_SGL()
12585 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_encryption_SGL()
12589 process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption_SGL()
12826 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_attach_slave_op()
12936 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_detach_slave_op()
12954 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_mode_op()