mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Clarify entropy source
This commit is contained in:
parent
a9e82f6512
commit
674848fe1c
@ -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…
x
Reference in New Issue
Block a user