gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b00000000000000000000000100000000
a = 0x00000100
a = x8

b = b00000000000000000000000101110001
b = 0x00000171
b = x8 + x6 + x5 + x4 + 1

  100000000 | 101110001
- 101110001 | 1
  --------- |
    1110001 |

cquotient = b00000000000000000000000000000001
cquotient = 0x00000001
cquotient = 1

cremainder = b00000000000000000000000001110001
cremainder = 0x00000071
cremainder = x6 + x5 + x4 + 1