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
c05b9ec8
Commit
c05b9ec8
authored
Feb 06, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nettle-benchmark: Fixed memset calls.
parent
5fea7663
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ChangeLog
ChangeLog
+4
-0
examples/nettle-benchmark.c
examples/nettle-benchmark.c
+3
-3
No files found.
ChangeLog
View file @
c05b9ec8
2014-02-06 Niels Möller <nisse@lysator.liu.se>
* examples/nettle-benchmark.c (time_cipher): Fixed memset calls.
2014-01-30 Niels Möller <nisse@lysator.liu.se>
* Makefile.in (nettle_SOURCES): Arrange in alphabetic order.
...
...
examples/nettle-benchmark.c
View file @
c05b9ec8
...
...
@@ -553,7 +553,7 @@ time_cipher(const struct nettle_cipher *cipher)
info
.
block_size
=
cipher
->
block_size
;
info
.
iv
=
iv
;
memset
(
iv
,
0
,
sizeof
(
iv
));
memset
(
iv
,
0
,
sizeof
(
cipher
->
block_size
));
cipher
->
set_encrypt_key
(
ctx
,
key
);
...
...
@@ -569,7 +569,7 @@ time_cipher(const struct nettle_cipher *cipher)
info
.
block_size
=
cipher
->
block_size
;
info
.
iv
=
iv
;
memset
(
iv
,
0
,
sizeof
(
iv
));
memset
(
iv
,
0
,
sizeof
(
cipher
->
block_size
));
cipher
->
set_decrypt_key
(
ctx
,
key
);
...
...
@@ -586,7 +586,7 @@ time_cipher(const struct nettle_cipher *cipher)
info
.
block_size
=
cipher
->
block_size
;
info
.
iv
=
iv
;
memset
(
iv
,
0
,
sizeof
(
iv
));
memset
(
iv
,
0
,
sizeof
(
cipher
->
block_size
));
cipher
->
set_encrypt_key
(
ctx
,
key
);
...
...
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