Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
7797d922
Commit
7797d922
authored
Feb 14, 2011
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(test_gcm_aes): Updated for gcm_aes_auth to gcm_aes_update renaming.
Rev: nettle/testsuite/gcm-test.c:1.7
parent
4961af0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
testsuite/gcm-test.c
testsuite/gcm-test.c
+2
-2
No files found.
testsuite/gcm-test.c
View file @
7797d922
...
...
@@ -26,7 +26,7 @@ test_gcm_aes(unsigned key_length,
gcm_aes_set_iv
(
&
ctx
,
iv_length
,
iv
);
if
(
auth_length
)
gcm_aes_
auth
(
&
ctx
,
auth_length
,
authtext
);
gcm_aes_
update
(
&
ctx
,
auth_length
,
authtext
);
if
(
length
)
gcm_aes_encrypt
(
&
ctx
,
length
,
data
,
cleartext
);
...
...
@@ -44,7 +44,7 @@ test_gcm_aes(unsigned key_length,
gcm_aes_set_iv
(
&
ctx
,
iv_length
,
iv
);
if
(
auth_length
)
gcm_aes_
auth
(
&
ctx
,
auth_length
,
authtext
);
gcm_aes_
update
(
&
ctx
,
auth_length
,
authtext
);
if
(
length
)
gcm_aes_decrypt
(
&
ctx
,
length
,
data
,
data
);
...
...
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