From: Niels Möller Date: Mon, 8 Oct 2001 15:41:09 +0000 (+0200) Subject: Added some FIXME:s. X-Git-Tag: nettle_1.5_release_20020131~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ae4240d2089480824a09a0b486f04b00ec651fd;p=thirdparty%2Fnettle.git Added some FIXME:s. Rev: src/nettle/yarrow256.c:1.3 --- diff --git a/yarrow256.c b/yarrow256.c index 674143aa..de924c35 100644 --- a/yarrow256.c +++ b/yarrow256.c @@ -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)