summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/Control/Input.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-05-01 19:20:50 +0200
committerLéo Lam <leo@innovatetechnologi.es>2017-05-02 23:49:22 +0200
commit08f6c31287b22b94172dc6b8e5dfb32d4ab99974 (patch)
tree0df992c0053dcaff8e348b8364f3edc5b2ed1a5b /Source/Core/InputCommon/ControllerEmu/Control/Input.cpp
parentf8fb9e2d034d122c72515083f75e2034abf6210d (diff)
IOS: Reuse more code for crypto operations
This changes some parts of IOS (actually just ES) to reuse more crypto code from IOSC or Common::AES. TicketReader still returns the title key directly as opposed to having ES use IOSC directly to avoid duplicating the title key IV stuff. Side effects: * A nasty unbounded array access bug is now fixed. * ES_Decrypt/ES_Encrypt now returns sane results for keys other than the SD key. * Titles with a Korean ticket can now be decrypted properly. And in the future, we can look into implementing ioctlv 0x3c and 0x3d now that we have the proper "infra" for IOSC calls.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/Control/Input.cpp')
0 files changed, 0 insertions, 0 deletions