AES side channel attacks work because most implementations have conditional branches that depend on key contents. That won’t work for a checksum algorithm (there are also stream ciphers like ChaCha20 designed to make these kinds of side channel attacks more difficult). That aside, the SM510 series melody ROM isn’t directly accessible by the ALU. Once again, you’ve posted a lot of irrelevant text and shown how little you actually understand.