MCPcopy Create free account
hub / github.com/F-Stack/f-stack / check_negative_all_devices

Function check_negative_all_devices

dpdk/app/test/test_cryptodev_crosscheck.c:870–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

868}
869
870static int
871check_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
893static int
894crosscheck_with_profile_run(const struct crosscheck_test_profile *profile)

Callers 1

Calls 1

single_dev_processFunction · 0.85

Tested by

no test coverage detected