Previously, the hash of the firmware is checked while we are downloading the firmware. This isn't ideal as the validity of the firmware written into the flash is not verified and can be corrupted. Furthermore, checking while downloading will have an negative impact to the download speed as the CPU need to do more work during the data transfer. This PR removes the previous verify-hash-while-download implementation and use the flash_img_check API instead. Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| hawkbit_device.c | ||
| hawkbit_device.h | ||
| hawkbit_firmware.c | ||
| hawkbit_firmware.h | ||
| hawkbit_priv.h | ||
| hawkbit.c | ||
| Kconfig | ||
| shell.c | ||