TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
core_test_api.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __CORE_TEST_API_H__
9 #define __CORE_TEST_API_H__
10 
11 #include <stdio.h>
12 #include "cmsis_compiler.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
23  struct psa_invec *in_vec;
24  size_t in_len;
25  struct psa_outvec *out_vec;
26  size_t out_len;
27 };
28 
37 int32_t tfm_core_test_call(int32_t (*fn_ptr)(),
38  struct tfm_core_test_call_args_t *args);
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* __CORE_TEST_API_H__ */
This structure is to pass iovec arguments to the tfm_core_test_call function.
Definition: core_test_api.h:22
struct psa_outvec * out_vec
Definition: core_test_api.h:25
struct psa_invec * in_vec
Definition: core_test_api.h:23
int32_t tfm_core_test_call(int32_t(*fn_ptr)(), struct tfm_core_test_call_args_t *args)
Calls the secure function provided in fn_ptr.