summaryrefslogtreecommitdiffstats
path: root/aes.c
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2017-07-08 03:21:42 +0200
committerGitHub <noreply@github.com>2017-07-08 03:21:42 +0200
commit24c8ab552c7b2ca17fd9a6410f9772548a4b9e42 (patch)
treefc3bf64a6e53ddad863c48412abc450d80613063 /aes.c
parentUpdate aes.c (diff)
downloadtiny-AES-c-24c8ab552c7b2ca17fd9a6410f9772548a4b9e42.tar
tiny-AES-c-24c8ab552c7b2ca17fd9a6410f9772548a4b9e42.tar.gz
tiny-AES-c-24c8ab552c7b2ca17fd9a6410f9772548a4b9e42.tar.bz2
tiny-AES-c-24c8ab552c7b2ca17fd9a6410f9772548a4b9e42.tar.lz
tiny-AES-c-24c8ab552c7b2ca17fd9a6410f9772548a4b9e42.tar.xz
tiny-AES-c-24c8ab552c7b2ca17fd9a6410f9772548a4b9e42.tar.zst
tiny-AES-c-24c8ab552c7b2ca17fd9a6410f9772548a4b9e42.zip
Diffstat (limited to '')
-rw-r--r--aes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/aes.c b/aes.c
index 13c0a5f..d22c8a8 100644
--- a/aes.c
+++ b/aes.c
@@ -1,6 +1,7 @@
/*
-This is an implementation of the AES128 algorithm, specifically ECB and CBC mode.
+This is an implementation of the AES algorithm, specifically ECB and CBC mode.
+Block size can be chosen in aes.h - available choices are AES128, AES192, AES256.
The implementation is verified against the test vectors in:
National Institute of Standards and Technology Special Publication 800-38A 2001 ED
@@ -26,6 +27,7 @@ ECB-AES128
NOTE: String length must be evenly divisible by 16byte (str_len % 16 == 0)
You should pad the end of the string with zeros if this is not the case.
+ For AES192/256 the block size is proportionally larger.
*/