Skip to content

Commit b06458f

Browse files
use heap hint with dilithium benchmark
1 parent aa9ee8b commit b06458f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfcrypt/benchmark/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15474,9 +15474,9 @@ void bench_dilithiumKeySign(byte level)
1547415474
}
1547515475
#endif
1547615476

15477-
ret = wc_dilithium_init(key);
15477+
ret = wc_dilithium_init_ex(key, HEAP_HINT, devId);
1547815478
if (ret != 0) {
15479-
printf("wc_dilithium_init failed %d\n", ret);
15479+
printf("wc_dilithium_init_ex failed %d\n", ret);
1548015480
goto out;
1548115481
}
1548215482

0 commit comments

Comments
 (0)