Lines Matching refs:ts_params

496 	struct crypto_testsuite_params *ts_params = &testsuite_params;  in testsuite_setup()  local
502 memset(ts_params, 0, sizeof(*ts_params)); in testsuite_setup()
504 ts_params->mbuf_pool = rte_mempool_lookup("CRYPTO_MBUFPOOL"); in testsuite_setup()
505 if (ts_params->mbuf_pool == NULL) { in testsuite_setup()
507 ts_params->mbuf_pool = rte_pktmbuf_pool_create( in testsuite_setup()
511 if (ts_params->mbuf_pool == NULL) { in testsuite_setup()
517 ts_params->large_mbuf_pool = rte_mempool_lookup( in testsuite_setup()
519 if (ts_params->large_mbuf_pool == NULL) { in testsuite_setup()
521 ts_params->large_mbuf_pool = rte_pktmbuf_pool_create( in testsuite_setup()
525 if (ts_params->large_mbuf_pool == NULL) { in testsuite_setup()
532 ts_params->op_mpool = rte_crypto_op_pool_create( in testsuite_setup()
540 if (ts_params->op_mpool == NULL) { in testsuite_setup()
766 ts_params->valid_devs[ts_params->valid_dev_count++] = i; in testsuite_setup()
769 if (ts_params->valid_dev_count < 1) in testsuite_setup()
774 dev_id = ts_params->valid_devs[0]; in testsuite_setup()
778 ts_params->conf.nb_queue_pairs = info.max_nb_queue_pairs; in testsuite_setup()
779 ts_params->conf.socket_id = SOCKET_ID_ANY; in testsuite_setup()
780 ts_params->conf.ff_disable = RTE_CRYPTODEV_FF_SECURITY; in testsuite_setup()
803 ts_params->session_mpool = rte_cryptodev_sym_session_pool_create( in testsuite_setup()
806 TEST_ASSERT_NOT_NULL(ts_params->session_mpool, in testsuite_setup()
809 ts_params->session_priv_mpool = rte_mempool_create( in testsuite_setup()
816 TEST_ASSERT_NOT_NULL(ts_params->session_priv_mpool, in testsuite_setup()
822 &ts_params->conf), in testsuite_setup()
824 dev_id, ts_params->conf.nb_queue_pairs); in testsuite_setup()
826 ts_params->qp_conf.nb_descriptors = MAX_NUM_OPS_INFLIGHT; in testsuite_setup()
827 ts_params->qp_conf.mp_session = ts_params->session_mpool; in testsuite_setup()
828 ts_params->qp_conf.mp_session_private = ts_params->session_priv_mpool; in testsuite_setup()
832 dev_id, qp_id, &ts_params->qp_conf, in testsuite_setup()
844 struct crypto_testsuite_params *ts_params = &testsuite_params; in testsuite_teardown() local
846 if (ts_params->mbuf_pool != NULL) { in testsuite_teardown()
848 rte_mempool_avail_count(ts_params->mbuf_pool)); in testsuite_teardown()
851 if (ts_params->op_mpool != NULL) { in testsuite_teardown()
853 rte_mempool_avail_count(ts_params->op_mpool)); in testsuite_teardown()
857 if (ts_params->session_priv_mpool != NULL) { in testsuite_teardown()
858 rte_mempool_free(ts_params->session_priv_mpool); in testsuite_teardown()
859 ts_params->session_priv_mpool = NULL; in testsuite_teardown()
862 if (ts_params->session_mpool != NULL) { in testsuite_teardown()
863 rte_mempool_free(ts_params->session_mpool); in testsuite_teardown()
864 ts_params->session_mpool = NULL; in testsuite_teardown()
871 struct crypto_testsuite_params *ts_params = &testsuite_params; in dev_configure_and_start() local
880 ts_params->conf.socket_id = SOCKET_ID_ANY; in dev_configure_and_start()
881 ts_params->conf.ff_disable = ff_disable; in dev_configure_and_start()
882 ts_params->qp_conf.nb_descriptors = MAX_NUM_OPS_INFLIGHT; in dev_configure_and_start()
883 ts_params->qp_conf.mp_session = ts_params->session_mpool; in dev_configure_and_start()
884 ts_params->qp_conf.mp_session_private = ts_params->session_priv_mpool; in dev_configure_and_start()
886 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(ts_params->valid_devs[0], in dev_configure_and_start()
887 &ts_params->conf), in dev_configure_and_start()
889 ts_params->valid_devs[0]); in dev_configure_and_start()
891 for (qp_id = 0; qp_id < ts_params->conf.nb_queue_pairs ; qp_id++) { in dev_configure_and_start()
893 ts_params->valid_devs[0], qp_id, in dev_configure_and_start()
894 &ts_params->qp_conf, 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()
928 struct crypto_testsuite_params *ts_params = &testsuite_params; in ut_teardown() local
937 (ts_params->valid_devs[0]), in ut_teardown()
946 ts_params->valid_devs[0], in ut_teardown()
973 if (ts_params->mbuf_pool != NULL) in ut_teardown()
975 rte_mempool_avail_count(ts_params->mbuf_pool)); 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()
986 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_device_configure_invalid_dev_id() local
993 dev_id = ts_params->valid_devs[0]; in test_device_configure_invalid_dev_id()
998 TEST_ASSERT_SUCCESS(rte_cryptodev_configure(dev_id, &ts_params->conf), in test_device_configure_invalid_dev_id()
1005 TEST_ASSERT_FAIL(rte_cryptodev_configure(dev_id, &ts_params->conf), in test_device_configure_invalid_dev_id()
1011 TEST_ASSERT_FAIL(rte_cryptodev_configure(dev_id, &ts_params->conf), in test_device_configure_invalid_dev_id()
1021 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_device_configure_invalid_queue_pair_ids() local
1022 uint16_t orig_nb_qps = ts_params->conf.nb_queue_pairs; in test_device_configure_invalid_queue_pair_ids()
1025 rte_cryptodev_stop(ts_params->valid_devs[0]); in test_device_configure_invalid_queue_pair_ids()
1028 ts_params->conf.nb_queue_pairs = orig_nb_qps; 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()
1031 &ts_params->conf), 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()
1036 ts_params->conf.nb_queue_pairs = 1; 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()
1039 &ts_params->conf), in test_device_configure_invalid_queue_pair_ids()
1041 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1042 ts_params->conf.nb_queue_pairs); in test_device_configure_invalid_queue_pair_ids()
1046 ts_params->conf.nb_queue_pairs = 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()
1049 &ts_params->conf), in test_device_configure_invalid_queue_pair_ids()
1052 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1053 ts_params->conf.nb_queue_pairs); in test_device_configure_invalid_queue_pair_ids()
1057 ts_params->conf.nb_queue_pairs = UINT16_MAX; 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()
1060 &ts_params->conf), in test_device_configure_invalid_queue_pair_ids()
1063 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1064 ts_params->conf.nb_queue_pairs); in test_device_configure_invalid_queue_pair_ids()
1068 ts_params->conf.nb_queue_pairs = orig_nb_qps + 1; 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()
1071 &ts_params->conf), in test_device_configure_invalid_queue_pair_ids()
1074 ts_params->valid_devs[0], in test_device_configure_invalid_queue_pair_ids()
1075 ts_params->conf.nb_queue_pairs); in test_device_configure_invalid_queue_pair_ids()
1078 ts_params->conf.nb_queue_pairs = orig_nb_qps; in test_device_configure_invalid_queue_pair_ids()
1086 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_queue_pair_descriptor_setup() local
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()
1096 &ts_params->conf), in test_queue_pair_descriptor_setup()
1098 ts_params->valid_devs[0]); in test_queue_pair_descriptor_setup()
1105 qp_conf.mp_session = ts_params->session_mpool; in test_queue_pair_descriptor_setup()
1106 qp_conf.mp_session_private = ts_params->session_priv_mpool; in test_queue_pair_descriptor_setup()
1108 for (qp_id = 0; qp_id < ts_params->conf.nb_queue_pairs; qp_id++) { 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()
1122 for (qp_id = 0; qp_id < ts_params->conf.nb_queue_pairs; qp_id++) { 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()
1136 for (qp_id = 0; qp_id < ts_params->conf.nb_queue_pairs; qp_id++) { 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()
1150 for (qp_id = 0; qp_id < ts_params->conf.nb_queue_pairs; qp_id++) { 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()
1165 qp_id = ts_params->conf.nb_queue_pairs; /*invalid */ 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()
1649 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_AES_CBC_HMAC_SHA1_encrypt_digest() local
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()
1666 ut_params->ibuf = setup_test_string(ts_params->mbuf_pool, in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1696 ts_params->session_mpool); 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()
1701 ts_params->session_priv_mpool); in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1705 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, 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()
1803 struct crypto_testsuite_params *ts_params,
1844 struct crypto_testsuite_params *ts_params, in test_AES_CBC_HMAC_SHA512_decrypt_perform() argument
1850 ut_params->ibuf = setup_test_string(ts_params->mbuf_pool, in test_AES_CBC_HMAC_SHA512_decrypt_perform()
1864 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in test_AES_CBC_HMAC_SHA512_decrypt_perform()
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()
1925 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_blockcipher() local
1928 status = test_blockcipher_all_tests(ts_params->mbuf_pool, in test_blockcipher()
1929 ts_params->op_mpool, in test_blockcipher()
1930 ts_params->session_mpool, ts_params->session_priv_mpool, in test_blockcipher()
1931 ts_params->valid_devs[0], in test_blockcipher()
2007 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_hash_session() local
2026 ts_params->session_mpool); in create_wireless_algo_hash_session()
2030 ts_params->session_priv_mpool); in create_wireless_algo_hash_session()
2045 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_cipher_session() local
2065 ts_params->session_mpool); in create_wireless_algo_cipher_session()
2069 ts_params->session_priv_mpool); in create_wireless_algo_cipher_session()
2080 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_cipher_operation() local
2084 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_wireless_algo_cipher_operation()
2110 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_cipher_operation_oop() local
2114 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_wireless_algo_cipher_operation_oop()
2150 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_cipher_auth_session() local
2184 ts_params->session_mpool); in create_wireless_algo_cipher_auth_session()
2189 ts_params->session_priv_mpool); in create_wireless_algo_cipher_auth_session()
2209 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_cipher_auth_session() local
2248 ts_params->session_mpool); in create_wireless_cipher_auth_session()
2252 ts_params->session_priv_mpool); in create_wireless_cipher_auth_session()
2283 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_auth_cipher_session() local
2314 ts_params->session_mpool); in create_wireless_algo_auth_cipher_session()
2322 ts_params->session_priv_mpool); in create_wireless_algo_auth_cipher_session()
2327 ts_params->session_priv_mpool); in create_wireless_algo_auth_cipher_session()
2345 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_hash_operation() local
2350 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_wireless_algo_hash_operation()
2394 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_cipher_hash_operation() local
2410 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_wireless_cipher_hash_operation()
2473 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_cipher_hash_operation() local
2482 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_wireless_algo_cipher_hash_operation()
2566 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_wireless_algo_auth_cipher_operation() local
2575 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_wireless_algo_auth_cipher_operation()
2659 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_authentication() local
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()
2704 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
2750 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_authentication_verify() local
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()
2794 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
2841 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_authentication() local
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()
2880 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
2930 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_authentication_verify() local
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()
2968 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
3154 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_encryption() local
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()
3192 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
3246 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_encryption_sgl() local
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()
3302 ut_params->ibuf = create_segmented_mbuf(ts_params->mbuf_pool, 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()
3350 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_encryption_oop() local
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()
3382 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_kasumi_encryption_oop()
3383 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_kasumi_encryption_oop()
3408 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption_oop()
3434 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_encryption_oop_sgl() local
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()
3484 ut_params->ibuf = create_segmented_mbuf(ts_params->mbuf_pool, in test_kasumi_encryption_oop_sgl()
3486 ut_params->obuf = create_segmented_mbuf(ts_params->mbuf_pool, in test_kasumi_encryption_oop_sgl()
3501 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_encryption_oop_sgl()
3529 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_decryption_oop() local
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()
3560 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_kasumi_decryption_oop()
3561 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_kasumi_decryption_oop()
3586 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_kasumi_decryption_oop()
3612 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_decryption() local
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()
3650 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
3704 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_encryption() local
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()
3742 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
3795 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_encryption_oop() local
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()
3826 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_snow3g_encryption_oop()
3827 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_snow3g_encryption_oop()
3857 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_oop()
3881 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_encryption_oop_sgl() local
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()
3931 ut_params->ibuf = create_segmented_mbuf(ts_params->mbuf_pool, in test_snow3g_encryption_oop_sgl()
3933 ut_params->obuf = create_segmented_mbuf(ts_params->mbuf_pool, in test_snow3g_encryption_oop_sgl()
3951 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_oop_sgl()
3998 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_encryption_offset_oop() local
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()
4040 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_snow3g_encryption_offset_oop()
4041 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_snow3g_encryption_offset_oop()
4078 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_encryption_offset_oop()
4113 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_decryption() local
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()
4152 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
4201 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_decryption_oop() local
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()
4233 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_snow3g_decryption_oop()
4234 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_snow3g_decryption_oop()
4267 ut_params->op = process_crypto_request(ts_params->valid_devs[0], in test_snow3g_decryption_oop()
4289 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_zuc_cipher_auth() local
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()
4342 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
4399 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_cipher_auth() local
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()
4445 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
4512 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_auth_cipher() local
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()
4576 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_snow3g_auth_cipher()
4578 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
4700 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_snow3g_auth_cipher_sgl() local
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()
4783 ut_params->ibuf = create_segmented_mbuf(ts_params->mbuf_pool, in test_snow3g_auth_cipher_sgl()
4789 ut_params->obuf = create_segmented_mbuf(ts_params->mbuf_pool, 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()
4911 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_auth_cipher() local
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()
4975 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_kasumi_auth_cipher()
4977 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
5101 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_auth_cipher_sgl() local
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()
5184 ut_params->ibuf = create_segmented_mbuf(ts_params->mbuf_pool, in test_kasumi_auth_cipher_sgl()
5190 ut_params->obuf = create_segmented_mbuf(ts_params->mbuf_pool, 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()
5311 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_kasumi_cipher_auth() local
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()
5359 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
5428 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_zuc_encryption() local
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()
5468 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
5520 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_zuc_encryption_sgl() local
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()
5566 ut_params->ibuf = create_segmented_mbuf(ts_params->mbuf_pool, 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()
5624 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_zuc_authentication() local
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()
5671 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
5718 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_zuc_auth_cipher() local
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()
5786 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_zuc_auth_cipher()
5788 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
5912 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_zuc_auth_cipher_sgl() local
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()
5989 ut_params->ibuf = create_segmented_mbuf(ts_params->mbuf_pool, in test_zuc_auth_cipher_sgl()
5995 ut_params->obuf = create_segmented_mbuf(ts_params->mbuf_pool, 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()
6745 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_mixed_auth_cipher() local
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()
6798 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_mixed_auth_cipher()
6800 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_mixed_auth_cipher()
6850 op = process_crypto_request(ts_params->valid_devs[0], ut_params->op); in test_mixed_auth_cipher()
6935 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_mixed_auth_cipher_sgl() local
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()
7010 ut_params->ibuf = create_segmented_mbuf(ts_params->mbuf_pool, in test_mixed_auth_cipher_sgl()
7016 ut_params->obuf = create_segmented_mbuf(ts_params->mbuf_pool, 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()
7386 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_aead_session() local
7407 ts_params->session_mpool); in create_aead_session()
7411 ts_params->session_priv_mpool); in create_aead_session()
7452 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_aead_operation() local
7459 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_aead_operation()
7601 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_authenticated_encryption() local
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()
7644 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->large_mbuf_pool); in test_authenticated_encryption()
7649 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
7717 struct crypto_testsuite_params *ts_params = &testsuite_params; in security_proto_supported() local
7725 ts_params->valid_devs[0]); in security_proto_supported()
7761 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_pdcp_proto() local
7767 ts_params->valid_devs[0]); in test_pdcp_proto()
7779 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_pdcp_proto()
7794 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_pdcp_proto()
7848 &sess_conf, ts_params->session_mpool, in test_pdcp_proto()
7849 ts_params->session_priv_mpool); in test_pdcp_proto()
7859 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in test_pdcp_proto()
7881 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) in test_pdcp_proto()
7942 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_pdcp_proto_SGL() local
7953 ts_params->valid_devs[0]); in test_pdcp_proto_SGL()
7985 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_pdcp_proto_SGL()
7991 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_pdcp_proto_SGL()
8015 buf->next = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_pdcp_proto_SGL()
8024 rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_pdcp_proto_SGL()
8057 rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_pdcp_proto_SGL()
8109 &sess_conf, ts_params->session_mpool, in test_pdcp_proto_SGL()
8110 ts_params->session_priv_mpool); in test_pdcp_proto_SGL()
8120 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in test_pdcp_proto_SGL()
8138 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) in test_pdcp_proto_SGL()
8459 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_PDCP_PROTO_all() local
8464 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_PDCP_PROTO_all()
8499 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_docsis_proto_uplink() local
8509 ts_params->valid_devs[0]); in test_docsis_proto_uplink()
8545 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_docsis_proto_uplink()
8576 ts_params->session_mpool, in test_docsis_proto_uplink()
8577 ts_params->session_priv_mpool); in test_docsis_proto_uplink()
8587 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in test_docsis_proto_uplink()
8629 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) == in test_docsis_proto_uplink()
8676 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_docsis_proto_downlink() local
8685 ts_params->valid_devs[0]); in test_docsis_proto_downlink()
8721 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_docsis_proto_downlink()
8752 ts_params->session_mpool, in test_docsis_proto_downlink()
8753 ts_params->session_priv_mpool); in test_docsis_proto_downlink()
8763 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in test_docsis_proto_downlink()
8804 if (process_crypto_request(ts_params->valid_devs[0], ut_params->op) == in test_docsis_proto_downlink()
8945 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_DOCSIS_PROTO_all() local
8950 rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); in test_DOCSIS_PROTO_all()
9227 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_authenticated_decryption() local
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()
9270 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->large_mbuf_pool); in test_authenticated_decryption()
9275 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
9574 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_authenticated_encryption_oop() local
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()
9606 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_encryption_oop()
9607 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_encryption_oop()
9626 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption_oop()
9667 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_authenticated_decryption_oop() local
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()
9697 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_decryption_oop()
9698 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_decryption_oop()
9716 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_decryption_oop()
9750 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_authenticated_encryption_sessionless() local
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()
9779 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_encryption_sessionless()
9808 TEST_ASSERT_NOT_NULL(process_crypto_request(ts_params->valid_devs[0], in test_authenticated_encryption_sessionless()
9853 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_authenticated_decryption_sessionless() local
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()
9888 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
10065 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_stats() local
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()
10130 static int MD5_HMAC_create_session(struct crypto_testsuite_params *ts_params, in MD5_HMAC_create_session() argument
10150 ts_params->session_mpool); in MD5_HMAC_create_session()
10152 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in MD5_HMAC_create_session()
10154 ts_params->session_priv_mpool); in MD5_HMAC_create_session()
10159 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in MD5_HMAC_create_session()
10210 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_MD5_HMAC_generate() local
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()
10231 if (MD5_HMAC_create_session(ts_params, ut_params, in test_MD5_HMAC_generate()
10236 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, 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()
10283 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_MD5_HMAC_verify() local
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()
10304 if (MD5_HMAC_create_session(ts_params, ut_params, in test_MD5_HMAC_verify()
10310 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, 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()
10363 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_multi_session() local
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()
10398 ts_params->session_mpool); in test_multi_session()
10400 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_multi_session()
10402 ts_params->session_priv_mpool); in test_multi_session()
10411 ts_params, in test_multi_session()
10438 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_multi_session()
10440 ts_params->session_priv_mpool); in test_multi_session()
10445 rte_cryptodev_sym_session_clear(ts_params->valid_devs[0], in test_multi_session()
10469 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_multi_session_random_usage() local
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()
10520 ts_params->session_mpool); in test_multi_session_random_usage()
10531 ts_params->valid_devs[0], in test_multi_session_random_usage()
10534 ts_params->session_priv_mpool); in test_multi_session_random_usage()
10551 ts_params, ut_paramz[j].cipher, in test_multi_session_random_usage()
10578 rte_cryptodev_sym_session_clear(ts_params->valid_devs[0], in test_multi_session_random_usage()
10596 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_null_invalid_operation() local
10613 ts_params->session_mpool); in test_null_invalid_operation()
10616 ret = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_invalid_operation()
10618 ts_params->session_priv_mpool); in test_null_invalid_operation()
10631 ts_params->session_mpool); in test_null_invalid_operation()
10634 ret = rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_invalid_operation()
10636 ts_params->session_priv_mpool); in test_null_invalid_operation()
10649 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_null_burst_operation() local
10677 ts_params->session_mpool); in test_null_burst_operation()
10680 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_null_burst_operation()
10682 ts_params->session_priv_mpool); in test_null_burst_operation()
10685 TEST_ASSERT_EQUAL(rte_crypto_op_bulk_alloc(ts_params->op_mpool, in test_null_burst_operation()
10691 struct rte_mbuf *m = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
10743 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_gmac_operation() local
10750 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_gmac_operation()
10794 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_gmac_operation_sgl() local
10799 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_gmac_operation_sgl()
10842 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_gmac_session() local
10860 ts_params->session_mpool); in create_gmac_session()
10864 ts_params->session_priv_mpool); in create_gmac_session()
10874 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_AES_GMAC_authentication() local
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()
10910 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->large_mbuf_pool); in test_AES_GMAC_authentication()
10912 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
11005 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_AES_GMAC_authentication_verify() local
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()
11039 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->large_mbuf_pool); in test_AES_GMAC_authentication_verify()
11041 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
11122 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_AES_GMAC_authentication_SGL() local
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()
11165 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_AES_GMAC_authentication_SGL()
11191 buf->next = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_AES_GMAC_authentication_SGL()
11235 process_crypto_request(ts_params->valid_devs[0], in test_AES_GMAC_authentication_SGL()
11489 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_auth_session() local
11505 ts_params->session_mpool); in create_auth_session()
11509 ts_params->session_priv_mpool); in create_auth_session()
11523 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_auth_cipher_session() local
11558 ts_params->session_mpool); in create_auth_cipher_session()
11562 ts_params->session_priv_mpool); in create_auth_cipher_session()
11570 create_auth_operation(struct crypto_testsuite_params *ts_params, in create_auth_operation() argument
11576 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_auth_operation()
11617 create_auth_GMAC_operation(struct crypto_testsuite_params *ts_params, in create_auth_GMAC_operation() argument
11623 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_auth_GMAC_operation()
11670 create_cipher_auth_operation(struct crypto_testsuite_params *ts_params, in create_cipher_auth_operation() argument
11676 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_cipher_auth_operation()
11723 create_auth_verify_operation(struct crypto_testsuite_params *ts_params, in create_auth_verify_operation() argument
11727 return create_auth_operation(ts_params, ut_params, reference, 0); in create_auth_verify_operation()
11732 struct crypto_testsuite_params *ts_params, in create_auth_verify_GMAC_operation() argument
11736 return create_auth_GMAC_operation(ts_params, ut_params, reference, 0); in create_auth_verify_GMAC_operation()
11740 create_cipher_auth_verify_operation(struct crypto_testsuite_params *ts_params, in create_cipher_auth_verify_operation() argument
11744 return create_cipher_auth_operation(ts_params, ut_params, reference, 0); in create_cipher_auth_verify_operation()
11749 struct crypto_testsuite_params *ts_params, in test_authentication_verify_fail_when_data_corruption() argument
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()
11785 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authentication_verify_fail_when_data_corruption()
11802 retval = create_auth_verify_operation(ts_params, ut_params, reference); 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()
11832 struct crypto_testsuite_params *ts_params, in test_authentication_verify_GMAC_fail_when_corruption() argument
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()
11867 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authentication_verify_GMAC_fail_when_corruption()
11884 retval = create_auth_verify_GMAC_operation(ts_params, 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()
11916 struct crypto_testsuite_params *ts_params, in test_authenticated_decryption_fail_when_corruption() argument
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()
11957 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_decryption_fail_when_corruption()
11972 retval = create_cipher_auth_verify_operation(ts_params, 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()
12004 struct crypto_testsuite_params *ts_params, in test_authenticated_encryt_with_esn() argument
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()
12065 ts_params->session_mpool); in test_authenticated_encryt_with_esn()
12067 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_authenticated_encryt_with_esn()
12070 ts_params->session_priv_mpool); in test_authenticated_encryt_with_esn()
12074 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_encryt_with_esn()
12088 retval = create_cipher_auth_operation(ts_params, 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()
12138 struct crypto_testsuite_params *ts_params, in test_authenticated_decrypt_with_esn() argument
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()
12197 ts_params->session_mpool); in test_authenticated_decrypt_with_esn()
12199 rte_cryptodev_sym_session_init(ts_params->valid_devs[0], in test_authenticated_decrypt_with_esn()
12202 ts_params->session_priv_mpool); in test_authenticated_decrypt_with_esn()
12206 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_decrypt_with_esn()
12221 retval = create_cipher_auth_verify_operation(ts_params, 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()
12254 struct crypto_testsuite_params *ts_params = &testsuite_params; in create_aead_operation_SGL() local
12263 ut_params->op = rte_crypto_op_alloc(ts_params->op_mpool, in create_aead_operation_SGL()
12344 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_authenticated_encryption_SGL() local
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()
12430 ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_encryption_SGL()
12437 retval = create_aead_session(ts_params->valid_devs[0], in test_authenticated_encryption_SGL()
12446 ut_params->ibuf = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_encryption_SGL()
12472 buf->next = rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_encryption_SGL()
12481 rte_pktmbuf_alloc(ts_params->mbuf_pool); in test_authenticated_encryption_SGL()
12535 rte_pktmbuf_alloc(ts_params->mbuf_pool); 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()
12679 struct crypto_testsuite_params *ts_params, in test_authentication_verify_fail_when_data_corrupted() argument
12684 ts_params, ut_params, reference, 1); in test_authentication_verify_fail_when_data_corrupted()
12689 struct crypto_testsuite_params *ts_params, in test_authentication_verify_fail_when_tag_corrupted() argument
12694 ts_params, ut_params, reference, 0); in test_authentication_verify_fail_when_tag_corrupted()
12699 struct crypto_testsuite_params *ts_params, in test_authentication_verify_GMAC_fail_when_data_corrupted() argument
12704 ts_params, ut_params, reference, 1); in test_authentication_verify_GMAC_fail_when_data_corrupted()
12709 struct crypto_testsuite_params *ts_params, in test_authentication_verify_GMAC_fail_when_tag_corrupted() argument
12714 ts_params, ut_params, reference, 0); in test_authentication_verify_GMAC_fail_when_tag_corrupted()
12719 struct crypto_testsuite_params *ts_params, in test_authenticated_decryption_fail_when_data_corrupted() argument
12724 ts_params, ut_params, reference, 1); in test_authenticated_decryption_fail_when_data_corrupted()
12729 struct crypto_testsuite_params *ts_params, in test_authenticated_decryption_fail_when_tag_corrupted() argument
12734 ts_params, ut_params, reference, 0); in test_authenticated_decryption_fail_when_tag_corrupted()
12825 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_scheduler_attach_slave_op() local
12826 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_attach_slave_op()
12865 if (ts_params->session_mpool) { in test_scheduler_attach_slave_op()
12866 rte_mempool_free(ts_params->session_mpool); in test_scheduler_attach_slave_op()
12867 ts_params->session_mpool = NULL; in test_scheduler_attach_slave_op()
12869 if (ts_params->session_priv_mpool) { in test_scheduler_attach_slave_op()
12870 rte_mempool_free(ts_params->session_priv_mpool); in test_scheduler_attach_slave_op()
12871 ts_params->session_priv_mpool = NULL; in test_scheduler_attach_slave_op()
12886 if (ts_params->session_mpool == NULL) { in test_scheduler_attach_slave_op()
12887 ts_params->session_mpool = in test_scheduler_attach_slave_op()
12892 TEST_ASSERT_NOT_NULL(ts_params->session_mpool, in test_scheduler_attach_slave_op()
12900 if (ts_params->session_priv_mpool == NULL) { in test_scheduler_attach_slave_op()
12901 ts_params->session_priv_mpool = rte_mempool_create( in test_scheduler_attach_slave_op()
12909 TEST_ASSERT_NOT_NULL(ts_params->session_priv_mpool, in test_scheduler_attach_slave_op()
12913 ts_params->qp_conf.mp_session = ts_params->session_mpool; in test_scheduler_attach_slave_op()
12914 ts_params->qp_conf.mp_session_private = in test_scheduler_attach_slave_op()
12915 ts_params->session_priv_mpool; in test_scheduler_attach_slave_op()
12935 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_scheduler_detach_slave_op() local
12936 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_detach_slave_op()
12953 struct crypto_testsuite_params *ts_params = &testsuite_params; in test_scheduler_mode_op() local
12954 uint8_t sched_id = ts_params->valid_devs[0]; in test_scheduler_mode_op()