4400540d15
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> |
||
---|---|---|
.. | ||
nrf_802154 | ||
nrfx | ||
CMakeLists.txt | ||
Kconfig |