From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe Reynes Date: Mon, 23 Sep 2019 18:39:01 +0200 Subject: [U-Boot] [PATCH V2 0/4] pytest: add a simple test to check the command aes Message-ID: <1569256745-15380-1-git-send-email-philippe.reynes@softathome.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This serie fix the command aes on sandbox and add a simple pytest for aes. The first and second patch enable the command aes on sandbox and sandbox64. Thr third patch fix the command aes on sandbox (adding map_sysmem to avoid a segfault), the forth patch add a simple pytest for the command aes. Philippe Reynes (4): sandbox: enable command aes sandbox64: enable command aes cmd: aes: use map_sysmem when accessing memory pytest: add a new test for aes Changelog: v2: - add binary file (key128.bin, iv128.bin and plaintext.bin) cmd/aes.c | 9 ++++---- configs/sandbox64_defconfig | 1 + configs/sandbox_defconfig | 1 + 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 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 58 insertions(+), 4 deletions(-) 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 -- 2.7.4