Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Tiny AES C
Commits
24c8ab55
Commit
24c8ab55
authored
Jul 08, 2017
by
kokke
Committed by
GitHub
Jul 08, 2017
Browse files
Update aes.c
parent
2138696a
Changes
1
Show whitespace changes
Inline
Side-by-side
aes.c
View file @
24c8ab55
/*
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.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment