Benjamin Valentin
39b8cdf760
sys/random: default to musl LCG
...
In [0] the paper concludes with
> The Knuth LCG is the most efficient general purpose generator that
> provides decent statistical quality.
> It is simple and lean enough to run on very constrained devices.
So let's select `prng_musl_lcg` to be the default PRNG instead of
`prng_tinymt32`.
This gives a good chunk of memory on e.g. `samr21-xpro`:
prng_tinymt32
-------------
text data bss dec hex filename
26452 136 2824 29412 72e4 tests/rng/bin/samr21-xpro/tests_rng.elf
prng_musl_lcg
-------------
text data bss dec hex filename
26208 136 2808 29152 71e0 tests/rng/bin/samr21-xpro/tests_rng.elf
[0] https://sci-hub.se/10.1145/3453159
2021-11-11 19:59:26 +01:00
..
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2021-11-05 10:21:26 +01:00
2021-10-05 14:15:57 +02:00
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2021-08-13 19:50:38 +02:00
2021-02-22 14:54:14 +01:00
2020-11-27 09:20:05 +01:00
2021-03-05 16:47:53 +01:00
2020-11-18 18:38:44 +01:00
2021-05-04 11:06:35 +02:00
2021-08-13 19:50:38 +02:00
2021-08-13 19:50:38 +02:00
2021-02-22 14:54:14 +01:00
2020-12-02 10:14:43 +01:00
2021-01-08 10:15:33 +01:00
2021-09-24 16:20:35 +02:00
2021-09-08 15:22:40 +02:00
2021-01-21 10:03:44 +01:00
2021-01-18 14:14:13 +01:00
2021-08-13 19:50:38 +02:00
2021-07-09 11:35:22 +02:00
2021-08-13 19:50:38 +02:00
2021-11-06 20:16:56 +01:00
2021-01-21 11:22:32 +01:00
2021-08-13 19:50:38 +02:00
2021-01-26 17:40:30 +01:00
2021-05-06 13:04:01 +02:00
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2021-02-22 14:54:14 +01:00
2021-11-09 21:42:45 +01:00
2021-01-11 14:35:40 +01:00
2021-02-22 14:54:15 +01:00
2020-11-25 12:00:13 +01:00
2021-10-18 12:02:33 +02:00
2021-03-15 21:17:17 +01:00
2021-09-14 17:50:08 +02:00
2021-04-07 12:05:00 +02:00
2021-09-15 10:16:45 +02:00
2021-11-11 19:59:26 +01:00
2021-09-22 20:47:12 +02:00
2021-08-13 19:50:38 +02:00
2021-01-18 11:14:23 +01:00
2021-10-06 17:59:49 +02:00
2021-01-17 00:17:58 +01:00
2021-02-22 14:54:15 +01:00
2021-10-22 14:14:58 +02:00
2021-08-13 19:50:38 +02:00
2021-11-03 11:39:26 +01:00
2021-08-13 19:50:38 +02:00
2021-10-25 22:31:16 +03:00
2021-02-22 14:54:15 +01:00
2021-06-14 09:04:25 +02:00
2021-08-04 14:01:28 +02:00
2021-11-05 08:36:53 +01:00
2021-09-16 18:18:48 +02:00
2021-08-13 19:50:38 +02:00
2021-11-09 15:32:33 +01:00
2021-11-09 15:32:34 +01:00
2021-10-01 11:26:15 +02:00
2021-10-01 11:26:15 +02:00
2021-10-01 11:26:15 +02:00
2021-10-01 11:26:15 +02:00
2021-09-02 23:12:31 +02:00
2021-10-26 14:14:45 +02:00
2021-10-11 21:37:39 +02:00