TF-M Reference Manual
1.2.0
TrustedFirmware-M
Main Page
Modules
Data Structures
Files
File List
Globals
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
22
struct
tfm_core_test_call_args_t
{
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__ */
tfm_core_test_call_args_t
This structure is to pass iovec arguments to the tfm_core_test_call function.
Definition:
core_test_api.h:22
tfm_core_test_call_args_t::in_len
size_t in_len
Definition:
core_test_api.h:24
psa_outvec
Definition:
client.h:74
psa_invec
Definition:
client.h:66
tfm_core_test_call_args_t::out_vec
struct psa_outvec * out_vec
Definition:
core_test_api.h:25
tfm_core_test_call_args_t::in_vec
struct psa_invec * in_vec
Definition:
core_test_api.h:23
tfm_core_test_call_args_t::out_len
size_t out_len
Definition:
core_test_api.h:26
tfm_core_test_call
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.
test
suites
core
non_secure
core_test_api.h
Generated on Thu Feb 18 2021 13:29:11 for TF-M Reference Manual by
1.8.6