diff --git a/yarrow256.c b/yarrow256.c index 0a5f8a091bea6e43b3be608680185d0fae405884..7645a7200b6ee993753ef3151be2e8e72a15b450 100644 --- a/yarrow256.c +++ b/yarrow256.c @@ -117,7 +117,7 @@ yarrow_generate_block(struct yarrow256_ctx *ctx, uint8_t *block) { unsigned i; - + aes_encrypt(&ctx->key, sizeof(ctx->counter), block, ctx->counter); /* Increment counter, treating it as a big-endian number. This is @@ -213,7 +213,6 @@ yarrow256_slow_reseed(struct yarrow256_ctx *ctx) #endif /* Get digest of the slow pool*/ - sha256_digest(&ctx->pools[YARROW_SLOW], sizeof(digest), digest); /* Feed it into the fast pool */