[U-Boot] [PATCH V3 4/4] pytest: add a new test for aes

Simon Glass sjg at chromium.org
Fri Sep 27 01:49:19 UTC 2019


On Tue, 24 Sep 2019 at 02:32, Philippe Reynes
<philippe.reynes at softathome.com> wrote:
>
> This commit add a simple test to check that
> a text may be ciphered and unciphered. Each
> step are checked with the known result.
>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
>  test/py/tests/aes/iv128.bin     |  1 +
>  test/py/tests/aes/key128.bin    |  1 +
>  test/py/tests/aes/plaintext.bin |  1 +
>  test/py/tests/test_aes.py       | 48 +++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 51 insertions(+)
>  create mode 100644 test/py/tests/aes/iv128.bin
>  create mode 100644 test/py/tests/aes/key128.bin
>  create mode 100644 test/py/tests/aes/plaintext.bin
>  create mode 100644 test/py/tests/test_aes.py

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


More information about the U-Boot mailing list