Per
https://software.intel.com/en-us/blogs/2012/11/17/the-difference-between-rdrand-and-rdseed
, RDRAND is a PRNG seeded from the same source as RDSEED. The source is
more suitable as PRNG seed material, so prefer it when the RDSEED intrinsic
is available (indicated in CPU feature bits).
Details
Details
- Reviewers
delphij markm imp jhb kib jmg - Group Reviewers
O3: Kernel Random Numbers Generator - Commits
- rS347239: random: x86 driver: Prefer RDSEED over RDRAND when available
Bhyve blocks RDSEED feature bit, unfortunately. So I have not tested RDSEED
functionality of this patch yet.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
- Drop ifndef wat
- Drop bangbang "operator" -- bool implicitly coerces on assignment already