Commit 3df3cb63 authored by Niels Möller's avatar Niels Möller

(yarrow256_force_reseed): New function.

Rev: src/nettle/ChangeLog:1.48
Rev: src/nettle/yarrow.h:1.9
Rev: src/nettle/yarrow256.c:1.13
parent 8a696547
2001-11-15 Niels Mller <nisse@cuckoo.hack.org>
* yarrow256.c (yarrow256_force_reseed): New function.
2001-11-14 Niels Mller <nisse@ehand.com>
* testsuite/yarrow-test.c (main): Use yarrow256_is_seeded.
......
......@@ -87,6 +87,10 @@ yarrow256_is_seeded(struct yarrow256_ctx *ctx);
unsigned
yarrow256_needed_sources(struct yarrow256_ctx *ctx);
void
yarrow256_force_reseed(struct yarrow256_ctx *ctx);
/* Key event estimator */
#define YARROW_KEY_EVENT_BUFFER 16
......
......@@ -385,3 +385,9 @@ yarrow256_needed_sources(struct yarrow256_ctx *ctx)
return (k < YARROW_SLOW_K) ? (YARROW_SLOW_K - k) : 0;
}
void
yarrow256_force_reseed(struct yarrow256_ctx *ctx)
{
yarrow_slow_reseed(ctx);
}
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