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
Nettle
nettle
Commits
7d84f8b1
Commit
7d84f8b1
authored
Nov 14, 2001
by
Niels Möller
Browse files
(main): Use yarrow256_is_seeded.
Rev: src/nettle/testsuite/yarrow-test.c:1.7
parent
1078e1fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/yarrow-test.c
View file @
7d84f8b1
...
...
@@ -223,7 +223,7 @@ main(int argc, char **argv)
fprintf
(
stderr
,
"source 0 entropy: %d
\n
"
,
sources
[
0
].
estimate
[
YARROW_SLOW
]);
assert
(
!
yarrow
.
seeded
);
assert
(
!
yarrow
256_is_seeded
(
&
yarrow
)
);
input
=
open_file
(
"rfc1750.txt"
);
...
...
@@ -246,7 +246,7 @@ main(int argc, char **argv)
yarrow_key_event_estimate
(
&
estimator
,
c
,
t
),
sizeof
(
buf
),
buf
);
if
(
yarrow
.
seeded
)
if
(
yarrow
256_is_seeded
(
&
yarrow
)
)
{
static
const
unsigned
sizes
[
4
]
=
{
1
,
16
,
500
,
37
};
unsigned
size
=
sizes
[
processed
%
4
];
...
...
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