Menu

#174 CBA decryption broken on Mac OS

open
Other (21)
9
2005-06-03
2005-06-03
kelvSYC
No

The decryption of CBA codes is broken on Mac OS X, as
can be seen here with this example:

Encryption seed: 96f9940e 4c3f
Encrypted code: a4ce2356 c03e

Expected: 32006600 0064
Actual: 64006639 c34a

Discussion

  • kelvSYC

    kelvSYC - 2005-06-03
    • priority: 5 --> 9
    • assigned_to: nobody --> pokemonhacker
     
  • Pokemonhacker

    Pokemonhacker - 2005-06-18

    Logged In: YES
    user_id=785003

    I read on ngemu you fixed the bug yourself.
    Could you post your changes, so I include them in the CVS
    sources ?

     
  • kelvSYC

    kelvSYC - 2005-06-19

    Logged In: YES
    user_id=992204

    The problem was that stuff like *(u32*(array)) is not
    endian-safe, and thus CBA codes would fail to properly
    decrypt on the Mac. Replacing it with READ32LE and
    WRITE32LE (macros in Port.h - which would expand to what it
    was on a little-endian system as before) fixed the problem.

    That's the juste of the fix - I can't post it as it would
    take me too much time to find the fixes (as I changed much
    more than that in my sources).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.