Home
last modified time | relevance | path

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

/mcuboot-3.7.0/sim/mcuboot-sys/csupport/
Dsecurity_cnt.c37 int32_t boot_nv_security_counter_update(uint32_t image_id, uint32_t img_security_cnt) { in boot_nv_security_counter_update() argument
38 …MCUBOOT_LOG_INF("Writing security counter value (%d) for image: %d\n", img_security_cnt, image_id); in boot_nv_security_counter_update()
40 return sim_set_nv_counter_for_image(image_id, img_security_cnt); in boot_nv_security_counter_update()
/mcuboot-3.7.0/boot/cypress/MCUBootApp/
Dcy_security_cnt.c37 boot_nv_security_counter_update(uint32_t image_id, uint32_t img_security_cnt) in boot_nv_security_counter_update() argument
40 (void)img_security_cnt; in boot_nv_security_counter_update()
/mcuboot-3.7.0/boot/bootutil/src/
Dimage_validate.c305 uint32_t *img_security_cnt) in bootutil_get_img_security_cnt() argument
314 (img_security_cnt == NULL)) { in bootutil_get_img_security_cnt()
339 if (len != sizeof(*img_security_cnt)) { in bootutil_get_img_security_cnt()
344 rc = LOAD_IMAGE_DATA(hdr, fap, off, img_security_cnt, len); in bootutil_get_img_security_cnt()
411 uint32_t img_security_cnt = 0; in bootutil_img_validate() local
538 if (len != sizeof(img_security_cnt)) { in bootutil_img_validate()
544 rc = LOAD_IMAGE_DATA(hdr, fap, off, &img_security_cnt, len); in bootutil_img_validate()
559 fih_rc = fih_ret_encode_zero_equality(img_security_cnt < in bootutil_img_validate()
Dloader.c1101 uint32_t img_security_cnt; in boot_update_security_counter() local
1111 rc = bootutil_get_img_security_cnt(hdr, fap, &img_security_cnt); in boot_update_security_counter()
1116 rc = boot_nv_security_counter_update(image_index, img_security_cnt); in boot_update_security_counter()
/mcuboot-3.7.0/boot/bootutil/include/bootutil/
Dsecurity_cnt.h64 uint32_t img_security_cnt);