VolumeVerifier: enable fast hash functions by default

sets defaults based on cpu support.
This commit is contained in:
Shawn Hoffman
2022-07-28 10:31:16 -07:00
parent 7d2d5d914b
commit d71797154a
7 changed files with 61 additions and 18 deletions

View File

@ -23,8 +23,8 @@ private:
void PrintFullReport(const std::optional<DiscIO::VolumeVerifier::Result> result);
std::optional<DiscIO::VolumeVerifier::Result>
VerifyVolume(std::shared_ptr<DiscIO::VolumeDisc> volume, bool enable_crc32, bool enable_md5,
bool enable_sha1);
VerifyVolume(std::shared_ptr<DiscIO::VolumeDisc> volume,
const DiscIO::Hashes<bool>& hashes_to_calculate);
std::string HashToHexString(const std::vector<u8>& hash);
};