1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2016-2017 Intel Corporation
5 #ifndef APP_CRYPTO_PERF_CPERF_TEST_VECTOR_PARSING_H_
6 #define APP_CRYPTO_PERF_CPERF_TEST_VECTOR_PARSING_H_
8 #define CPERF_VALUE_DELIMITER ","
9 #define CPERF_ENTRY_DELIMITER "="
12 * Frees the allocated memory for test vector
15 * Destination vector test to release
19 * 0 on success, (-1) on error.
22 free_test_vector(struct cperf_test_vector *vector, struct cperf_options *opts);
25 * Displays data in test vector
31 show_test_vector(struct cperf_test_vector *test_vector);
34 * Completes test vector with data from file
40 * Test vector pointer on successful.
42 struct cperf_test_vector*
43 cperf_test_vector_get_from_file(struct cperf_options *opts);
45 #endif /* APP_CRYPTO_PERF_CPERF_TEST_VECTOR_PARSING_H_ */