[U-Boot] [PATCH 0/4] aes: add support for aes192 and aes256

Philippe Reynes philippe.reynes at softathome.com
Mon Sep 23 16:48:08 UTC 2019


This serie add the support of aes192 and aes256.
This first commit clean a bit the code, and introduce
a constant for the block (instead of using the key size).
The second commit add the support of aes192 and aes256
to the lib and the cmd. The third update the code of
crypto for tegra20, and the forth one add tests in 
pytest for aes192 and aes256.

Philippe Reynes (4):
  aes: add a define for the size of a block
  aes: add support of aes192 and aes256
  tegra20: crypto: update code to use new aes api
  pytest: aes: add test for aes192 and aes256

 arch/arm/mach-tegra/tegra20/crypto.c |  41 +++++++------
 cmd/aes.c                            |  40 +++++++++----
 include/uboot_aes.h                  |  39 ++++++++----
 lib/aes.c                            | 111 ++++++++++++++++++++++-------------
 test/py/tests/aes/key192.bin         |   1 +
 test/py/tests/aes/key256.bin         |   1 +
 test/py/tests/test_aes.py            |  54 ++++++++++++++++-
 7 files changed, 201 insertions(+), 86 deletions(-)
 create mode 100644 test/py/tests/aes/key192.bin
 create mode 100644 test/py/tests/aes/key256.bin

-- 
2.7.4



More information about the U-Boot mailing list