Browse Source

Clarify entropy source

0.15
Pieter Wuille 7 years ago
parent
commit
674848fe1c
  1. 2
      src/random.cpp

2
src/random.cpp

@ -78,7 +78,7 @@ static void RDRandInit()
{ {
uint32_t eax, ebx, ecx, edx; uint32_t eax, ebx, ecx, edx;
if (__get_cpuid(1, &eax, &ebx, &ecx, &edx) && (ecx & CPUID_F1_ECX_RDRAND)) { if (__get_cpuid(1, &eax, &ebx, &ecx, &edx) && (ecx & CPUID_F1_ECX_RDRAND)) {
LogPrintf("Using RdRand as entropy source\n"); LogPrintf("Using RdRand as an additional entropy source\n");
rdrand_supported = true; rdrand_supported = true;
} }
hwrand_initialized.store(true); hwrand_initialized.store(true);

Loading…
Cancel
Save