mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-28 22:21:15 -07:00
Trust another safe arc4random() implementation
This commit is contained in:
parent
8f8d060e11
commit
01ed4737af
@ -72,7 +72,7 @@ BOOLEAN NTAPI RtlGenRandom(PVOID RandomBuffer, ULONG RandomBufferLength);
|
||||
|
||||
#define SALSA20_RANDOM_BLOCK_SIZE crypto_core_salsa20_OUTPUTBYTES
|
||||
|
||||
#if defined(__OpenBSD__) || defined(__CloudABI__)
|
||||
#if defined(__OpenBSD__) || defined(__CloudABI__) || defined(__wasi__)
|
||||
# define HAVE_SAFE_ARC4RANDOM 1
|
||||
#endif
|
||||
|
||||
|
@ -72,7 +72,7 @@ BOOLEAN NTAPI RtlGenRandom(PVOID RandomBuffer, ULONG RandomBufferLength);
|
||||
# pragma comment(lib, "advapi32.lib")
|
||||
#endif
|
||||
|
||||
#if defined(__OpenBSD__) || defined(__CloudABI__)
|
||||
#if defined(__OpenBSD__) || defined(__CloudABI__) || defined(__wasi__)
|
||||
# define HAVE_SAFE_ARC4RANDOM 1
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user