TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_ss_core_test_2.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-2019, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __TFM_SS_CORE_TEST_2_H__
9 #define __TFM_SS_CORE_TEST_2_H__
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #include <inttypes.h>
16 #include <limits.h>
17 
18 #include "tfm_api.h"
19 
34  struct psa_invec *in_vec, size_t in_len,
35  struct psa_outvec *out_vec, size_t out_len);
36 
37 
58 psa_status_t spm_core_test_2_sfn_invert(struct psa_invec *in_vec, size_t in_len,
59  struct psa_outvec *out_vec, size_t out_len);
60 
78  struct psa_invec *in_vec, size_t in_len, struct psa_outvec *out_vec,
79  size_t out_len);
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif /* __TFM_SS_CORE_TEST_2_H__ */
psa_status_t spm_core_test_2_sfn_invert(struct psa_invec *in_vec, size_t in_len, struct psa_outvec *out_vec, size_t out_len)
Bitwise inverts the buffer received as input.
psa_status_t spm_core_test_2_check_caller_client_id(struct psa_invec *in_vec, size_t in_len, struct psa_outvec *out_vec, size_t out_len)
A minimal test secure function to be called from another partition.
psa_status_t spm_core_test_2_slave_service(struct psa_invec *in_vec, size_t in_len, struct psa_outvec *out_vec, size_t out_len)
A minimal test service to be called from another service.
int32_t psa_status_t
Function return status.
Definition: crypto_types.h:43