CONFIG_UPDATEHUB_DOWNLOAD_SHA256_VERIFICATION

SHA-256 on download

Type: bool

Help

Enables SHA-256 verification of data stream while downloading. Notice that it does not check whether the image written to a storage is still valid, it only confirms that what has been downloaded matches the server side SHA.

To check if the data written to permanent storage 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:119

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:35<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_DOWNLOAD_SHA256_VERIFICATION
    bool "SHA-256 on download"
    depends on <choice: Firmware verification>
    help
      Enables SHA-256 verification of data stream while downloading.
      Notice that it does not check whether the image written to a
      storage is still valid, it only confirms that what has been
      downloaded matches the server side SHA.

      To check if the data written to permanent storage matches the SHA
      simultaneously, enable "Both download and flash verifications"
      option.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)