gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000000000000000000011100010001011110
a = 0x000000000001c45e
a = x16 + x15 + x14 + x10 + x6 + x4 + x3 + x2 + x

b = b0000000000000000000000000000000000000000000000000111111011001011
b = 0x0000000000007ecb
b = x14 + x13 + x12 + x11 + x10 + x9 + x7 + x6 + x3 + x + 1

  11100010001011110 | 111111011001011
- 111111011001011   | 1
  ----------------- |
     11111101110010 |
-  000000000000000  | 0
-   000000000000000 | 0

cquotient = b0000000000000000000000000000000000000000000000000000000000000100
cquotient = 0x0000000000000004
cquotient = x2

cremainder = b0000000000000000000000000000000000000000000000000011111101110010
cremainder = 0x0000000000003f72
cremainder = x13 + x12 + x11 + x10 + x9 + x8 + x6 + x5 + x4 + x