summaryrefslogtreecommitdiff
path: root/yarrow256.c
diff options
context:
space:
mode:
Diffstat (limited to 'yarrow256.c')
-rw-r--r--yarrow256.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/yarrow256.c b/yarrow256.c
index 0a5f8a09..7645a720 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 */