dolphin/Source/Core
Léo Lam fbcc6bbd57 IOS/ES: Use the correct key for imports/exports
Imports/exports don't always use the title key. Exporting a title and
importing it back uses the PRNG key (aka backup key handle or key #5),
not the title key (at all).

To make things even more fun, some versions of IOS have a bug that
causes it to use a zeroed key instead of the PRNG key. When Nintendo
decided to fix it, they added checks to keep using the zeroed key only
in affected titles to avoid making existing exports useless.
(Thanks to tueidj for drawing my attention to this.
I missed this edge case during the initial implementation.)

This commit implements these checks so we are using the correct key
in all of these cases.

We now also use IOSC for decryption/encryption since built-in key
handles are used. And we now reject any invalid common key index,
just like ES.
2017-07-21 17:42:59 +08:00
..
AudioCommon Swapped C-style arrays to std::array 2017-06-27 07:12:15 -03:00
Common Merge pull request #5720 from JosJuice/file-metadata 2017-07-11 00:28:34 +02:00
Core IOS/ES: Use the correct key for imports/exports 2017-07-21 17:42:59 +08:00
DiscIO Merge pull request #5795 from JosJuice/gc-region-detection 2017-07-20 14:13:11 +08:00
DolphinNoGUI DolphinWX: fix input bitmaps not working when background input is off 2017-07-12 00:12:07 -07:00
DolphinQt2 Merge pull request #5793 from spycrab/qt_fullscreen_fix 2017-07-19 08:52:22 -07:00
DolphinWX Merge pull request #5778 from ligfx/fixinputbitmaps 2017-07-14 13:08:13 +08:00
InputCommon DolphinWX: fix input bitmaps not working when background input is off 2017-07-12 00:12:07 -07:00
UICommon Make Visual Studio happy 2017-06-28 20:42:01 +02:00
VideoBackends D3DBase: Use the swapchain discard mode when possible. 2017-07-10 14:25:28 +02:00
VideoCommon Merge pull request #5726 from mimimi085181/minimal-tmem-cache-emulation 2017-07-11 22:49:19 -07:00
CMakeLists.txt Moved NoGUI out of DolphinWx. 2017-03-08 01:24:18 -08:00