gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b00000000000000000000000000010000
a = 0x00000010
a = x4

b = b00000000000000000000000000101111
b = 0x0000002f
b = x5 + x3 + x2 + x + 1

  10000 | 101111

cquotient = b00000000000000000000000000000000
cquotient = 0x00000000
cquotient = 0

cremainder = b00000000000000000000000000010000
cremainder = 0x00000010
cremainder = x4