gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b00000000000000000000000001000000
a = 0x00000040
a = x6

b = b00000000000000000000000011000001
b = 0x000000c1
b = x7 + x6 + 1

  1000000 | 11000001

cquotient = b00000000000000000000000000000000
cquotient = 0x00000000
cquotient = 0

cremainder = b00000000000000000000000001000000
cremainder = 0x00000040
cremainder = x6