commit | 2fc80df49f9aaff48c4be10b049df2c3f5e1912e | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Fri Dec 14 06:47:38 2018 -0200 |
committer | Fabio Utzig <utzig@utzig.org> | Mon Dec 17 14:41:02 2018 -0200 |
tree | 7d0bcc84f584f2d6e21c567ba0008ca867fa48cd | |
parent | e5831f6ed2914e347b7a7a109eab993d3add56fa [diff] |
Fix handling of encrypted images Encrypted images were known to be failing when the header size was larger than 256 bytes because of incorrect handling of blocks sent to decryption and hashing routines. An assert was previously added to check the header and read block sizes matched to avoid incurring into the know error, but it was incorrectly enabled also for non-encrypted images. Now the handling of the header, which is not encrypted, is correctly separated from the handling of the remaining image, when encryption is used, to avoid ever sending header data into the decryption routines. Signed-off-by: Fabio Utzig <utzig@apache.org>
This is mcuboot, version 1.2.0
MCUboot is a secure bootloader for 32-bit MCUs. The goal of MCUboot is to define a common infrastructure for the bootloader, system flash layout on microcontroller systems, and to provide a secure bootloader that enables easy software upgrade.
MCUboot is operating system and hardware independent and relies on hardware porting layers from the operating system it works with. Currently, mcuboot works with both the Apache Mynewt, and Zephyr operating systems, but more ports are planned in the future. RIOT is currently supported as a boot target with a complete port planned.
Instructions for different operating systems can be found here:
The issues being planned and worked on are tracked using GitHub issues. To participate please visit:
Issues were previously tracked on MCUboot JIRA , but it is now deprecated.
Information and documentation on the bootloader are stored within the source.
It was previously also documented on confluence: MCUBoot Confluence however, it is now deprecated and not currently maintained
For more information in the source, here are some pointers:
Developers welcome!