[PATCH v4 3/3] tools: binman: Add tests for FIT with data encrypted by mkimage
Simon Glass
sjg at chromium.org
Fri Dec 6 20:16:11 CET 2024
On Mon, 25 Nov 2024 at 10:47, Paul HENRYS
<paul.henrys_ext at softathome.com> wrote:
>
> Test the property 'fit,encrypt' to encrypt FIT data.
>
> Signed-off-by: Paul HENRYS <paul.henrys_ext at softathome.com>
> ---
> Changes for v4:
> - Update the tests to use 'fit,encrypt'
>
> tools/binman/ftest.py | 45 +++++++++++++++
> tools/binman/test/343_fit_encrypt_data.dts | 53 ++++++++++++++++++
> .../test/344_fit_encrypt_data_no_key.dts | 53 ++++++++++++++++++
> tools/binman/test/aes256.bin | Bin 0 -> 32 bytes
> 4 files changed, 151 insertions(+)
> create mode 100644 tools/binman/test/343_fit_encrypt_data.dts
> create mode 100644 tools/binman/test/344_fit_encrypt_data_no_key.dts
> create mode 100644 tools/binman/test/aes256.bin
Reviewed-by: Simon Glass <sjg at chromium.org>
BTW you could use tools.read_file() as well
More information about the U-Boot
mailing list