decomp: reconstruct MD5 endian-loaded rotation operands #965
Reference in New Issue
Block a user
Delete Branch "agent/bittle/md5-reconstruction"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Decompilation-first structural improvement
Reconstructs ProcessBlock's two byte-reversed message loads and separately associated rotation halves in a typed inline helper. Moves index-table initialization after the sequential first round, as in the target. No header, algorithm constants, API bodies, linker flags, data, or metadata changes. This is not a newly exact function or a claim of a previous MD5 correctness bug.
Independently checked original ProcessBlock offsets +0x3C/+0x40: two lwbrx results feed the right/left rotation halves. The four additions at +0x58/+0x5C/+0x64/+0x68 and right25/left7 shifts support the source boundary. No volatile/register tricks, new assembly, fake storage or compiler-option changes.
Fresh verification on
255f3e05Remote treecc5b0f0cc778137ad42c120ebc95e5e3bd1b6c26 equals tested tree. AES unchanged. Exact matching and linking remain open; left for review, no merge performed.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.