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

aes: add a define for the size of a block


In the code, we use the size of the key for the
size of the block. It's true when the key is 128 bits,
but it become false for key of 192 bits and 256 bits.
So to prepare the support of aes192  and 256,
we introduce a constant for the iaes block size.

Signed-off-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent d7bb6ace
No related branches found
No related tags found
No related merge requests found
Loading
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