Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Wim Lewis
nettle
Commits
f1abc081
Commit
f1abc081
authored
Apr 16, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deleted unneeded test for NULL authdata
parent
43060f8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ChangeLog
ChangeLog
+3
-0
testsuite/ccm-test.c
testsuite/ccm-test.c
+0
-1
No files found.
ChangeLog
View file @
f1abc081
2014-04-16 Niels Möller <nisse@lysator.liu.se>
* testsuite/ccm-test.c (test_cipher_ccm): Deleted check for NULL
authdata.
* sha3-224.c (sha3_224_init): Pass pointer to context struct, not
pointer to first element, to memset.
* sha3-256.c (sha3_256_init): Likewise.
...
...
testsuite/ccm-test.c
View file @
f1abc081
...
...
@@ -120,7 +120,6 @@ test_cipher_ccm(const struct nettle_cipher *cipher,
ASSERT
(
cleartext
->
length
<=
ciphertext
->
length
);
ASSERT
((
cleartext
->
length
+
CCM_BLOCK_SIZE
)
>=
ciphertext
->
length
);
tlength
=
ciphertext
->
length
-
cleartext
->
length
;
if
(
!
authdata
)
repeat
=
0
;
de_data
=
xalloc
(
cleartext
->
length
);
en_data
=
xalloc
(
ciphertext
->
length
);
...
...
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