
6 Dec
2024
6 Dec
'24
8:16 p.m.
On Mon, 25 Nov 2024 at 10:47, Paul HENRYS paul.henrys_ext@softathome.com wrote:
Test the property 'fit,encrypt' to encrypt FIT data.
Signed-off-by: Paul HENRYS paul.henrys_ext@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@chromium.org
BTW you could use tools.read_file() as well