Added MSVC support for Argon2.

This commit is contained in:
XMRig 2019-08-17 04:01:53 +07:00
parent 3022f19eda
commit fe832f510e
13 changed files with 132 additions and 87 deletions

View file

@ -333,6 +333,10 @@ rapidjson::Value xmrig::CpuBackend::toJSON(rapidjson::Document &doc) const
out.AddMember("asm", false, allocator);
# endif
# ifdef XMRIG_ALGO_ARGON2
out.AddMember("argon2-impl", argon2::Impl::name().toJSON(), allocator);
# endif
const auto pages = hugePages();
rapidjson::Value hugepages(rapidjson::kArrayType);