summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2020-01-06 15:22:37 +0100
committerTom Rini <trini@konsulko.com>2020-01-17 10:15:49 -0500
commit1c6cd16de810f88c27c5c945a30e0e9f3842df68 (patch)
treef9aad0a464d2d7ae2c030074ddfdac8a4ee9e2af /test
parentebcdb8df513e721f10c7a7623fc71d7653a116a7 (diff)
aes: add test unit for aes196 and aes256
This commit add test unit for aes196 and aes256. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/lib/test_aes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/test_aes.c b/test/lib/test_aes.c
index 2b0e89449b..b7b4b775df 100644
--- a/test/lib/test_aes.c
+++ b/test/lib/test_aes.c
@@ -26,6 +26,10 @@ struct test_aes_s {
static struct test_aes_s test_aes[] = {
{ AES128_KEY_LENGTH, AES128_EXPAND_KEY_LENGTH, TEST_AES_ONE_BLOCK, 1 },
{ AES128_KEY_LENGTH, AES128_EXPAND_KEY_LENGTH, TEST_AES_CBC_CHAIN, 16 },
+ { AES192_KEY_LENGTH, AES192_EXPAND_KEY_LENGTH, TEST_AES_ONE_BLOCK, 1 },
+ { AES192_KEY_LENGTH, AES192_EXPAND_KEY_LENGTH, TEST_AES_CBC_CHAIN, 16 },
+ { AES256_KEY_LENGTH, AES256_EXPAND_KEY_LENGTH, TEST_AES_ONE_BLOCK, 1 },
+ { AES256_KEY_LENGTH, AES256_EXPAND_KEY_LENGTH, TEST_AES_CBC_CHAIN, 16 },
};
static void rand_buf(u8 *buf, int size)