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
1cd676c2
Unverified
Commit
1cd676c2
authored
Nov 10, 2017
by
kokke
Committed by
GitHub
Nov 10, 2017
Browse files
Update aes.c
parent
49929c36
Changes
1
Hide whitespace changes
Inline
Side-by-side
aes.c
View file @
1cd676c2
...
...
@@ -537,8 +537,8 @@ void AES_CBC_encrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, co
for
(
i
=
0
;
i
<
length
;
i
+=
BLOCKLEN
)
{
XorWithIv
(
input
);
memcpy
(
output
,
input
,
BLOCKLEN
);
XorWithIv
(
output
);
state
=
(
state_t
*
)
output
;
Cipher
();
Iv
=
output
;
...
...
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