Re:Galois field instructions on 2021 CPUs
by twic on Sunday November 06, 2022 @07:59PM
(#33499676)
> In normal arithmetic of course, multiplication and division aren't reversible because of zero.
If a and b are in the range 0-255, am I right in thinking that (((a + 1) * (b + 1)) % 257) - 1 is also in the range 0-255? Does that also work as a group operation? Does division done this way have the properties you'd need?
If a and b are in the range 0-255, am I right in thinking that (((a + 1) * (b + 1)) % 257) - 1 is also in the range 0-255? Does that also work as a group operation? Does division done this way have the properties you'd need?