dolphin/Source/Core/DiscIO
JosJuice 4b73d18eaa Re-implement FixCommonKeyIndex for WAD files
The old implementation of this was not able to distinguish between
a title that had the common key index set to 1 because it actually
was Korean and a title that had the common key index set to 1 due to
fakesigning. This new implementation solves the problem by
decrypting a content with each possible common key and checking
which result matches the provided SHA-1 hash.

The problem that the old implementation causes has only been reported
to affect a certain pirated WAD of Chronos Twins DX (WC6EUP), but it's
possible that the problem would start affecting more WADs if we add
support for the vWii common key (which uses index 2). Adding support
for the vWii common key would also prevent us from using the simpler
solution of always forcing the index to 0 if the title is not Korean.
2019-07-21 09:58:16 +02:00
..
Blob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Blob.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
CISOBlob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
CISOBlob.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
CMakeLists.txt DiscIO: Merge WiiWAD into VolumeWAD 2019-07-18 22:29:04 +02:00
CompressedBlob.cpp DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
CompressedBlob.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
DirectoryBlob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
DirectoryBlob.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
DiscExtractor.cpp DiscIO: Use std::string_view in FileSystem::FindFileInfo 2019-05-29 08:29:56 +02:00
DiscExtractor.h DiscIO: Use std::string_view in FileSystem::FindFileInfo 2019-05-29 08:29:56 +02:00
DiscIO.vcxproj DiscIO: Merge WiiWAD into VolumeWAD 2019-07-18 22:29:04 +02:00
DiscIO.vcxproj.filters DiscIO: Merge WiiWAD into VolumeWAD 2019-07-18 22:29:04 +02:00
DiscScrubber.cpp VolumeVerifier: Check whether invalid blocks are unused 2019-04-09 14:18:46 +02:00
DiscScrubber.h VolumeVerifier: Check whether invalid blocks are unused 2019-04-09 14:18:46 +02:00
DriveBlob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
DriveBlob.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Enums.cpp Common/MsgHandler: Namespace code within the Common namespace 2019-06-19 16:03:55 -04:00
Enums.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
FileBlob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
FileBlob.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Filesystem.cpp Qt/FilesystemWidget: Add size column 2018-06-02 18:59:56 +02:00
Filesystem.h DiscIO: Avoid copies when comparing FileSystemGCWii file names 2019-05-29 14:53:39 +02:00
FileSystemGCWii.cpp DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
FileSystemGCWii.h DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
NANDImporter.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
NANDImporter.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
TGCBlob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
TGCBlob.h DiscIO: Add way of checking whether blob data size is accurate 2019-03-30 12:45:17 +01:00
Volume.cpp DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
Volume.h Re-implement FixCommonKeyIndex for WAD files 2019-07-21 09:58:16 +02:00
VolumeFileBlobReader.cpp DiscIO: Use std::string_view in FileSystem::FindFileInfo 2019-05-29 08:29:56 +02:00
VolumeFileBlobReader.h DiscIO: Use std::string_view in FileSystem::FindFileInfo 2019-05-29 08:29:56 +02:00
VolumeGC.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
VolumeGC.h DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
VolumeVerifier.cpp Re-implement FixCommonKeyIndex for WAD files 2019-07-21 09:58:16 +02:00
VolumeVerifier.h Re-implement FixCommonKeyIndex for WAD files 2019-07-21 09:58:16 +02:00
VolumeWad.cpp Re-implement FixCommonKeyIndex for WAD files 2019-07-21 09:58:16 +02:00
VolumeWad.h Re-implement FixCommonKeyIndex for WAD files 2019-07-21 09:58:16 +02:00
VolumeWii.cpp General: Migrate from deprecated mbedTLS functions 2019-06-07 22:51:58 -04:00
VolumeWii.h DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
WbfsBlob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
WbfsBlob.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
WiiSaveBanner.cpp Common/CommonFuncs: Remove now-unneccessary ArraySize function 2019-06-01 10:07:57 -04:00
WiiSaveBanner.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00