-
CONFIG_UPDATEHUB_STORAGE_SHA256_VERIFICATION
¶
SHA-256 from flash
Type: bool
Help¶
Enables SHA-256 verification of stored data stream. When this option is enabled, the data stream will be read back from the storage and verified with SHA to make sure that it has been correctly written.
To check if the download data stream matches the SHA simultaneously, enable “Both download and flash verifications” option.
Direct dependencies¶
<choice: Firmware verification>
(Includes any dependencies from ifs and menus.)
Kconfig definition¶
At <Zephyr>/subsys/mgmt/updatehub/Kconfig:141
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:32
→ <Zephyr>/subsys/mgmt/Kconfig:13
Menu path: (Top) → Sub Systems and OS Services → Device Management → UpdateHub Firmware Over-the-Air support → Firmware verification
config UPDATEHUB_STORAGE_SHA256_VERIFICATION bool "SHA-256 from flash" depends on <choice: Firmware verification> help Enables SHA-256 verification of stored data stream. When this option is enabled, the data stream will be read back from the storage and verified with SHA to make sure that it has been correctly written. To check if the download data stream matches the SHA simultaneously, enable "Both download and flash verifications" option.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)