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
218dbd8b
Unverified
Commit
218dbd8b
authored
Mar 30, 2020
by
kokke
Committed by
GitHub
Mar 30, 2020
Browse files
Update aes.h
parent
7052fd19
Changes
1
Hide whitespace changes
Inline
Side-by-side
aes.h
View file @
218dbd8b
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
//#define AES192 1
//#define AES192 1
//#define AES256 1
//#define AES256 1
#define AES_BLOCKLEN 16 //Block length in bytes AES is 128b block only
#define AES_BLOCKLEN 16 //
Block length in bytes
-
AES is 128b block only
#if defined(AES256) && (AES256 == 1)
#if defined(AES256) && (AES256 == 1)
#define AES_KEYLEN 32
#define AES_KEYLEN 32
...
@@ -87,4 +87,4 @@ void AES_CTR_xcrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, uint32_t length);
...
@@ -87,4 +87,4 @@ void AES_CTR_xcrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, uint32_t length);
#endif // #if defined(CTR) && (CTR == 1)
#endif // #if defined(CTR) && (CTR == 1)
#endif //_AES_H_
#endif //
_AES_H_
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