2 ms·
Specific to these improvements in Linux CRNG: * FreeBSD generation (getrandom(), /dev/urandom, arc4random, etc) does not use RDRAND in the hot path. * The For
by loeg 5y ago
Specific to these improvements in Linux CRNG:
* FreeBSD generation (getrandom(), /dev/urandom, arc4random, etc) does not use RDRAND in the hot path.
* The Fortuna state hashing algorithm uses a SHA256-based construction; not SHA1 or Blake2s[1].
[1]: https://github.com/freebsd/freebsd-src/blob/main/sys/dev/random/hash.c#L85-L109 https://github.com/freebsd/freebsd-src/blob/main/sys/dev/ran... , https://github.com/freebsd/freebsd-src/blob/main/sys/dev/random/fortuna.c#L395-L439 https://github.com/freebsd/freebsd-src/blob/main/sys/dev/ran...