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
bacca1bd
Unverified
Commit
bacca1bd
authored
Dec 01, 2017
by
kokke
Committed by
GitHub
Dec 01, 2017
Browse files
Update aes.c
parent
fbaaf619
Changes
1
Hide whitespace changes
Inline
Side-by-side
aes.c
View file @
bacca1bd
...
@@ -609,7 +609,8 @@ void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, con
...
@@ -609,7 +609,8 @@ void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, con
Key
=
key
;
Key
=
key
;
KeyExpansion
();
KeyExpansion
();
int
i
,
j
;
int
j
;
unsigned
i
;
for
(
i
=
0
;
i
<
length
;
++
i
)
for
(
i
=
0
;
i
<
length
;
++
i
)
{
{
if
((
i
&
(
BLOCKLEN
-
1
))
==
0
)
if
((
i
&
(
BLOCKLEN
-
1
))
==
0
)
...
...
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