Searched refs:boot_u32_safe_add (Results 1 – 3 of 3) sorted by relevance
322 static inline bool boot_u32_safe_add(uint32_t *dest, uint32_t a, uint32_t b) in boot_u32_safe_add() function
756 if (!boot_u32_safe_add(&size, hdr->ih_img_size, hdr->ih_hdr_size) || in boot_image_load_header()
577 if (!boot_u32_safe_add(&size, hdr->ih_img_size, hdr->ih_hdr_size)) { in boot_is_header_valid()2610 if (!boot_u32_safe_add(&img_end_addr, img_dst, img_sz)) {