[PATCH v6 3/3] binman: Add tests for etype encrypted

Simon Glass sjg at chromium.org
Mon Jul 24 20:46:35 CEST 2023


On Mon, 17 Jul 2023 at 01:06, <christian.taedcke-oss at weidmueller.com> wrote:
>
> From: Christian Taedcke <christian.taedcke at weidmueller.com>
>
> Add tests to reach 100% code coverage for the added etype encrypted.
>
> Signed-off-by: Christian Taedcke <christian.taedcke at weidmueller.com>
> ---
>
> (no changes since v5)
>
> Changes in v5:
> - add comments to test functions
>
> Changes in v4:
> - fix failing test testEncryptedKeyFile
>
> Changes in v3:
> - rebase on u-boot-dm/mkim-working
> - remove unnecessary test testEncryptedNoContent
> - wrap some lines at 80 cols
>
> Changes in v2:
> - adapt tests for changed entry implementation
>
>  tools/binman/ftest.py                         | 58 +++++++++++++++++++
>  tools/binman/test/291_encrypted_no_algo.dts   | 15 +++++
>  .../test/292_encrypted_invalid_iv_file.dts    | 18 ++++++
>  .../binman/test/293_encrypted_missing_key.dts | 23 ++++++++
>  .../binman/test/294_encrypted_key_source.dts  | 24 ++++++++
>  tools/binman/test/295_encrypted_key_file.dts  | 24 ++++++++
>  6 files changed, 162 insertions(+)
>  create mode 100644 tools/binman/test/291_encrypted_no_algo.dts
>  create mode 100644 tools/binman/test/292_encrypted_invalid_iv_file.dts
>  create mode 100644 tools/binman/test/293_encrypted_missing_key.dts
>  create mode 100644 tools/binman/test/294_encrypted_key_source.dts
>  create mode 100644 tools/binman/test/295_encrypted_key_file.dts

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list