diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-10-22 15:05:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-22 15:05:23 -0500 |
| commit | e1d35f666cc35f6ead55d32ea2679df44d04da72 (patch) | |
| tree | dbcb08cbc40cb0f3e630a5c63201876a7a1e467a /Source/Core/DiscIO/VolumeVerifier.h | |
| parent | 10d958e66bb5d7574166a10f57839a288c5a7c64 (diff) | |
| parent | 7e46e85e8fb3cff68f05bc160c7ac3ed77b1414b (diff) | |
Merge pull request #14913 from jordan-woyak/md5
Common: Introduce MD5Context class and ComputeMD5 function to minimize mbedtls dependence.
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.h')
| -rw-r--r-- | Source/Core/DiscIO/VolumeVerifier.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.h b/Source/Core/DiscIO/VolumeVerifier.h index d057fc83d3..141954741d 100644 --- a/Source/Core/DiscIO/VolumeVerifier.h +++ b/Source/Core/DiscIO/VolumeVerifier.h @@ -10,10 +10,9 @@ #include <string> #include <vector> -#include <mbedtls/md5.h> - #include "Common/CommonTypes.h" #include "Common/Crypto/SHA1.h" +#include "Common/Hash.h" #include "Core/IOS/ES/Formats.h" #include "DiscIO/DiscScrubber.h" #include "DiscIO/Volume.h" @@ -175,7 +174,7 @@ private: Hashes<bool> m_hashes_to_calculate{}; bool m_calculating_any_hash = false; u32 m_crc32_context = 0; - mbedtls_md5_context m_md5_context{}; + std::optional<Common::MD5Context> m_md5_context; std::unique_ptr<Common::SHA1::Context> m_sha1_context; u64 m_excess_bytes = 0; |
