Skip to content
Snippets Groups Projects
Commit 047fc937 authored by Niels Möller's avatar Niels Möller
Browse files

(main): Better output of entropy

estimates at the end.

Rev: src/nettle/testsuite/yarrow-test.c:1.2
parent 80c96b68
No related branches found
No related tags found
No related merge requests found
......@@ -180,10 +180,13 @@ main(int argc, char **argv)
fprintf(stderr, "\n\nseeded: %s\n", yarrow.seeded ? "yes": "no");
fprintf(stderr, "source 0 entropy: %d\n",
sources[0].estimate[YARROW_SLOW]);
fprintf(stderr, "source 1 entropy: %d\n",
sources[1].estimate[YARROW_SLOW]);
fprintf(stderr, "source 0, (fast, slow) entropy: (%d, %d)\n",
sources[0].estimate[YARROW_FAST],
sources[0].estimate[YARROW_SLOW]);
fprintf(stderr, "source 1, (fast, slow) entropy: (%d, %d)\n",
sources[1].estimate[YARROW_FAST],
sources[1].estimate[YARROW_SLOW]);
return EXIT_SUCCESS;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment