Help with the 0x51 idstorage key
-
- Posts: 13
- Joined: Mon Jun 16, 2008 12:51 am
- Location: IDSTORAGE
Help with the 0x51 idstorage key
Anyone know how the original firmware version is stored in 0x51 key?
Source code is for noobs...
-
- Posts: 110
- Joined: Tue Feb 27, 2007 9:43 pm
- Contact:
-
- Posts: 110
- Joined: Tue Feb 27, 2007 9:43 pm
- Contact:
-
- Posts: 110
- Joined: Tue Feb 27, 2007 9:43 pm
- Contact:
Ok, he didn't mention any of that he just asked how the firmware version was stored. And I explained to him how the version was stored.
About the hash following the version number, it is a partial SHA1-HMAC of the version.txt file that the version number came from. It is also unique per-PSP because it also uses the PSP's FuseID in its calculation.
The rest of the leaf isn't used. Just 8-Bytes for the version number and 8-Bytes for the hash (it is only using the first 64-bits out of the 160-bit SHA1-HMAC).
About the hash following the version number, it is a partial SHA1-HMAC of the version.txt file that the version number came from. It is also unique per-PSP because it also uses the PSP's FuseID in its calculation.
The rest of the leaf isn't used. Just 8-Bytes for the version number and 8-Bytes for the hash (it is only using the first 64-bits out of the 160-bit SHA1-HMAC).
-
- Posts: 110
- Joined: Tue Feb 27, 2007 9:43 pm
- Contact:
I don't know if this key is checked in newer fw, it was never used in previous fw's. I think it was primarily used when people sent in their PSP's for service. They could check if the nand was originally theirs or if they had flashed someone elses nand dump. And if they did, they could identify which PSP the nand dump came from as well. I guess it was a way to guarantee the fw it was originally flashed with at factory.