Hi Chris and all,

 

That sounds like a good idea - sharing the FIH library in a separate repository would help ensure unified maintenance.
If MCUBoot agrees with this approach, we could create a new repository under the /shared/ folder, similar to what we did for ADAC, PSA-Crypto-Drivers, and others.

 

Would you like to propose and discuss this idea with the MCUBoot team on the tech forum or mailing list?

 

Thanks,
Anton

 

 

From: Chris.Brand--- via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Monday, November 3, 2025 11:15 PM
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] FIH code sharing

 

Hi,

 

Currently TF-M and mcuboot have some “common” FIH code (see for example commit 0a74c1ea8a0c0783a2914d87cd2e88b677718a2e that copied fih.{c|h} from mcuboot. There are also multiple copies of fih.h within the TF-M repo (lib/fih/inc and bl2/ext/mcuboot/include).

 

Are there any plans to avoid having copies of that code? Maybe to split the FIH library into its own repo that can be used by both TF-M and mcuboot?

 

Thanks,

 

Chris