Closed hirooih closed 2 years ago
Although the last iteration does not affect on the output, it is redundant.
xlen:32 + 32: 31 30 29 ... 02 01 00 + | 31: 31 30 29 ... 02 01 00 | | . | | XOR | | . | + 01: 31 30 29 ... 02 01 00 + 00: 31 30 29 ... 02 01 00 |<--- clmulh --->| |<--- clmul --->| |<--- clmulr --->| clmul: 0 to (xlen – 1) clmulh: 1 to xlen clmulr: 0 to (xlen – 1)
Although the last iteration does not affect on the output, it is redundant.