[RFC PATCH] advapi32: Use Windows APIs to read /dev/urandom.

Hans Leidekker hans at codeweavers.com
Fri Sep 4 10:00:49 CDT 2020


On Fri, 2020-09-04 at 17:26 +0300, Stefan Dösinger wrote:
> On 04.09.2020, at 14:15, Hans Leidekker <hans at 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.





More information about the wine-devel mailing list