John-K / pspdecrypt

Simple tool to decrypt PSP binaries
GNU General Public License v3.0
101 stars 21 forks source link

Syscon IPL Key Xor support for kkeys_nandipl generation #28

Closed ProximaV closed 3 years ago

ProximaV commented 3 years ago

The 02g-11g kkeysnandipl* file generation requires an additional step to xor it with data that normally comes back from a handshake with Syscon over command 0x30. It is then xor'd with the second key that ends up in BFC00210. On 5.50 and newer, there is also an xor with data from the stage2 loader.

This PR will now correctly create the kkeysnandipl* files that match the data dumped from BFC00210 from a real PSP.