| 868 | } |
| 869 | |
| 870 | static int |
| 871 | check_negative_all_devices(const struct crosscheck_test_profile *profile, |
| 872 | enum crypto_op_type op_type, const uint8_t *input_text, |
| 873 | uint16_t input_len) |
| 874 | { |
| 875 | struct crosscheck_testsuite_params *ts_params = &testsuite_params; |
| 876 | |
| 877 | uint8_t output_text[MBUF_SIZE]; |
| 878 | uint8_t i, dev_id; |
| 879 | uint16_t len; |
| 880 | int status; |
| 881 | |
| 882 | for (i = 0; i < ts_params->valid_dev_count; i++) { |
| 883 | dev_id = ts_params->valid_devs[i]; |
| 884 | status = single_dev_process(profile, dev_id, op_type, input_text, input_len, |
| 885 | output_text, &len); |
| 886 | TEST_ASSERT_FAIL(status, "Error occurred during processing negative case"); |
| 887 | |
| 888 | } |
| 889 | |
| 890 | return TEST_SUCCESS; |
| 891 | } |
| 892 | |
| 893 | static int |
| 894 | crosscheck_with_profile_run(const struct crosscheck_test_profile *profile) |
no test coverage detected