gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

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

b = b0000000000000000000000000000000000000000000000000000000000101111
b = 0x000000000000002f
b = x5 + x3 + x2 + x + 1

  11111101110010 | 101111
- 101111         | 1
  -------------- |
   1000001110010 |
-  101111        | 1
  -------------- |
     11111110010 |
-   000000       | 0
-    101111      | 1
  -------------- |
      1000010010 |
-     101111     | 1
  -------------- |
        11100010 |
-      000000    | 0
-       101111   | 1
  -------------- |
         1011110 |
-        101111  | 1
  -------------- |
               0 |
-         000000 | 0

cquotient = b0000000000000000000000000000000000000000000000000000000110110110
cquotient = 0x00000000000001b6
cquotient = x8 + x7 + x5 + x4 + x2 + x

cremainder = b0000000000000000000000000000000000000000000000000000000000000000
cremainder = 0x0000000000000000
cremainder = 0