Commit 7ae4240d authored by Niels Möller's avatar Niels Möller

Added some FIXME:s.

Rev: src/nettle/yarrow256.c:1.3
parent 45496870
......@@ -79,6 +79,7 @@ yarrow_fast_reseed(struct yarrow256_ctx *ctx)
unsigned i;
/* FIXME: Mixin the current key! */
sha256_final(&ctx->pools[YARROW_FAST]);
sha256_digest(&ctx->pools[YARROW_FAST], sizeof(digest), digest);
sha256_init(&ctx->pools[YARROW_FAST]);
......@@ -214,6 +215,8 @@ yarrow_generate_block(struct yarrow256_ctx *ctx,
}
}
/* FIXME: According to Niels Ferguson, it's better to gate after each
* request for random data. */
static void
yarrow_generate_block_with_gate(struct yarrow256_ctx *ctx,
uint8_t *block)
......
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