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.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_H__
9 #define __TFM_SS_CORE_TEST_H__
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #include <inttypes.h>
16 #include <limits.h>
17 #include "tfm_api.h"
18 
39  struct psa_invec *in_vec, size_t in_len,
40  struct psa_outvec *out_vec, size_t out_len);
41 
61  struct psa_invec *in_vec, size_t in_len,
62  struct psa_outvec *out_vec, size_t out_len);
63 
83 psa_status_t spm_core_test_sfn(struct psa_invec *in_vec, size_t in_len,
84  struct psa_outvec *out_vec, size_t out_len);
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif /* __TFM_SS_CORE_TEST_H__ */
psa_status_t spm_core_test_sfn_direct_recursion(struct psa_invec *in_vec, size_t in_len, struct psa_outvec *out_vec, size_t out_len)
Tests what happens when a service calls itself directly.
psa_status_t spm_core_test_sfn_init_success(struct psa_invec *in_vec, size_t in_len, struct psa_outvec *out_vec, size_t out_len)
Tests whether the initialisation of the service was successful.
int32_t psa_status_t
Function return status.
Definition: crypto_types.h:43
psa_status_t spm_core_test_sfn(struct psa_invec *in_vec, size_t in_len, struct psa_outvec *out_vec, size_t out_len)
Entry point for multiple test cases to be executed on the secure side.