The AArch64 crc32{b,h,w,x} instructions take as input a CRC-32 value and a data value (8, 16, 32, or 64 bits, respectively), and output a new CRC-32 value which, presumably, should be passed in as the input to the next crc32 instruction.
To get the same value at the end that the crc32 program produces for a given set of bytes, what does the initial input value have to be? Is there anything else I have to do?
The algorithm is well-described elsewhere, but I can't find examples of using the instructions anywhere.