[PATCH 1/4] lib: random: implement Xorshift* RNG
Sascha Hauer
s.hauer at pengutronix.de
Tue Apr 22 01:54:57 PDT 2025
On Thu, 17 Apr 2025 08:58:43 +0200, Ahmad Fatoum wrote:
> Xorshift is simpler, faster and better than the LCG we are currently
> using. Add it in preparation alongside the LCG until consumers are
> migrated.
>
>
Applied, thanks!
[1/4] lib: random: implement Xorshift* RNG
https://git.pengutronix.de/cgit/barebox/commit/?id=9b6a09d03eff (link may not be stable)
[2/4] clock: always seed Xorshift* from clocksource on startup
https://git.pengutronix.de/cgit/barebox/commit/?id=3a96e4132ffa (link may not be stable)
[3/4] random: replace all rand/srand API with Xorshift
https://git.pengutronix.de/cgit/barebox/commit/?id=d1411ecfb8f5 (link may not be stable)
[4/4] random: replace get_random_bytes with get_noncrypto_bytes
https://git.pengutronix.de/cgit/barebox/commit/?id=80859bef3d5e (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list