miri::shims::x86::gfni

Function gf2p8_mul

Source
const fn gf2p8_mul(left: u8, right: u8) -> u8
Expand description

Multiplies packed 8-bit integers in left and right in the finite field GF(2^8) and store the results in dst. The field GF(2^8) is represented in polynomial representation with the reduction polynomial x^8 + x^4 + x^3 + x + 1. See https://www.corsix.org/content/galois-field-instructions-2021-cpus for details.