mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-04-19 13:18:40 +02:00
RNG Update
1. When the seed callback is enabled, allow wc_GenerateSeed() to be used as a default callback. 2. Modify all the tests and examples to use the default seed callback if the seed callback is enabled.
This commit is contained in:
@@ -1972,6 +1972,9 @@ int benchmark_init(void)
|
||||
printf("wolfCrypt_Init failed %d\n", ret);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
#ifdef WC_RNG_SEED_CB
|
||||
wc_SetSeed_Cb(wc_GenerateSeed);
|
||||
#endif
|
||||
|
||||
bench_stats_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user