14#define DEFAULT_SECURITY_COOKIE 0x00002B992DDFA232ull
15#define _rotlptr _rotl64
17#define DEFAULT_SECURITY_COOKIE 0xBB40E64E
30#if defined(_M_IX86) || defined(_M_X64)
34 while (!_rdrand64_step(&randomValue))
53 randomValue ^= performanceCounter.
QuadPart;
55 randomValue ^= performanceCounter.
LowPart;
56 randomValue ^= performanceCounter.
HighPart;
62#if (_WIN32_WINNT >= _WIN32_WINNT_WIN8)
75 randomValue &= 0x0000FFFFFFFFFFFFull;
uintptr_t __security_cookie
void __security_init_cookie(void)
#define DEFAULT_SECURITY_COOKIE
uintptr_t __security_cookie_complement
BOOL WINAPI QueryPerformanceCounter(OUT PLARGE_INTEGER lpPerformanceCount)
BOOL WINAPI IsProcessorFeaturePresent(IN DWORD ProcessorFeature)
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
DWORD WINAPI GetTickCount(VOID)
VOID WINAPI GetSystemTimePreciseAsFileTime(OUT PFILETIME lpFileTime)
int __cdecl _rdrand32_step(unsigned int *random_val)
PPC_QUAL unsigned long long __rdtsc(void)
DWORD WINAPI GetCurrentThreadId(void)
DWORD WINAPI GetCurrentProcessId(void)
#define PF_RDRAND_INSTRUCTION_AVAILABLE
#define PF_RDTSC_INSTRUCTION_AVAILABLE