This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/67578] New: std::random_device::entropy() always returns 0
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Sep 2015 17:25:13 +0000
- Subject: [Bug libstdc++/67578] New: std::random_device::entropy() always returns 0
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67578
Bug ID: 67578
Summary: std::random_device::entropy() always returns 0
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
When using /dev/random or /dev/urandom on GNU/Linux we can get the bits of
available entropy using the RNDGETENTCNT ioctl.