Skip to content
Snippets Groups Projects
Commit 1c6cd16d authored by Philippe Reynes's avatar Philippe Reynes Committed by Tom Rini
Browse files

aes: add test unit for aes196 and aes256


This commit add test unit for aes196 and aes256.

Signed-off-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent ebcdb8df
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment