aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/source/ctr_prng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/source/ctr_prng.c b/lib/source/ctr_prng.c
index d52dc5d..c045b62 100644
--- a/lib/source/ctr_prng.c
+++ b/lib/source/ctr_prng.c
@@ -279,7 +279,7 @@ int32_t tc_ctr_prng_generate(TCCtrPrng_t * const ctx,
}
/* 10.2.1.5.1 step 6 */
- tc_ctr_prng_update(ctx, 0);
+ tc_ctr_prng_update(ctx, additional_input_buf);
/* 10.2.1.5.1 step 7 */
ctx->reseedCount++;