zephyr/subsys/random
Jordan Yates 38c2f892ed random: ctr_drbg: initialize on first run
With f44b3dc4df statically initializing
the entropy_dev variable, `ctr_drbg_initialize` was not being run on
the first call to `z_impl_sys_csrand_get`. Use a dedicated static bool
to track whether the init needs to be run.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-03-23 13:38:47 +01:00
..
CMakeLists.txt random: deprecate XOROSHIRO_RANDOM_GENERATOR 2021-08-05 11:24:44 +02:00
Kconfig everywhere: fix typos 2022-03-18 13:24:08 -04:00
rand32_ctr_drbg.c random: ctr_drbg: initialize on first run 2022-03-23 13:38:47 +01:00
rand32_entropy_device.c random: rand32_entropy_device: get entropy device using DEVICE_DT_GET 2022-03-11 15:27:05 -08:00
rand32_handlers.c random: Fix sys_csrand_get build condition 2021-10-07 14:02:40 -05:00
rand32_timer.c random: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
rand32_xoshiro128.c random: xoshiro128: reseed state on entropy fail 2022-03-23 13:38:47 +01:00