aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_ctr_prng.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ctr_prng.c')
-rw-r--r--tests/test_ctr_prng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ctr_prng.c b/tests/test_ctr_prng.c
index fc4e611..915fe8a 100644
--- a/tests/test_ctr_prng.c
+++ b/tests/test_ctr_prng.c
@@ -46,7 +46,7 @@ int main(void)
uint8_t * entropy = hexStringToBytes("ce50f33da5d4c1d3d4004eb35244b7f2cd7f2e5076fbf6780a7ff634b249a5fc");
- int32_t ret = tc_ctr_prng_init(&ctx, entropy, sizeof entropy, 0, 0);
+ int32_t ret = tc_ctr_prng_init(&ctx, entropy, 32, 0, 0);
TC_START("Performing CTR-PRNG tests:");