gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000100000000000000000000000000000000
a = 0x0000000100000000
a = x32

b = b0000000000000000000000000000000000000000001001111000101010011001
b = 0x0000000000278a99
b = x21 + x18 + x17 + x16 + x15 + x11 + x9 + x7 + x4 + x3 + 1

  100000000000000000000000000000000 | 1001111000101010011001
- 1001111000101010011001            | 1
  --------------------------------- |
     111100010101001100100000000000 |
-  0000000000000000000000           | 0
-   0000000000000000000000          | 0
-    1001111000101010011001         | 1
  --------------------------------- |
      11011110111100101000100000000 |
-     1001111000101010011001        | 1
  --------------------------------- |
       1000000110110001110110000000 |
-      1001111000101010011001       | 1
  --------------------------------- |
          1111110011011101111000000 |
-       0000000000000000000000      | 0
-        0000000000000000000000     | 0
-         1001111000101010011001    | 1
  --------------------------------- |
           110001011110111100001000 |
-          1001111000101010011001   | 1
  --------------------------------- |
            10110111100010101101100 |
-           1001111000101010011001  | 1
  --------------------------------- |
              101001101000001011110 |
-            0000000000000000000000 | 0

cquotient = b0000000000000000000000000000000000000000000000000000100111001110
cquotient = 0x00000000000009ce
cquotient = x11 + x8 + x7 + x6 + x3 + x2 + x

cremainder = b0000000000000000000000000000000000000000000101001101000001011110
cremainder = 0x000000000014d05e
cremainder = x20 + x18 + x15 + x14 + x12 + x6 + x4 + x3 + x2 + x