Home
last modified time | relevance | path

Searched refs:BCRYPT_USE_SYSTEM_PREFERRED_RNG (Results 1 – 3 of 3) sorted by relevance

/reactos/modules/rostests/winetests/bcrypt/
H A Dbcrypt.c51 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 Dbcrypt.h171 #define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002 macro
/reactos/dll/win32/bcrypt/
H A Dbcrypt_main.c297 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()