Home
last modified time | relevance | path

Searched refs:wrt_size (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/
Dps_encrypted_object.c212 uint32_t wrt_size; in ps_encrypted_object_write() local
214 wrt_size = PS_ENCRYPT_SIZE(obj->header.info.current_size); in ps_encrypted_object_write()
217 err = ps_object_auth_encrypt(fid, wrt_size, obj); in ps_encrypted_object_write()
227 (void)memcpy(ps_crypto_buf + wrt_size, in ps_encrypted_object_write()
230 wrt_size += sizeof(obj->header.crypto.ref.iv); in ps_encrypted_object_write()
235 return psa_its_set(fid, wrt_size, (const void *)ps_crypto_buf, in ps_encrypted_object_write()
Dps_object_system.c141 static psa_status_t ps_write_object(uint32_t wrt_size) in ps_write_object() argument
150 return psa_its_set(g_obj_tbl_info.fid, wrt_size, in ps_write_object()
234 uint32_t wrt_size; in ps_object_create() local
308 wrt_size = PS_OBJECT_SIZE(g_ps_object.header.info.current_size); in ps_object_create()
311 err = ps_write_object(wrt_size); in ps_object_create()
352 uint32_t wrt_size; in ps_object_write() local
423 wrt_size = PS_OBJECT_SIZE(g_ps_object.header.info.current_size); in ps_object_write()
426 err = ps_write_object(wrt_size); in ps_object_write()