Hello All,

 

Does the current TF-M version support image compression before image is encrypted?

Needless to say, compression after the image has been encrypted would not yield reasonable compression ratio.

I am showing that *.bin files, even built with MinSizeRel option, zip-compress with minimum 50% compression ratio so probably this would make sense. Tested with STM32U5 target and GCC.

PSA Certified Firmware Update API” document in sections 3.1 and 3.2 provides for image compression.

 

Kind regards,

Tomasz Jastrzębski