(01-05-2012, 03:54 AM)AthenaADP Wrote:(01-04-2012, 03:37 PM)Hykem Wrote: ...to track down which function is giving the wrong result.Pretty sure only hleSdGetLastIndex() has errors. It's only used in the PARAMS.SFO hash generation, not the en/decryption.
Yes, I suspect so too, but unfortunately this function relies on the amctrl.prx sceDrmBBMacXXX functions. I believe the algorithm behind those functions may have a flaw somewhere, since the hashes being produced are different than expected (both in SAVEDATA and NPDRM cases).