Clarify entropy source
This commit is contained in:
parent
a9e82f6512
commit
674848fe1c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue