mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-22 05:10:56 +00:00
fixup! fix(core): calculate image hash including padding between header and code
This commit is contained in:
parent
f1be94dc94
commit
40bcbd8da2
@ -192,7 +192,7 @@ static uint32_t check_sdcard(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const uint32_t code_start_offset = IMAGE_CODE_ALIGN(headers_end_offset);
|
const uint32_t code_start_offset = headers_end_offset;
|
||||||
|
|
||||||
if (sectrue !=
|
if (sectrue !=
|
||||||
(check_single_hash(hdr->hashes,
|
(check_single_hash(hdr->hashes,
|
||||||
|
Loading…
Reference in New Issue
Block a user