Advertising (This ad goes away for registered users. You can Login or Register)

what is the psp save encryption algorithm?

Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Post Reply
grief3r
Posts: 357
Joined: Sat Nov 09, 2013 4:12 am

what is the psp save encryption algorithm?

Post by grief3r » Fri Apr 10, 2015 12:30 am

does anybody know the name of the algorithm or at least how the key is used to encrypt or decrypt a savedata
Advertising
PSV1001 2.61 FieldRunners
PSP1001 6.60 Pro-C
PSP 3001 6.20 Pro-C2

User avatar
qwikrazor87
Guru
Posts: 2868
Joined: Sat Apr 21, 2012 1:23 pm
Location: The North Pole

Re: what is the psp save encryption algorithm?

Post by qwikrazor87 » Fri Apr 10, 2015 12:42 am

the saves are encrypted with xor on top of AES encryption (using kirk).
reversed code of chnnlsv that deals with the encryption/decryption of the saves.
https://github.com/uofw/uofw/blob/maste ... /chnnlsv.c
Advertising
PSP 2001 - TA-085 - 6.61 PRO-C2
PS Vita 3G - PCH-1101 - 3.65 HENkaku Ensō
Maxwest Nitro 4 phone - Android 5.1
Laptop - Toshiba Satellite L305D-S5974 - Ubuntu 16.04 LTS

grief3r
Posts: 357
Joined: Sat Nov 09, 2013 4:12 am

Re: what is the psp save encryption algorithm?

Post by grief3r » Fri Apr 10, 2015 1:00 am

isnt xor part of the algorithm itself? because i heard somewhere that DES has 2 permutations that take the xor of the plaintext
PSV1001 2.61 FieldRunners
PSP1001 6.60 Pro-C
PSP 3001 6.20 Pro-C2

User avatar
qwikrazor87
Guru
Posts: 2868
Joined: Sat Apr 21, 2012 1:23 pm
Location: The North Pole

Re: what is the psp save encryption algorithm?

Post by qwikrazor87 » Fri Apr 10, 2015 1:12 am

grief3r wrote:isnt xor part of the algorithm itself? because i heard somewhere that DES has 2 permutations that take the xor of the plaintext
Yeah, but I wouldn't call plain old xor and AES a single algorithm, the xor part is optional, only used if the dev provides another key for it.
PSP 2001 - TA-085 - 6.61 PRO-C2
PS Vita 3G - PCH-1101 - 3.65 HENkaku Ensō
Maxwest Nitro 4 phone - Android 5.1
Laptop - Toshiba Satellite L305D-S5974 - Ubuntu 16.04 LTS

grief3r
Posts: 357
Joined: Sat Nov 09, 2013 4:12 am

Re: what is the psp save encryption algorithm?

Post by grief3r » Fri Apr 10, 2015 2:19 pm

How can I retrieve the key then?I know there is some module that maybe takes the key as a parameter? If so which module uses this key
PSV1001 2.61 FieldRunners
PSP1001 6.60 Pro-C
PSP 3001 6.20 Pro-C2

Post Reply

Return to “Programming and Security”