From patchwork Mon Jan 6 14:22:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe REYNES X-Patchwork-Id: 239166 List-Id: U-Boot discussion From: philippe.reynes at softathome.com (Philippe Reynes) Date: Mon, 6 Jan 2020 15:22:33 +0100 Subject: [PATCH V4 0/4] aes: add support for aes192 and aes256 Message-ID: <1578320557-27956-1-git-send-email-philippe.reynes@softathome.com> 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 and update the code of crypto for tegra20. The third add a test unit for aes128, and the forth add a test unit for aes 196 and aes256. Philippe Reynes (4): aes: add a define for the size of a block aes: add support of aes192 and aes256 aes: add test unit for aes128 aes: add test unit for aes196 and aes256 arch/arm/mach-tegra/tegra20/crypto.c | 41 +++++---- cmd/aes.c | 40 ++++++--- include/uboot_aes.h | 39 +++++--- lib/aes.c | 111 ++++++++++++++--------- test/lib/Makefile | 1 + test/lib/test_aes.c | 166 +++++++++++++++++++++++++++++++++++ 6 files changed, 313 insertions(+), 85 deletions(-) create mode 100644 test/lib/test_aes.c