On Fri, 2020-09-04 at 17:26 +0300, Stefan Dösinger wrote:
On 04.09.2020, at 14:15, Hans Leidekker hans@codeweavers.com
wrote:
Ideally we'd implement this with getrandom() on Linux. We probably don't want to split advapi32 just for this, so maybe a private ntdll export is justified here?
Can it be efficiently implemented on top of RtlRandomEx?
No, that function distributes an input seed over a range of integer values. We need a random number generator.