Skip to content

Commit 994a1fb

Browse files
authored
Merge pull request #9970 from JacobBarthelmeh/bench
use heap hint with dilithium benchmark
2 parents 9877bec + b06458f commit 994a1fb

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
@@ -15477,9 +15477,9 @@ void bench_dilithiumKeySign(byte level)
1547715477
}
1547815478
#endif
1547915479

15480-
ret = wc_dilithium_init(key);
15480+
ret = wc_dilithium_init_ex(key, HEAP_HINT, devId);
1548115481
if (ret != 0) {
15482-
printf("wc_dilithium_init failed %d\n", ret);
15482+
printf("wc_dilithium_init_ex failed %d\n", ret);
1548315483
goto out;
1548415484
}
1548515485

0 commit comments

Comments
 (0)