Merge #10377: Use rdrand as entropy source on supported platforms

cb24c85 Use rdrand as entropy source on supported platforms (Pieter Wuille)

Tree-SHA512: c42eaa01a14e6bc097c70b6bf8540d61854c2f76cb32be69c2a3c411a126f7b4bf4a4486e4493c4cc367cc689319abde0d4adb799d29a54fd3e81767ce0766fc
This commit is contained in:
Wladimir J. van der Laan
2017-06-14 15:22:08 +02:00
4 changed files with 73 additions and 0 deletions

View File

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