Skip to content

Commit ae94217

Browse files
committed
doc: Add information on TLV allow list
Add information on TLV allow list and MCUBOOT_USE_TLV_ALLOW_LIST, MCUboot configuration identifier that controls its usage. Signed-off-by: Dominik Ermel <[email protected]>
1 parent fda9bf2 commit ae94217

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/design.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ The `ih_hdr_size` field indicates the length of the header, and therefore the
136136
offset of the image itself. This field provides for backwards compatibility in
137137
case of changes to the format of the image header.
138138

139+
## [TLV allow list](#tlv-allow)
140+
141+
While reading unprotected TLVs from an image, MCUboot will try to match TLVs
142+
against list it has compiled in support for; each new defined TLV has to be added
143+
to that list, which is named `allowed_unprot_tlvs` and defined in
144+
image_validate.c. The usage of the list is optional and can be controlled
145+
during compilation with MCUBOOT_USE_TLV_ALLOW_LIST config identifier.
146+
139147
## [Flash map](#flash-map)
140148

141149
A device's flash is partitioned according to its _flash map_. At a high

0 commit comments

Comments
 (0)