summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeDisc.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2022-07-23 22:45:10 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2022-07-26 22:16:37 -0700
commitdd29a54cf6351e79d5c8040f86383eb585ea4aa2 (patch)
treedf5f9e87becf67452c79fb400fdcdc9eec62f40d /Source/Core/DiscIO/VolumeDisc.cpp
parent91169333e9028cc78f0b08091000010f07f975bf (diff)
introduce wrapper for SHA1 functionality
Diffstat (limited to 'Source/Core/DiscIO/VolumeDisc.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeDisc.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/VolumeDisc.cpp b/Source/Core/DiscIO/VolumeDisc.cpp
index 273ccc4efa..b32ddc6d17 100644
--- a/Source/Core/DiscIO/VolumeDisc.cpp
+++ b/Source/Core/DiscIO/VolumeDisc.cpp
@@ -8,9 +8,8 @@
#include <string>
#include <vector>
-#include <mbedtls/sha1.h>
-
#include "Common/CommonTypes.h"
+#include "Common/Crypto/SHA1.h"
#include "DiscIO/DiscUtils.h"
#include "DiscIO/Enums.h"
#include "DiscIO/Filesystem.h"
@@ -95,7 +94,7 @@ bool VolumeDisc::IsNKit() const
return ReadSwapped<u32>(0x200, PARTITION_NONE) == NKIT_MAGIC;
}
-void VolumeDisc::AddGamePartitionToSyncHash(mbedtls_sha1_context* context) const
+void VolumeDisc::AddGamePartitionToSyncHash(Common::SHA1::Context* context) const
{
const Partition partition = GetGamePartition();