4 ms·
As they say, Don't' roll your own crypto. I have a feeling the malware author, working in 16-bit realmode, forgot that ints are usually 16 bits wide in that en
by userbinator 11y ago
As they say, Don't' roll your own crypto.
I have a feeling the malware author, working in 16-bit realmode, forgot that ints are usually 16 bits wide in that environment. A "typedef unsigned int uint32_t" behaves as expected in the usual 32/64-bit environment, but not in 16-bit. It's unlikely the author invented the 16-bit Salsa20 variant, but rather copied existing code and just compiled it wrongly.