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
03732078
Commit
03732078
authored
Dec 15, 2014
by
kokke
Browse files
Update test.c
parent
800dddc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.c
View file @
03732078
...
@@ -119,9 +119,9 @@ static void test_decrypt_cbc(void)
...
@@ -119,9 +119,9 @@ static void test_decrypt_cbc(void)
uint8_t
buffer
[
64
];
uint8_t
buffer
[
64
];
AES128_CBC_decrypt_buffer
(
buffer
+
0
,
in
+
0
,
16
,
key
,
iv
);
AES128_CBC_decrypt_buffer
(
buffer
+
0
,
in
+
0
,
16
,
key
,
iv
);
AES128_CBC_decrypt_buffer
(
buffer
+
16
,
in
+
16
,
16
,
key
,
0
);
AES128_CBC_decrypt_buffer
(
buffer
+
16
,
in
+
16
,
16
,
0
,
0
);
AES128_CBC_decrypt_buffer
(
buffer
+
32
,
in
+
32
,
16
,
key
,
0
);
AES128_CBC_decrypt_buffer
(
buffer
+
32
,
in
+
32
,
16
,
0
,
0
);
AES128_CBC_decrypt_buffer
(
buffer
+
48
,
in
+
48
,
16
,
key
,
0
);
AES128_CBC_decrypt_buffer
(
buffer
+
48
,
in
+
48
,
16
,
0
,
0
);
printf
(
"CBC decrypt: "
);
printf
(
"CBC decrypt: "
);
...
...
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