diff options
author | Chris Morrison <[email protected]> | 2016-02-19 20:25:33 -0800 |
---|---|---|
committer | Chris Morrison <[email protected]> | 2016-02-19 20:25:33 -0800 |
commit | 629c7156c84c61773d2bc019bcbb0bea8d3ca78d (patch) | |
tree | 64ae3780b63573a9799cae8f6bf10cd27c0b7293 /lib | |
parent | 853e01c70e7f2742f934ae9298a42c7e536f4f7e (diff) |
fixing usage of additional input when generating ctr prng output
Diffstat (limited to 'lib')
-rw-r--r-- | lib/source/ctr_prng.c | 2 |
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++; |