Home
last modified time | relevance | path

Searched refs:cur_size (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/
Dps_encrypted_object.c68 uint32_t cur_size, in ps_object_auth_decrypt() argument
85 (void)memcpy(ps_crypto_buf, p_obj_data, cur_size); in ps_object_auth_decrypt()
96 cur_size, in ps_object_auth_decrypt()
100 if (err != PSA_SUCCESS || out_len != cur_size) { in ps_object_auth_decrypt()
120 uint32_t cur_size, in ps_object_auth_encrypt() argument
152 cur_size, in ps_object_auth_encrypt()
156 if (err != PSA_SUCCESS || out_len != cur_size) { in ps_object_auth_encrypt()
161 (void)memcpy(p_obj_data, ps_crypto_buf, cur_size); in ps_object_auth_encrypt()
/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/flash_fs/
Dits_flash_fs.c44 if (offset > file_meta->cur_size) { in its_flash_fs_file_write_aligned_data()
237 info->size_current = tmp_metadata.cur_size; in its_flash_fs_file_get_info()
284 file_meta.cur_size = 0; in its_flash_fs_file_write()
350 if (offset + data_size > file_meta.cur_size) { in its_flash_fs_file_write()
352 file_meta.cur_size = offset + data_size; in its_flash_fs_file_write()
615 err = its_utils_check_contained_in(tmp_metadata.cur_size, offset, size); in its_flash_fs_file_read()
Dits_flash_fs_mblock.h158 size_t cur_size; /*!< Size in storage system for this # \
Dits_flash_fs_mblock.c252 if (file_meta->cur_size > file_meta->max_size) { in its_mblock_validate_file_meta()
897 file_meta->cur_size = 0; in its_mblock_reserve_file()