:orphan: .. title:: CONFIG_UPDATEHUB_DOWNLOAD_SHA256_VERIFICATION .. kconfig:: CONFIG_UPDATEHUB_DOWNLOAD_SHA256_VERIFICATION CONFIG_UPDATEHUB_DOWNLOAD_SHA256_VERIFICATION ############################################# *SHA-256 on download* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :ref:` ` *(Includes any dependencies from ifs and menus.)* Kconfig definition ================== At ``/mgmt/updatehub/Kconfig:119`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:35`` → ``/mgmt/Kconfig:13`` Menu path: (Top) → Sub Systems and OS Services → Device Management → UpdateHub Firmware Over-the-Air support → Firmware verification .. code-block:: kconfig config UPDATEHUB_DOWNLOAD_SHA256_VERIFICATION bool "SHA-256 on download" depends on 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.)*