TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
psa_ps_s_reliability_testsuite.c File Reference
#include "ps_tests.h"
#include <stdio.h>
#include "psa/protected_storage.h"
#include "tfm_memory_utils.h"
#include "s_test_helpers.h"
#include "test_framework_helpers.h"
Include dependency graph for psa_ps_s_reliability_testsuite.c:

Go to the source code of this file.

Macros

#define TEST_UID
 
#define LOOP_ITERATIONS_001   15U
 
#define LOOP_ITERATIONS_002   15U
 
#define WRITE_DATA   "THE_FIVE_BOXING_WIZARDS_JUMP_QUICKLY"
 
#define WRITE_DATA_SIZE   (sizeof(WRITE_DATA) - 1)
 
#define READ_DATA   "############################################"
 
#define RESULT_DATA   ("####" WRITE_DATA "####")
 

Functions

void register_testsuite_s_psa_ps_reliability (struct test_suite_t *p_test_suite)
 Register testsuite for the ps reliability tests. More...
 

Macro Definition Documentation

#define LOOP_ITERATIONS_001   15U

Definition at line 23 of file psa_ps_s_reliability_testsuite.c.

#define LOOP_ITERATIONS_002   15U

Definition at line 24 of file psa_ps_s_reliability_testsuite.c.

#define READ_DATA   "############################################"

Definition at line 29 of file psa_ps_s_reliability_testsuite.c.

#define RESULT_DATA   ("####" WRITE_DATA "####")

Definition at line 30 of file psa_ps_s_reliability_testsuite.c.

#define TEST_UID
Value:
2UL /* UID 1 cannot be used as it references a write once
* asset, created in psa_ps_s_interface_testsuite.c
*/

Definition at line 18 of file psa_ps_s_reliability_testsuite.c.

#define WRITE_DATA   "THE_FIVE_BOXING_WIZARDS_JUMP_QUICKLY"

Definition at line 27 of file psa_ps_s_reliability_testsuite.c.

#define WRITE_DATA_SIZE   (sizeof(WRITE_DATA) - 1)

Definition at line 28 of file psa_ps_s_reliability_testsuite.c.

Function Documentation

void register_testsuite_s_psa_ps_reliability ( struct test_suite_t p_test_suite)

Register testsuite for the ps reliability tests.

Parameters
[in]p_test_suiteThe test suite to be executed.

Definition at line 44 of file psa_ps_s_reliability_testsuite.c.

Here is the call graph for this function: