Home
last modified time | relevance | path

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

/mcuboot-3.7.0/sim/mcuboot-sys/src/
Dapi.rs360 let mut counter_storage = ctx.borrow_mut(); in sim_set_nv_counter_for_image() localVariable
361 if image_index as usize >= counter_storage.storage.len() { in sim_set_nv_counter_for_image()
365 if counter_storage.storage[image_index as usize] > security_counter_value { in sim_set_nv_counter_for_image()
371 counter_storage.storage[image_index as usize] = security_counter_value; in sim_set_nv_counter_for_image()
381 let counter_storage = ctx.borrow(); in sim_get_nv_counter_for_image() localVariable
382 if image_index as usize >= counter_storage.storage.len() { in sim_get_nv_counter_for_image()
386 unsafe { *security_counter_value = counter_storage.storage[image_index as usize] }; in sim_get_nv_counter_for_image()