Commit 4bda5875 authored by Jamie McCrae's avatar Jamie McCrae Committed by Dominik Ermel
Browse files

boot: bootutil: Add TLV for size of compressed but decrypted image

This TLV is needed in order to know what the data length
provided to the decompression system is to remove the padding
that is a resultant of the encryption block size

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent d3080f10
Loading
Loading
Loading
Loading
+1 −0
Changes for boot/bootutil/include/bootutil/image.h: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -126,6 +126,7 @@ struct flash_area;
                                            * the format and size of the raw slot (compressed)
                                            * signature
                                            */
#define IMAGE_TLV_COMP_DEC_SIZE     0x73   /* Compressed decrypted image size */
					   /*
					    * vendor reserved TLVs at xxA0-xxFF,
					    * where xx denotes the upper byte