Port optimized SHA256 SSE4 routines from KMD+BTC upstream

This commit is contained in:
Duke Leto
2019-11-27 20:38:36 -05:00
parent 3860b93eb3
commit 5b269c1922
5 changed files with 102 additions and 17 deletions

View File

@@ -1378,6 +1378,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
ECC_Start();
globalVerifyHandle.reset(new ECCVerifyHandle());
std::string sha256_algo = SHA256AutoDetect();
LogPrintf("Using the '%s' SHA256 implementation\n", sha256_algo);
//fprintf(stderr,"%s tik10\n", __FUNCTION__);
// Sanity check
if (!InitSanityCheck())