zig/lib/std/rand
Frank Denis dff4bbfd24
Remove Gimli and Xoodoo from the standard library (#14928)
These are great permutations, and there's nothing wrong with them
from a practical security perspective.

However, both were competing in the NIST lightweight crypto
competition.

Gimli didn't pass the 3rd selection round, and is not much used
in the wild besides Zig and libhydrogen. It will never be
standardized and is unlikely to get more traction in the future.

Xoodyak, that Xoodoo is the permutation of, was a finalist.

It has a lot of advantages and *might* be standardized without NIST.
But this is too early to tell, and too risky to commit to it
in a standard library.

For lightweight crypto, Ascon is the one that we know NIST will
standardize and that we can safely rely on from a usage perspective.

Switch to a traditional ChaCha-based CSPRNG, with an Ascon-based one
as an option for constrained systems.

Add a RNG benchmark by the way.

Gimli and Xoodoo served us well. Their code will be maintained,
but outside the standard library.
2023-03-21 04:54:10 +00:00
..
Ascon.zig Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
benchmark.zig Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
ChaCha.zig Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
Isaac64.zig Add argument for fillFn to Random.init 2021-10-29 19:20:31 -04:00
Pcg.zig std: fix bug in Pcg32 fill function (#13894) 2022-12-12 14:19:49 -05:00
RomuTrio.zig Add std.rand.RomuTrio 2022-05-24 22:48:51 -04:00
Sfc64.zig Add argument for fillFn to Random.init 2021-10-29 19:20:31 -04:00
test.zig std.rand: make weightedIndex proportions param a const slice 2022-08-30 13:02:17 +03:00
Xoroshiro128.zig rand: add pub to next/jump 2022-12-18 01:46:09 -05:00
Xoshiro256.zig rand: add pub to next/jump 2022-12-18 01:46:09 -05:00
ziggurat.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00