Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
7d838d50
Commit
7d838d50
authored
Sep 30, 2010
by
Niels Möller
Browse files
(test_xor): Added verbose printout.
Rev: nettle/testsuite/memxor-test.c:1.2
parent
07f9e436
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/memxor-test.c
View file @
7d838d50
...
...
@@ -29,6 +29,10 @@ test_xor (const uint8_t *a, const uint8_t *b, const uint8_t *c,
uint8_t
*
dst
=
set_align
(
dst_buf
,
align_dst
);
uint8_t
*
src
=
set_align
(
src_buf
,
align_src
);
if
(
verbose
)
fprintf
(
stderr
,
"size = %d, align_dst = %d, align_src = %d
\n
"
,
(
int
)
size
,
align_dst
,
align_src
);
memcpy
(
dst
,
a
,
size
);
dst
[
-
1
]
=
17
;
dst
[
size
]
=
17
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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