TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_secure_client_2_api.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __TFM_SECURE_CLIENT_2_API_H__
9 #define __TFM_SECURE_CLIENT_2_API_H__
10 
11 #include <stddef.h>
12 #include <stdint.h>
13 
14 #include "psa/error.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 #define TFM_SECURE_CLIENT_2_ID_ITS_ACCESS_CTRL 1001
21 #define TFM_SECURE_CLIENT_2_ID_CRYPTO_ACCESS_CTRL 2001
22 
34 psa_status_t tfm_secure_client_2_call_test(int32_t id, const void *arg,
35  size_t arg_len);
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* __TFM_SECURE_CLIENT_2_API_H__ */
Standard error codes for the SPM and RoT Services.
psa_status_t tfm_secure_client_2_call_test(int32_t id, const void *arg, size_t arg_len)
Calls the test function with the supplied ID within the execution context of the Secure Client 2 part...
int32_t psa_status_t
Function return status.
Definition: crypto_types.h:43