On Sun, May 31, 2020 at 12:26 PM Bruno Haible wrote:
>
> Native Windows is the only platform without the /dev/random and
> /dev/urandom devices; it therefore needs special code.
>
> Jeffrey Walton wrote:
> > On modern Windows systems you should use BCryptGenRandom for the
> > material. CryptGenRan
ements it: try BCryptGenRandom first, and fall back on
CryptGenRandom.
2020-05-31 Bruno Haible
getrandom: Add support for native Windows.
* lib/getrandom.c: Include , , ,
.
(CRYPT_VERIFY_CONTEXT): New macro.
(LoadLibrary, CryptAcquireContext): Redirect