You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bootloader firmware validation library provides the function that the :ref:`bootloader` uses to validate a firmware image before booting it.
7
+
8
+
The API is public because applications that are booted by the immutable bootloader can call the function from this library via the bootloader's code, through external APIs.
9
+
See :ref:`doc_fw_info_ext_api` for more information.
10
+
Using this mechanism can be useful when the application receives a DFU package and wants to determine whether it will be accepted by the bootloader.
11
+
12
+
Validation
13
+
**********
14
+
15
+
The :cpp:func:`bl_validate_firmware` function validates the following information:
16
+
17
+
* The digest and the signature of the whole image (see :cpp:func:`bl_root_of_trust_verify`)
18
+
* The fields of the ``fw_info`` struct that is part of the firmware image (see :ref:`doc_fw_info`)
0 commit comments