Searched refs:BCRYPT_USE_SYSTEM_PREFERRED_RNG (Results 1 – 3 of 3) sorted by relevance
/reactos/modules/rostests/winetests/bcrypt/ |
H A D | bcrypt.c | 51 ret = pBCryptGenRandom(NULL, buffer, sizeof(buffer), BCRYPT_USE_SYSTEM_PREFERRED_RNG); in test_BCryptGenRandom() 54 BCRYPT_USE_SYSTEM_PREFERRED_RNG|BCRYPT_RNG_USE_ENTROPY_IN_BUFFER); in test_BCryptGenRandom() 56 ret = pBCryptGenRandom(NULL, NULL, sizeof(buffer), BCRYPT_USE_SYSTEM_PREFERRED_RNG); in test_BCryptGenRandom() 60 ret = pBCryptGenRandom(NULL, buffer, 0, BCRYPT_USE_SYSTEM_PREFERRED_RNG); in test_BCryptGenRandom() 65 ret = pBCryptGenRandom(NULL, buffer, 8, BCRYPT_USE_SYSTEM_PREFERRED_RNG); in test_BCryptGenRandom()
|
/reactos/sdk/include/psdk/ |
H A D | bcrypt.h | 171 #define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002 macro
|
/reactos/dll/win32/bcrypt/ |
H A D | bcrypt_main.c | 297 const DWORD supported_flags = BCRYPT_USE_SYSTEM_PREFERRED_RNG; in BCryptGenRandom() 307 if (!(flags & BCRYPT_USE_SYSTEM_PREFERRED_RNG)) in BCryptGenRandom() 326 if (algorithm || (flags & BCRYPT_USE_SYSTEM_PREFERRED_RNG)) in BCryptGenRandom()
|