Home
last modified time | relevance | path

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

/mcuboot-latest/boot/cypress/MCUBootApp/
Dcy_security_cnt.c28 boot_nv_security_counter_get(uint32_t image_id, fih_int *security_cnt) in boot_nv_security_counter_get() argument
31 *security_cnt = 30; in boot_nv_security_counter_get()
/mcuboot-latest/sim/mcuboot-sys/csupport/
Dsecurity_cnt.c26 fih_ret boot_nv_security_counter_get(uint32_t image_id, fih_int *security_cnt) { in boot_nv_security_counter_get() argument
32 *security_cnt = fih_int_encode(counter); in boot_nv_security_counter_get()
/mcuboot-latest/boot/bootutil/include/bootutil/
Dsecurity_cnt.h50 fih_ret boot_nv_security_counter_get(uint32_t image_id, fih_int *security_cnt);
Dimage.h222 uint32_t *security_cnt);
/mcuboot-latest/sim/src/
Dtlv.rs116 fn set_security_counter(&mut self, security_cnt: Option<u32>); in set_security_counter()
132 security_cnt: Option<u32>, field
348 ….dependencies.is_empty() || (Caps::HwRollbackProtection.present() && self.security_cnt.is_some()) { in protect_size()
353 if Caps::HwRollbackProtection.present() && self.security_cnt.is_some() { in protect_size()
459 if Caps::HwRollbackProtection.present() && self.security_cnt.is_some() { in make_tlv()
462 protected_tlv.write_u32::<LittleEndian>(self.security_cnt.unwrap() as u32).unwrap(); in make_tlv()
829 fn set_security_counter(&mut self, security_cnt: Option<u32>) { in set_security_counter()
830 self.security_cnt = security_cnt; in set_security_counter()
Dimage.rs409 pub fn make_image_with_security_counter(self, security_cnt: Option<u32>) -> Images { in make_image_with_security_counter()
415 maximal(32784), &ram, &dep, ImageManipulation::None, security_cnt); in make_image_with_security_counter()
417 maximal(41928), &ram, &dep, ImageManipulation::None, security_cnt.map(|v| v + 1)); in make_image_with_security_counter()
/mcuboot-latest/boot/bootutil/src/
Dimage_validate.c414 fih_int security_cnt = fih_int_encode(INT_MAX); in bootutil_img_validate() local
554 &security_cnt); in bootutil_img_validate()
564 (uint32_t)fih_int_decode(security_cnt)); in bootutil_img_validate()