mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 18:22:23 +01:00
* add wc_linuxkm_drbg_ctx.n_rngs, and in wc_linuxkm_drbg_init_tfm(), set it to max(4, nr_cpu_ids), to avoid stalling on unicore targets; * add explanatory comments re architecture to get_drbg() and get_drbg_n(); * add opportunistic cond_sched() to get_drbg_n(); * add runtime asserts in get_drbg(), wc_linuxkm_drbg_seed(), and get_default_drbg_ctx(), checking that we have the right tfm with an allocated DRBG array; * wc_linuxkm_drbg_startup(): return failure if registering the random_bytes handlers fails; linuxkm/patches/6.1.73/WOLFSSL_LINUXKM_HAVE_GET_RANDOM_CALLBACKS-6v1v73.patch: fix flub.