Use rdrand as entropy source on supported platforms

This commit is contained in:
Pieter Wuille
2017-05-09 15:13:00 -07:00
parent 4cb8757aae
commit cb24c8539d
4 changed files with 73 additions and 0 deletions

View File

@@ -1168,6 +1168,7 @@ bool AppInitSanityChecks()
// ********************************************************* Step 4: sanity checks
// Initialize elliptic curve code
RandomInit();
ECC_Start();
globalVerifyHandle.reset(new ECCVerifyHandle());