Searched refs:wrt_size (Results 1 – 2 of 2) sorted by relevance
212 uint32_t wrt_size; in ps_encrypted_object_write() local214 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()
141 static psa_status_t ps_write_object(uint32_t wrt_size) in ps_write_object() argument150 return psa_its_set(g_obj_tbl_info.fid, wrt_size, in ps_write_object()234 uint32_t wrt_size; in ps_object_create() local308 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() local423 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()