here’s a small snippet of code which calculates shuffle-masks using the
standard convention we use (which came from ICE / SCEE-ATG)
here’s the brief details of the naming convention
(see shuffles.pdf for more info):
•
characters A-P specify bytes 0-15
•
upper case characters pull from quadword 1
•
lower case from quadword 2
•
special characters 0 -> 0x00, X or x -> 0xff, 8 -> 0x80
the 16-byte mask is printed to the tty and also copied to the windows clipboard