[PATCH v4 1/3] tools: binman: Test signing an encrypted FIT with a preload header

Simon Glass sjg at chromium.org
Fri Apr 3 15:22:04 CEST 2026


Hi Paul,

On 2026-04-03T07:55:27, Paul HENRYS <paul.henrys_ext at softathome.com> wrote:
> tools: binman: Test signing an encrypted FIT with a preload header
>
> Add a test to verify the preload header correctly signs an encrypted
> FIT. This test exercises the case where encryption uses random IVs that
> would change between mkimage calls.
>
> Signed-off-by: Paul HENRYS <paul.henrys_ext at softathome.com>

> diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
> @@ -5895,6 +5895,27 @@ fdt         fdtmap                Extract the devicetree blob from the fdtmap
> +    def testPreLoadEncryptedFit(self):
> +        """Test an encrypted FIT image with a pre-load header"""

nit: for bisectability this should come last, since it relies on fixes
in patches 2/3 and 3/3.

Regards,
Simon


More information about the U-Boot mailing list