summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/qandroideventdispatcher.h
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2025-11-07 16:00:49 -0800
committerThiago Macieira <[email protected]>2025-11-12 17:28:10 -0800
commit5a685653b8903dbfd722b0c299651b65e3632ac5 (patch)
tree954f8e7d1d59d5775dbfd2b3854e5fdad56a3f75 /src/plugins/platforms/android/qandroideventdispatcher.h
parente906044d6c54d36ae578c861f0c6854d04bc2cd3 (diff)
QRandomGenerator: remove direct use of HW instructionsHEADdev
The HWRNG instructions are not necessarily faster than what we can get from the OS. Moreover, the OS is able to collect entropy from sources other than the CPU itself. More importantly, this removes the need for Qt to deal with broken HWRNG, passing the buck to the OS (which may disable the CPUID bit, causing the application to fail to load). [ChangeLog][QtCore][QRandomGenerator] This class no longer directly uses a hardware random number generator on x86 systems, even if one is available. Instead, it will always use a generator provided by the OS (so performance will be OS-specific), though there should be no meaningful difference in the quality of the samples generated. Task-number: QTBUG-69423 Task-number: QTBUG-129193 Pick-to: 6.10 6.8 6.5 Change-Id: I5121c5a34d684983fa1dfffdbabd22de51966650 Reviewed-by: Jason A. Donenfeld <[email protected]> Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Diffstat (limited to 'src/plugins/platforms/android/qandroideventdispatcher.h')
0 files changed, 0 insertions, 0 deletions