summaryrefslogtreecommitdiffstats
path: root/docs/PORTING_TO_NEW_ARCHITECTURES.md (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: BLS and DPS are now on uapi-group websiteZbigniew Jędrzejewski-Szmek2022-11-211-2/+2
|
* random-util: remove RDRAND usageJason A. Donenfeld2022-03-141-4/+1
| | | | | | | | | | | | | | | | | | | /dev/urandom is seeded with RDRAND. Calling genuine_random_bytes(..., ..., 0) will use /dev/urandom as a last resort. Hence, we gain nothing here by having our own RDRAND wrapper, because /dev/urandom already is based on RDRAND output, even before /dev/urandom has fully initialized. Furthermore, RDRAND is not actually fast! And on each successive generation of new x86 CPUs, from both AMD and Intel, it just gets slower. This commit simplifies things by just using /dev/urandom in cases where we before might use RDRAND, since /dev/urandom will always have RDRAND mixed in as part of it. And above where I say "/dev/urandom", what I actually mean is GRND_INSECURE, which is the same thing but won't generate warnings in dmesg.
* doc: add some docs with a checklist of what to do for new architecturesLennart Poettering2021-11-101-0/+61