MCPcopy Create free account
hub / github.com/ElementsProject/elements / ReportHardwareRand

Function ReportHardwareRand

src/random.cpp:94–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static void ReportHardwareRand()
95{
96 // This must be done in a separate function, as InitHardwareRand() may be indirectly called
97 // from global constructors, before logging is initialized.
98 if (g_rdseed_supported) {
99 LogPrintf("Using RdSeed as additional entropy source\n");
100 }
101 if (g_rdrand_supported) {
102 LogPrintf("Using RdRand as an additional entropy source\n");
103 }
104}
105
106/** Read 64 bits of entropy using rdrand.
107 *

Callers 1

RandomInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected