Lines Matching refs:valid_devs
611 ts_params->valid_devs[ts_params->valid_dev_count++] = i; in testsuite_setup()
619 dev_id = ts_params->valid_devs[0]; in testsuite_setup()
713 res = rte_cryptodev_close(ts_params->valid_devs[0]); in testsuite_teardown()
722 uint8_t dev_id = testsuite_params.valid_devs[0]; in check_capabilities_supported()
768 uint8_t dev_id = ts_params->valid_devs[0]; in null_testsuite_setup()
800 uint8_t dev_id = ts_params->valid_devs[0]; in crypto_gen_testsuite_setup()
823 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in ipsec_proto_testsuite_setup()
854 rte_cryptodev_stop(ts_params->valid_devs[0]); in ipsec_proto_testsuite_setup()
863 uint8_t dev_id = ts_params->valid_devs[0]; in pdcp_proto_testsuite_setup()
903 uint8_t dev_id = ts_params->valid_devs[0]; in docsis_proto_testsuite_setup()
933 uint8_t dev_id = ts_params->valid_devs[0]; in aes_ccm_auth_testsuite_setup()
962 uint8_t dev_id = ts_params->valid_devs[0]; in aes_gcm_auth_testsuite_setup()
989 uint8_t dev_id = ts_params->valid_devs[0]; in aes_gmac_auth_testsuite_setup()
1018 uint8_t dev_id = ts_params->valid_devs[0]; in chacha20_poly1305_testsuite_setup()
1047 uint8_t dev_id = ts_params->valid_devs[0]; in snow3g_testsuite_setup()
1080 uint8_t dev_id = ts_params->valid_devs[0]; in zuc_testsuite_setup()
1112 uint8_t dev_id = ts_params->valid_devs[0]; in hmac_md5_auth_testsuite_setup()
1141 uint8_t dev_id = ts_params->valid_devs[0]; in kasumi_testsuite_setup()
1175 uint8_t dev_id = ts_params->valid_devs[0]; in negative_aes_gcm_testsuite_setup()
1204 uint8_t dev_id = ts_params->valid_devs[0]; in negative_aes_gmac_testsuite_setup()
1233 uint8_t dev_id = ts_params->valid_devs[0]; in mixed_cipher_hash_testsuite_setup()
1274 uint8_t dev_id = ts_params->valid_devs[0]; in esn_testsuite_setup()
1308 uint8_t dev_id = ts_params->valid_devs[0]; in multi_session_testsuite_setup()
1340 uint8_t dev_id = ts_params->valid_devs[0]; in negative_hmac_sha1_testsuite_setup()
1388 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in dev_configure_and_start()
1391 ts_params->valid_devs[0]); in dev_configure_and_start()
1395 ts_params->valid_devs[0], qp_id, in dev_configure_and_start()
1397 rte_cryptodev_socket_id(ts_params->valid_devs[0])), in dev_configure_and_start()
1399 qp_id, ts_params->valid_devs[0]); in dev_configure_and_start()
1403 rte_cryptodev_stats_reset(ts_params->valid_devs[0]); in dev_configure_and_start()
1406 TEST_ASSERT_SUCCESS(rte_cryptodev_start(ts_params->valid_devs[0]), in dev_configure_and_start()
1408 ts_params->valid_devs[0]); in dev_configure_and_start()
1438 (ts_params->valid_devs[0]), in ut_teardown()
1447 ts_params->valid_devs[0], in ut_teardown()
1479 rte_cryptodev_stop(ts_params->valid_devs[0]); in ut_teardown()
1492 dev_id = ts_params->valid_devs[0]; in test_device_configure_invalid_dev_id()
1524 rte_cryptodev_stop(ts_params->valid_devs[0]); in test_device_configure_invalid_queue_pair_ids()
1529 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1532 ts_params->valid_devs[0], ts_params->conf.nb_queue_pairs); in test_device_configure_invalid_queue_pair_ids()
1537 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1540 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1547 TEST_ASSERT_FAIL(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1551 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1558 TEST_ASSERT_FAIL(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1562 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1569 TEST_ASSERT_FAIL(rte_cryptodev_configure(ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1573 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1592 rte_cryptodev_stop(ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1594 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in test_queue_pair_descriptor_setup()
1597 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1609 ts_params->valid_devs[0], qp_id, &qp_conf, in test_queue_pair_descriptor_setup()
1611 ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1616 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1623 ts_params->valid_devs[0], qp_id, &qp_conf, in test_queue_pair_descriptor_setup()
1625 ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1630 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1637 ts_params->valid_devs[0], qp_id, &qp_conf, in test_queue_pair_descriptor_setup()
1639 ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1644 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1651 ts_params->valid_devs[0], qp_id, &qp_conf, in test_queue_pair_descriptor_setup()
1653 ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1658 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1667 ts_params->valid_devs[0], in test_queue_pair_descriptor_setup()
1669 rte_cryptodev_socket_id(ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1672 qp_id, ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1677 ts_params->valid_devs[0], in test_queue_pair_descriptor_setup()
1679 rte_cryptodev_socket_id(ts_params->valid_devs[0])), in test_queue_pair_descriptor_setup()
1682 qp_id, ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
2156 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2161 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2200 status = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2240 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2244 process_crypto_request(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2397 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2400 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2404 process_crypto_request(ts_params->valid_devs[0], in test_AES_CBC_HMAC_SHA512_decrypt_perform()
3120 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_authentication()
3142 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_authentication()
3147 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_snow3g_authentication()
3179 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_authentication()
3182 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_authentication()
3211 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_authentication_verify()
3233 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_authentication_verify()
3238 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_snow3g_authentication_verify()
3271 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_authentication_verify()
3274 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_authentication_verify()
3302 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_authentication()
3318 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_authentication()
3323 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_kasumi_authentication()
3355 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_kasumi_authentication()
3358 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_authentication()
3361 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_authentication()
3391 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_authentication_verify()
3407 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_authentication_verify()
3412 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_kasumi_authentication_verify()
3445 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_authentication_verify()
3448 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_authentication_verify()
3615 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_encryption()
3631 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_encryption()
3636 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_encryption()
3669 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_encryption()
3672 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption()
3715 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_encryption_sgl()
3719 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_encryption_sgl()
3739 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_encryption_sgl()
3768 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_encryption_sgl()
3771 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption_sgl()
3815 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_encryption_oop()
3826 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_encryption_oop()
3860 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption_oop()
3902 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_encryption_oop_sgl()
3912 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_encryption_oop_sgl()
3923 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_encryption_oop_sgl()
3953 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption_oop_sgl()
3993 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_decryption_oop()
4004 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_decryption_oop()
4038 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_decryption_oop()
4073 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_decryption()
4089 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_decryption()
4094 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_kasumi_decryption()
4127 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_decryption()
4130 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_decryption()
4165 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_encryption()
4181 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_encryption()
4186 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_encryption()
4219 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_encryption()
4222 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption()
4256 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_encryption_oop()
4269 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_encryption_oop()
4280 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_encryption_oop()
4320 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_encryption_oop()
4323 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_oop()
4362 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_encryption_oop_sgl()
4372 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_encryption_oop_sgl()
4390 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_encryption_oop_sgl()
4424 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_encryption_oop_sgl()
4427 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_oop_sgl()
4484 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_encryption_offset_oop()
4497 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_encryption_offset_oop()
4508 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_encryption_offset_oop()
4555 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_encryption_offset_oop()
4558 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_offset_oop()
4603 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_decryption()
4619 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_decryption()
4624 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_decryption()
4657 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_decryption()
4660 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_decryption()
4691 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_decryption_oop()
4703 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_decryption_oop()
4714 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_snow3g_decryption_oop()
4757 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_decryption_oop()
4760 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_decryption_oop()
4794 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_cipher_auth()
4817 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_cipher_auth()
4825 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_zuc_cipher_auth()
4831 ts_params->valid_devs[0], in test_zuc_cipher_auth()
4857 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_cipher_auth()
4860 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_cipher_auth()
4902 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_cipher_auth()
4918 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_cipher_auth()
4923 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_cipher_auth()
4928 retval = create_wireless_algo_cipher_auth_session(ts_params->valid_devs[0], in test_snow3g_cipher_auth()
4969 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_cipher_auth()
4972 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_cipher_auth()
5022 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_auth_cipher()
5027 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_auth_cipher()
5034 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_auth_cipher()
5055 ts_params->valid_devs[0], in test_snow3g_auth_cipher()
5119 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_auth_cipher()
5122 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_auth_cipher()
5217 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_auth_cipher_sgl()
5222 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_snow3g_auth_cipher_sgl()
5229 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_auth_cipher_sgl()
5260 ts_params->valid_devs[0], in test_snow3g_auth_cipher_sgl()
5326 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_snow3g_auth_cipher_sgl()
5329 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_auth_cipher_sgl()
5428 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_auth_cipher()
5433 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_auth_cipher()
5437 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_auth_cipher()
5461 ts_params->valid_devs[0], in test_kasumi_auth_cipher()
5527 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_auth_cipher()
5530 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_auth_cipher()
5622 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_auth_cipher_sgl()
5627 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_auth_cipher_sgl()
5634 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_auth_cipher_sgl()
5665 ts_params->valid_devs[0], in test_kasumi_auth_cipher_sgl()
5731 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_auth_cipher_sgl()
5734 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_auth_cipher_sgl()
5821 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_kasumi_cipher_auth()
5837 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_cipher_auth()
5842 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_kasumi_cipher_auth()
5848 ts_params->valid_devs[0], in test_kasumi_cipher_auth()
5889 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_kasumi_cipher_auth()
5892 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_cipher_auth()
5937 cap = rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in check_cipher_capability()
5965 cap = rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in check_auth_capability()
5992 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_encryption()
6010 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_zuc_encryption()
6043 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_encryption()
6046 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_encryption()
6089 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_encryption_sgl()
6118 retval = create_wireless_algo_cipher_session(ts_params->valid_devs[0], in test_zuc_encryption_sgl()
6138 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_encryption_sgl()
6141 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_encryption_sgl()
6179 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_authentication()
6204 retval = create_wireless_algo_hash_session(ts_params->valid_devs[0], in test_zuc_authentication()
6236 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_authentication()
6239 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_authentication()
6284 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_auth_cipher()
6316 ts_params->valid_devs[0], in test_zuc_auth_cipher()
6382 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_auth_cipher()
6385 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_auth_cipher()
6484 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_zuc_auth_cipher_sgl()
6516 ts_params->valid_devs[0], in test_zuc_auth_cipher_sgl()
6582 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_zuc_auth_cipher_sgl()
6585 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_zuc_auth_cipher_sgl()
6876 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_snow3g_decryption_with_digest_test_case_1()
7320 uint8_t dev_id = testsuite_params.valid_devs[0]; in test_mixed_check_if_unsupported()
7363 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_mixed_auth_cipher()
7375 ts_params->valid_devs[0], in test_mixed_auth_cipher()
7385 ts_params->valid_devs[0], in test_mixed_auth_cipher()
7448 op = process_crypto_request(ts_params->valid_devs[0], ut_params->op); in test_mixed_auth_cipher()
7560 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_mixed_auth_cipher_sgl()
7585 ts_params->valid_devs[0], in test_mixed_auth_cipher_sgl()
7595 ts_params->valid_devs[0], in test_mixed_auth_cipher_sgl()
7657 op = process_crypto_request(ts_params->valid_devs[0], ut_params->op); in test_mixed_auth_cipher_sgl()
8215 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encryption()
8230 ts_params->valid_devs[0], &cap_idx); in test_authenticated_encryption()
8239 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_encryption()
8271 process_cpu_aead_op(ts_params->valid_devs[0], ut_params->op); in test_authenticated_encryption()
8273 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_encryption()
8277 process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption()
8330 ts_params->valid_devs[0]); in security_proto_supported()
8372 ts_params->valid_devs[0]); in test_pdcp_proto()
8486 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) in test_pdcp_proto()
8560 ts_params->valid_devs[0]); in test_pdcp_proto_SGL()
8563 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_pdcp_proto_SGL()
8764 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_pdcp_proto_SGL()
8767 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_pdcp_proto_SGL()
9149 uint8_t dev_id = ts_params->valid_devs[0]; in test_ipsec_proto_process()
10185 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_PDCP_PROTO_all()
10254 ts_params->valid_devs[0]); in test_docsis_proto_uplink()
10382 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) == in test_docsis_proto_uplink()
10439 ts_params->valid_devs[0]); in test_docsis_proto_downlink()
10566 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) == in test_docsis_proto_downlink()
10869 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decryption()
10884 ts_params->valid_devs[0], &cap_idx); in test_authenticated_decryption()
10893 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_decryption()
10925 process_cpu_aead_op(ts_params->valid_devs[0], ut_params->op); in test_authenticated_decryption()
10927 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decryption()
10931 process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decryption()
11220 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encryption_oop()
11224 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encryption_oop()
11236 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_encryption_oop()
11266 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_encryption_oop()
11269 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption_oop()
11317 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decryption_oop()
11324 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decryption_oop()
11340 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_decryption_oop()
11370 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decryption_oop()
11373 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decryption_oop()
11416 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encryption_sessionless()
11432 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encryption_sessionless()
11465 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption_sessionless()
11518 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decryption_sessionless()
11540 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decryption_sessionless()
11574 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decryption_sessionless()
11578 ts_params->valid_devs[0], ut_params->op), in test_authenticated_decryption_sessionless()
11732 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_stats()
11737 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_stats()
11741 if (rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats) in test_stats()
11745 rte_cryptodev_stats_reset(ts_params->valid_devs[0]); in test_stats()
11746 TEST_ASSERT((rte_cryptodev_stats_get(ts_params->valid_devs[0] + 600, in test_stats()
11749 TEST_ASSERT((rte_cryptodev_stats_get(ts_params->valid_devs[0], 0) != 0), in test_stats()
11754 TEST_ASSERT_SUCCESS(rte_cryptodev_stats_get(ts_params->valid_devs[0], in test_stats()
11767 rte_cryptodev_stats_reset(ts_params->valid_devs[0] + 300); in test_stats()
11768 TEST_ASSERT_SUCCESS(rte_cryptodev_stats_get(ts_params->valid_devs[0], in test_stats()
11775 rte_cryptodev_stats_reset(ts_params->valid_devs[0]); in test_stats()
11776 TEST_ASSERT_SUCCESS(rte_cryptodev_stats_get(ts_params->valid_devs[0], in test_stats()
11813 status = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in MD5_HMAC_create_session()
11874 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_MD5_HMAC_generate()
11887 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_MD5_HMAC_generate()
11908 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_MD5_HMAC_generate()
11911 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_MD5_HMAC_generate()
11915 process_crypto_request(ts_params->valid_devs[0], in test_MD5_HMAC_generate()
11947 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_MD5_HMAC_verify()
11960 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_MD5_HMAC_verify()
11979 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_MD5_HMAC_verify()
11982 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_MD5_HMAC_verify()
11986 process_crypto_request(ts_params->valid_devs[0], in test_MD5_HMAC_verify()
12036 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_multi_session()
12041 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_multi_session()
12049 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_multi_session()
12065 ts_params->valid_devs[0], in test_multi_session()
12103 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_multi_session()
12110 rte_cryptodev_sym_session_clear(ts_params->valid_devs[0], in test_multi_session()
12169 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_multi_session_random_usage()
12174 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_multi_session_random_usage()
12178 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_multi_session_random_usage()
12200 ts_params->valid_devs[0], in test_multi_session_random_usage()
12247 rte_cryptodev_sym_session_clear(ts_params->valid_devs[0], in test_multi_session_random_usage()
12285 ret = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_invalid_operation()
12303 ret = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_invalid_operation()
12351 status = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_burst_operation()
12380 TEST_ASSERT_EQUAL(rte_cryptodev_enqueue_burst(ts_params->valid_devs[0], in test_null_burst_operation()
12385 TEST_ASSERT_EQUAL(rte_cryptodev_dequeue_burst(ts_params->valid_devs[0], in test_null_burst_operation()
12458 rte_cryptodev_stop(ts_params->valid_devs[0]); in test_enq_callback_setup()
12460 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_enq_callback_setup()
12462 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in test_enq_callback_setup()
12465 ts_params->valid_devs[0]); in test_enq_callback_setup()
12472 ts_params->valid_devs[0], qp_id, &qp_conf, in test_enq_callback_setup()
12473 rte_cryptodev_socket_id(ts_params->valid_devs[0])), in test_enq_callback_setup()
12478 ts_params->valid_devs[0]); in test_enq_callback_setup()
12488 cb = rte_cryptodev_add_enq_callback(ts_params->valid_devs[0], in test_enq_callback_setup()
12494 ts_params->valid_devs[0]); in test_enq_callback_setup()
12497 cb = rte_cryptodev_add_enq_callback(ts_params->valid_devs[0], in test_enq_callback_setup()
12501 qp_id, ts_params->valid_devs[0]); in test_enq_callback_setup()
12504 cb = rte_cryptodev_add_enq_callback(ts_params->valid_devs[0], in test_enq_callback_setup()
12508 qp_id, ts_params->valid_devs[0]); in test_enq_callback_setup()
12510 rte_cryptodev_start(ts_params->valid_devs[0]); in test_enq_callback_setup()
12526 ts_params->valid_devs[0], in test_enq_callback_setup()
12532 ts_params->valid_devs[0], qp_id, NULL), in test_enq_callback_setup()
12537 ts_params->valid_devs[0], qp_id, cb), in test_enq_callback_setup()
12540 qp_id, ts_params->valid_devs[0]); in test_enq_callback_setup()
12558 rte_cryptodev_stop(ts_params->valid_devs[0]); in test_deq_callback_setup()
12560 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_deq_callback_setup()
12562 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in test_deq_callback_setup()
12565 ts_params->valid_devs[0]); in test_deq_callback_setup()
12572 ts_params->valid_devs[0], qp_id, &qp_conf, in test_deq_callback_setup()
12573 rte_cryptodev_socket_id(ts_params->valid_devs[0])), in test_deq_callback_setup()
12578 ts_params->valid_devs[0]); in test_deq_callback_setup()
12588 cb = rte_cryptodev_add_deq_callback(ts_params->valid_devs[0], in test_deq_callback_setup()
12594 ts_params->valid_devs[0]); in test_deq_callback_setup()
12597 cb = rte_cryptodev_add_deq_callback(ts_params->valid_devs[0], in test_deq_callback_setup()
12601 qp_id, ts_params->valid_devs[0]); in test_deq_callback_setup()
12604 cb = rte_cryptodev_add_deq_callback(ts_params->valid_devs[0], in test_deq_callback_setup()
12608 qp_id, ts_params->valid_devs[0]); in test_deq_callback_setup()
12610 rte_cryptodev_start(ts_params->valid_devs[0]); in test_deq_callback_setup()
12626 ts_params->valid_devs[0], in test_deq_callback_setup()
12632 ts_params->valid_devs[0], qp_id, NULL), in test_deq_callback_setup()
12637 ts_params->valid_devs[0], qp_id, cb), in test_deq_callback_setup()
12640 qp_id, ts_params->valid_devs[0]); in test_deq_callback_setup()
12793 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_AES_GMAC_authentication()
12814 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_GMAC_authentication()
12818 retval = create_gmac_session(ts_params->valid_devs[0], in test_AES_GMAC_authentication()
12864 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_AES_GMAC_authentication()
12867 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_AES_GMAC_authentication()
12871 process_crypto_request(ts_params->valid_devs[0], in test_AES_GMAC_authentication()
12929 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_AES_GMAC_authentication_verify()
12945 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_GMAC_authentication_verify()
12949 retval = create_gmac_session(ts_params->valid_devs[0], in test_AES_GMAC_authentication_verify()
12996 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_AES_GMAC_authentication_verify()
12999 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_AES_GMAC_authentication_verify()
13003 process_crypto_request(ts_params->valid_devs[0], in test_AES_GMAC_authentication_verify()
13060 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_AES_GMAC_authentication_SGL()
13065 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_AES_GMAC_authentication_SGL()
13078 retval = create_gmac_session(ts_params->valid_devs[0], in test_AES_GMAC_authentication_SGL()
13156 process_crypto_request(ts_params->valid_devs[0], in test_AES_GMAC_authentication_SGL()
13680 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authentication_verify_fail_when_data_corruption()
13693 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authentication_verify_fail_when_data_corruption()
13700 ts_params->valid_devs[0], in test_authentication_verify_fail_when_data_corruption()
13737 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authentication_verify_fail_when_data_corruption()
13743 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authentication_verify_fail_when_data_corruption()
13746 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_authentication_verify_fail_when_data_corruption()
13768 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authentication_verify_GMAC_fail_when_corruption()
13781 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authentication_verify_GMAC_fail_when_corruption()
13787 ts_params->valid_devs[0], in test_authentication_verify_GMAC_fail_when_corruption()
13824 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authentication_verify_GMAC_fail_when_corruption()
13830 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authentication_verify_GMAC_fail_when_corruption()
13833 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_authentication_verify_GMAC_fail_when_corruption()
13853 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decryption_fail_when_corruption()
13866 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
13871 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
13877 ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
13915 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
13921 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decryption_fail_when_corruption()
13924 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decryption_fail_when_corruption()
13947 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encrypt_with_esn()
13960 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encrypt_with_esn()
13965 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encrypt_with_esn()
13999 status = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_authenticated_encrypt_with_esn()
14031 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authenticated_encrypt_with_esn()
14034 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_encrypt_with_esn()
14038 ts_params->valid_devs[0], ut_params->op); in test_authenticated_encrypt_with_esn()
14084 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_decrypt_with_esn()
14097 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
14102 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
14135 retval = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
14168 process_cpu_crypt_auth_op(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
14171 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_decrypt_with_esn()
14174 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
14298 if (rte_cryptodev_sym_capability_get(ts_params->valid_devs[0], in test_authenticated_encryption_SGL()
14307 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_authenticated_encryption_SGL()
14376 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_encryption_SGL()
14522 process_cpu_aead_op(ts_params->valid_devs[0], ut_params->op); in test_authenticated_encryption_SGL()
14524 process_sym_raw_dp_op(ts_params->valid_devs[0], 0, in test_authenticated_encryption_SGL()
14528 process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption_SGL()
14826 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_attach_worker_op()
14937 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_detach_worker_op()
14955 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_mode_op()