Commit 047fc937 authored by Niels Möller's avatar Niels Möller

(main): Better output of entropy

estimates at the end.

Rev: src/nettle/testsuite/yarrow-test.c:1.2
parent 80c96b68
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment