Home
last modified time | relevance | path

Searched refs:stored_data (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/subsys/secure_storage/psa/its/src/
Dcustom_transform.c11 uint8_t stored_data[static SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE], in secure_storage_its_transform_to_store()
17 memcpy(stored_data, data, data_len); in secure_storage_its_transform_to_store()
18 *(secure_storage_packed_create_flags_t *)(&stored_data[data_len]) = create_flags; in secure_storage_its_transform_to_store()
24 const uint8_t stored_data[static SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE], in secure_storage_its_transform_from_store()
30 memcpy(data, stored_data, *data_len); in secure_storage_its_transform_from_store()
31 *create_flags = *(secure_storage_packed_create_flags_t *)(&stored_data[*data_len]); in secure_storage_its_transform_from_store()
/Zephyr-latest/subsys/secure_storage/src/its/
Dimplementation.c21 uint8_t stored_data[static SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE], in get_stored_data()
27 stored_data, stored_data_len); in get_stored_data()
39 const uint8_t stored_data[static SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE], in transform_stored_data()
45 ret = secure_storage_its_transform_from_store(uid, stored_data_len, stored_data, in transform_stored_data()
58 uint8_t stored_data[SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE]; in get_entry() local
61 ret = get_stored_data(uid, stored_data, &stored_data_len); in get_entry()
66 return transform_stored_data(uid, stored_data_len, stored_data, data_size, data, data_len, in get_entry()
103 uint8_t stored_data[SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE]; in store_entry() local
107 stored_data, &stored_data_len); in store_entry()
113 ret = secure_storage_its_store_set(uid, stored_data_len, stored_data); in store_entry()
[all …]
/Zephyr-latest/subsys/secure_storage/include/internal/zephyr/secure_storage/its/
Dtransform.h41 uint8_t stored_data[static SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE],
58 const uint8_t stored_data[static SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE],
/Zephyr-latest/samples/tfm_integration/psa_protected_storage/src/
Dmain.c49 char stored_data[sizeof(TEST_STRING_1)]; in main() local
51 status = psa_ps_get(uid1, 0, sizeof(TEST_STRING_1), &stored_data, &bytes_read); in main()
56 printk("Data stored in UID1: %s\n", stored_data); in main()
/Zephyr-latest/subsys/secure_storage/src/its/transform/
Daead.c84 uint8_t stored_data[static SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE], in secure_storage_its_transform_to_store()
88 struct stored_entry *stored_entry = (struct stored_entry *)stored_data; in secure_storage_its_transform_to_store()
110 const uint8_t stored_data[static SECURE_STORAGE_ITS_TRANSFORM_MAX_STORED_DATA_SIZE], in secure_storage_its_transform_from_store()
119 struct stored_entry *stored_entry = (struct stored_entry *)stored_data; in secure_storage_its_transform_from_store()
/Zephyr-latest/tests/subsys/settings/functional/src/
Dsettings_basic_test.c169 struct stored_data { struct
178 struct stored_data data; argument
250 memset(&data, 0, sizeof(struct stored_data)); in ZTEST()
272 memset(&data, 0, sizeof(struct stored_data)); in ZTEST()
283 memset(&data, 0, sizeof(struct stored_data)); in ZTEST()
300 memset(&data, 0, sizeof(struct stored_data)); in ZTEST()
314 memset(&data, 0, sizeof(struct stored_data)); in ZTEST()
324 memset(&data, 0, sizeof(struct stored_data)); in ZTEST()
336 memset(&data, 0, sizeof(struct stored_data)); in ZTEST()