zephyr/modules/hal_nordic
Artur Hadasz 4400540d15 modules: hal_nordic: nrf_802154: RNG xor-shift algorithm
The LCG method used earlier in the random number generator was problematic,
as the lowest bits repeated periodically (for example, the generated number
always resulted in an odd-even-odd-even-.. sequence, or the last three bits
formed an cycle of the length 8). This is because the LCG was done module
2^32. Any LCG using a power of 2 as the modulus will cause the same issue.
The used RNG method was changed to Marsaglia's xor shift-algorithm,
which does not have this issue.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2023-01-04 11:44:07 +00:00
..
nrf_802154 modules: hal_nordic: nrf_802154: RNG xor-shift algorithm 2023-01-04 11:44:07 +00:00
nrfx soc: nrf52: Kconfig option for nRF52840 anomaly 198 2022-12-27 15:32:22 +01:00
CMakeLists.txt modules: hal_nordic: add new nrf-802154 glue cmake 2021-04-01 14:08:08 +02:00
Kconfig modules: hal_nordic: Remove Kconfig.dt 2022-08-17 08:06:55 +00:00