From b0cd000bf26fc04cd0c3b387f0e179fe0ae8995a Mon Sep 17 00:00:00 2001 From: cepetr Date: Fri, 2 Aug 2024 12:33:27 +0200 Subject: [PATCH] TEMP - disable trailing bytes checking in bootloader --- core/embed/lib/image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/embed/lib/image.c b/core/embed/lib/image.c index 0dc6a6f22..7090ac0ad 100644 --- a/core/embed/lib/image.c +++ b/core/embed/lib/image.c @@ -293,6 +293,7 @@ secbool check_image_contents(const image_header *const hdr, uint32_t firstskip, offset += bytes_to_check; } + /* // Check the padding to the end of the area end_offset = flash_area_get_size(area); @@ -345,6 +346,7 @@ secbool check_image_contents(const image_header *const hdr, uint32_t firstskip, offset += words_to_check * sizeof(uint32_t); } } + */ return sectrue; }