upvote
That's normal, if outdated - you'd use Python in anything written since 2010
reply
That's not automatically bad, in fact it can be better than just inlining the instructions. I won't judge this instance of the pattern, but if faced with (perhaps incomplete at the time) intrinsics, or hand coded inline assembly, vs generating with an external script (or "mini compiler" if you will), it might be less error prone to generate.
reply
Assuming you mean x86, that part was originally written around 30 years ago via this funky setup that did MD5 and SHA-1 from the same code. It's not really any kind of example of current practice.
reply
No, the SHA-NI instructions
reply