10 #include "../its_tests_common.h"
12 static struct test_t psa_its_ns_tests[] = {
16 "Set interface with create flags"},
18 "Set interface with NULL data pointer"},
20 "Set interface with write once UID"},
22 "Get interface with valid data"},
24 "Get interface with zero data length"},
26 "Get interface with invalid UIDs"},
28 "Get interface with invalid data lengths and offsets"},
30 "Get interface with NULL data pointer"},
32 "Get info interface with write once UID"},
34 "Get info interface with valid UID"},
36 "Get info interface with invalid UIDs"},
38 "Remove interface with valid UID"},
40 "Remove interface with write once UID"},
42 "Remove interface with invalid UID"},
44 "Block compaction after remove"},
46 "Multiple partial gets"},
48 "Multiple sets to same UID from same thread"},
50 "Set, get and remove interface with different asset sizes"},
57 list_size = (
sizeof(psa_its_ns_tests) /
sizeof(psa_its_ns_tests[0]));
59 set_testsuite(
"PSA internal trusted storage NS interface tests "
60 "(TFM_ITS_TEST_1XXX)",
61 psa_its_ns_tests, list_size, p_test_suite);
void tfm_its_test_common_019(struct test_result_t *ret)
Tests set, get_info, get and remove function with:
void tfm_its_test_common_016(struct test_result_t *ret)
Tests data block compact feature. Set UID 1 to locate it at the beginning of the block. Then set UID 2 to be located after UID 1 and remove UID 1. UID 2 will be compacted to the beginning of the block. This test verifies that the compaction works correctly by reading back UID 2.
void tfm_its_test_common_007(struct test_result_t *ret)
Tests get function with:
void tfm_its_test_common_012(struct test_result_t *ret)
Tests get info function with:
void tfm_its_test_common_010(struct test_result_t *ret)
Tests get info function with:
enum test_suite_err_t set_testsuite(const char *name, struct test_t *test_list, uint32_t size, struct test_suite_t *p_ts)
Sets test suite parameters.
void tfm_its_test_common_002(struct test_result_t *ret)
Tests set function with:
void tfm_its_test_common_017(struct test_result_t *ret)
Tests set and multiple partial gets.
void tfm_its_test_common_011(struct test_result_t *ret)
Tests get info function with:
void tfm_its_test_common_008(struct test_result_t *ret)
Tests get function with:
void tfm_its_test_common_005(struct test_result_t *ret)
Tests get function with:
void tfm_its_test_common_004(struct test_result_t *ret)
Tests set function with:
void tfm_its_test_common_001(struct test_result_t *ret)
Tests set function with:
void register_testsuite_ns_psa_its_interface(struct test_suite_t *p_test_suite)
Register testsuite for the PSA internal trusted storage NS interface tests.
void tfm_its_test_common_015(struct test_result_t *ret)
Tests remove function with:
void tfm_its_test_common_003(struct test_result_t *ret)
Tests set function with:
void tfm_its_test_common_013(struct test_result_t *ret)
Tests remove function with:
void tfm_its_test_common_018(struct test_result_t *ret)
Tests multiple sets to the same UID.
void tfm_its_test_common_009(struct test_result_t *ret)
Tests get function with:
void tfm_its_test_common_014(struct test_result_t *ret)
Tests remove function with:
void tfm_its_test_common_006(struct test_result_t *ret)
Tests get function with: