> On Jul 30, 2019, at 5:15 AM, Remco <re...@dpub.nl> wrote:
>
> On 30-07-19 09:51, Peter J. Philipp wrote:
>> Hi,
>> I had considered doing some programming in visual studio on windows and I
>> really miss the easy arc4random*() routines there.
>
> You may be able to get the arc4ramdon interface on systems other than OpenBSD
> by extracting the necessary files from:
> - src/lib/libc/crypt/
> - src/lib/libcrypto/arc4random/
>
> This appears to work fine on Linux, I haven't tried it on Windows.
>
Correct, these were built to be easily reusable within other projects. The
LibreSSL Windows port uses these as well.
https://github.com/libressl-portable/portable/blob/master/crypto/CMakeLists.txt#L889
<https://github.com/libressl-portable/portable/blob/master/crypto/CMakeLists.txt#L889>
- Brent