TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_veneers.c File Reference
#include "tfm_secure_api.h"
#include "spm_partition_defs.h"
Include dependency graph for tfm_veneers.c:

Go to the source code of this file.

Macros

#define TFM_VENEER_FUNCTION(partition_name, sfn_name)
 

Macro Definition Documentation

#define TFM_VENEER_FUNCTION (   partition_name,
  sfn_name 
)
Value:
psa_status_t tfm_##sfn_name##_veneer(psa_invec *in_vec, \
size_t in_len, \
psa_outvec *out_vec, \
size_t out_len) \
{ \
bool is_ns = tfm_core_is_ns_client(); \
TFM_CORE_IOVEC_SFN_REQUEST(partition_name, \
is_ns, \
(void *) sfn_name, \
in_vec, in_len, out_vec, out_len); \
}
__STATIC_INLINE bool tfm_core_is_ns_client(void)
#define TFM_CORE_IOVEC_SFN_REQUEST(id, is_ns, fn, a, b, c, d)
int32_t psa_status_t
Function return status.
Definition: crypto_types.h:43

Definition at line 167 of file tfm_veneers.c.