Editing IDStorage
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 45: | Line 45: | ||
= IDStorage certified sections = | = IDStorage certified sections = | ||
IDStorage certified sections are a security measure for critical information. For example PSID and OpenPSID are certified (leaves 0x100, 0x101, 0x120, 0x121) | IDStorage certified sections are a security measure for critical information. For example PSID and OpenPSID are certified (leaves 0x100, 0x101, 0x120, 0x121). | ||
KIRK command 0x12 is used to verify IDStorage certificates. | |||
== | == Stucture == | ||
Some of the leaves contain certificates similar in PSP, PS3 and PSVita. | |||
Size is 0xB8 bytes: 0x10 bytes of data and 0xA8 bytes of certificate. | |||
{|class="wikitable" | {|class="wikitable" | ||
Line 70: | Line 74: | ||
|} | |} | ||
= Content = | |||
* Leaves 0x100-0x11F are identical to their backup leaves 0x120-0x13F | * Leaves 0x100-0x11F are identical to their backup leaves 0x120-0x13F | ||
* Old PSP revision haven't leaves 0x046, 0x047 | * Old PSP revision haven't leaves 0x046, 0x047 | ||
* Very old PSP revisions haven't leaf 0x140 | * Very old PSP revisions haven't leaf 0x140 | ||
* Leaf 0x50 is maybe Serial Number | |||
= Uses = | = Uses = | ||
Line 234: | Line 103: | ||
=== sceChkregGetPsCode === | === sceChkregGetPsCode === | ||
Chkreg (chkreg.prx) reads 2 leaves, 0x100 and 0x102 or 0x120 and 0x122. | Chkreg (chkreg.prx) reads 2 leaves, 0x100 and 0x102 or 0x120 and 0x122. All contain the PsCode at 3 locations. The 1st occurrence of the PsCode is at 0x38, the second at 0xF0 and the third at 0x1A8. Each occurrence is 0xAF (175 bytes) apart. | ||
Example of PsCode: | |||
0000000048 00 00 00 01 00 '''03''' 00 01 ........ | |||
0000000240 00 00 00 01 00 '''03''' 00 01 ........ | |||
0000000416 00 00 00 01 00 '''03''' 00 01 ........ | |||
The return from sceChkregGetPsCode is determined to be valid or invalid via KIRK command 0x12, just like other functions using leaves 0x100, 0x120. | The return from sceChkregGetPsCode is determined to be valid or invalid via KIRK command 0x12, just like other functions using leaves 0x100, 0x120. | ||
Line 288: | Line 159: | ||
== Umdman == | == Umdman == | ||
Umdman (umdman.prx) reads | Umdman (umdman.prx) reads 1 leaf, 0x102. This leaf is related to the region, and is probably used to determine what UMD video's can be read on the PSP. | ||
== USB == | == USB == | ||
Line 387: | Line 258: | ||
0x046 | 0x046 | ||
Empty, however vshmain uses the first byte of this leaf to set a param for vshImposeSetParam. | Empty, however vshmain uses the first byte of this leaf to set a param for vshImposeSetParam. | ||
= Legality of distribution = | = Legality of distribution = |