mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
VolumeVerifier: enable fast hash functions by default
sets defaults based on cpu support.
This commit is contained in:
@ -59,6 +59,7 @@ public:
|
||||
ASSERT(!mbedtls_sha1_finish_ret(&ctx, digest.data()));
|
||||
return digest;
|
||||
}
|
||||
virtual bool HwAccelerated() const override { return false; }
|
||||
|
||||
private:
|
||||
mbedtls_sha1_context ctx{};
|
||||
@ -249,6 +250,8 @@ private:
|
||||
return digest;
|
||||
}
|
||||
|
||||
virtual bool HwAccelerated() const override { return true; }
|
||||
|
||||
std::array<__m128i, 2> state{};
|
||||
};
|
||||
|
||||
@ -363,6 +366,8 @@ private:
|
||||
return digest;
|
||||
}
|
||||
|
||||
virtual bool HwAccelerated() const override { return true; }
|
||||
|
||||
State state;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user