On Mon, 25 Nov 2024 at 10:47, Paul HENRYS <[email protected]> wrote: > > Test the property 'fit,encrypt' to encrypt FIT data. > > Signed-off-by: Paul HENRYS <[email protected]> > --- > 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 <[email protected]> BTW you could use tools.read_file() as well

