diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-13 15:45:30 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-12 06:14:51 +0000 |
| commit | 0c355e78f0cf51d4ad6cfb2eb0f289979cba843a (patch) | |
| tree | 588fce0d6687efdeca024a2027f211579623f96d /src/tools/uic/cpp/cppwriteicondata.cpp | |
| parent | dfdc466dc1a7b22cbab700a188daba4f052a25ce (diff) | |
QRandomGenerator: add support for hardware-based random generators
This commit adds support for the x86 RDRAND instruction for
QRandomGenerator. This is the same that libstdc++-v3 uses for
std::random_device() by default. If it fails because the hardware does
not have enough entropy collected, we fall back to the operating system
generator, which often has more entropy collected from other sources.
Change-Id: Icd0e0d4b27cb4e5eb892fffd14b5167214e1ea3f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteicondata.cpp')
0 files changed, 0 insertions, 0 deletions
