MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ReportHardwareRand

Function ReportHardwareRand

src/random.cpp:105–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void ReportHardwareRand()
106{
107 // This must be done in a separate function, as InitHardwareRand() may be indirectly called
108 // from global constructors, before logging is initialized.
109 if (g_rdseed_supported) {
110 LogInfo("Using RdSeed as an additional entropy source");
111 }
112 if (g_rdrand_supported) {
113 LogInfo("Using RdRand as an additional entropy source");
114 }
115}
116
117/** Read 64 bits of entropy using rdrand.
118 *

Callers 1

RandomInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected