mirror of https://github.com/wolfSSL/wolfBoot.git
repeatable steps so that power failure wont erase the encryption key and wont cause skipping the testing phase of boot. this is done by marking the update partition as final swap when erasing the final sector and backing up the key in boot sector 0 after swaping the real boot sector 0 to swap. then when a power failure occurs the encryption key will be available in either boot sector 0 or the normal location. the intermediate phase also prevents skipping the testing phase since the last sector, which holds the boot state, is erased and then set repeatably, since the final swap state is set on the update partition |
||
|---|---|---|
| .. | ||
| wolfboot | ||
| x86 | ||
| delta.h | ||
| elf.h | ||
| encrypt.h | ||
| hal.h | ||
| image.h | ||
| keystore.h | ||
| loader.h | ||
| multiboot.h | ||
| pci.h | ||
| printf.h | ||
| spi_drv.h | ||
| spi_flash.h | ||
| stage1.h | ||
| target.h.in | ||
| tpm.h | ||
| uart_drv.h | ||
| uart_flash.h | ||
| user_settings.h | ||