First installment of RPCS3's custom crypto engine:

- Removed all scetool dependencies;
- Implemented a key vault to manage PS3 keys internally;
- Implemented SELF decryption;
- Improved PKG handling.

Notes:
- NPDRM SELF files (EBOOT.BIN) can also be decrypted. A valid matching RAP file must be placed under the dev_usb000 folder.
- The source code is considerably commented and several debugging functions were also added in order to aid anyone who wishes to contribute to the engine.
This commit is contained in:
Hykem 2014-03-03 04:48:07 +00:00
parent 6fcead2a0e
commit a1adc6cdaa
49 changed files with 3960 additions and 10289 deletions

7
rpcs3/Crypto/utils.h Normal file
View file

@ -0,0 +1,7 @@
#pragma once
u16 swap16(u16 i);
u32 swap32(u32 i);
u64 swap64(u64 i);
u64 hex_to_u64(const char* hex_str);
void hex_to_bytes(unsigned char *data, const char *hex_str);