Home
last modified time | relevance | path

Searched refs:p_data_length (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/samples/psa/its/src/
Dmain.c43 size_t p_data_length = 0; in write_and_read_data() local
46 &p_data_length); in write_and_read_data()
52 if (p_data_length != SAMPLE_DATA_SIZE - data_offset) { in write_and_read_data()
54 p_data_length, SAMPLE_DATA_SIZE - data_offset); in write_and_read_data()
58 if (memcmp(p_data_write + data_offset, p_data_read, p_data_length)) { in write_and_read_data()
59 LOG_HEXDUMP_INF(p_data_write + data_offset, p_data_length, "Data written:"); in write_and_read_data()
60 LOG_HEXDUMP_INF(p_data_read, p_data_length, "Data read back:"); in write_and_read_data()
/Zephyr-latest/subsys/secure_storage/include/psa/
Dprotected_storage.h83 size_t data_size, void *p_data, size_t *p_data_length) in psa_ps_get() argument
86 return secure_storage_its_get(ITS_UID, data_offset, data_size, p_data, p_data_length); in psa_ps_get()
88 return secure_storage_ps_get(uid, data_offset, data_size, p_data, p_data_length); in psa_ps_get()
Dinternal_trusted_storage.h77 size_t data_size, void *p_data, size_t *p_data_length) in psa_its_get() argument
79 return secure_storage_its_get(ITS_UID, data_offset, data_size, p_data, p_data_length); in psa_its_get()
/Zephyr-latest/subsys/secure_storage/src/its/
Dimplementation.c146 size_t data_size, void *p_data, size_t *p_data_length) in secure_storage_its_get() argument
148 if (uid.uid == 0 || (p_data == NULL && data_size != 0) || p_data_length == NULL) { in secure_storage_its_get()
152 *p_data_length = 0; in secure_storage_its_get()
168 p_data_length, &create_flags); in secure_storage_its_get()
181 *p_data_length = MIN(data_size, data_len - data_offset); in secure_storage_its_get()
182 memcpy(p_data, data + data_offset, *p_data_length); in secure_storage_its_get()
/Zephyr-latest/subsys/secure_storage/include/internal/zephyr/secure_storage/
Dits.h22 size_t data_size, void *p_data, size_t *p_data_length);
Dps.h22 size_t data_length, void *p_data, size_t *p_data_length);
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dpsa_its_emul.c120 void *p_data, size_t *p_data_length) in psa_its_get() argument
138 *p_data_length = MIN(p_pst_item->size - data_offset, data_length); in psa_its_get()
139 memcpy(p_data, p_pst_item->data + data_offset, *p_data_length); in psa_its_get()