gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000000000000000001101010101111101101
a = 0x000000000006abed
a = x18 + x17 + x15 + x13 + x11 + x9 + x8 + x7 + x6 + x5 + x3 + x2 + 1

b = b0000000000000000000000000000000000000000000000000000001110010011
b = 0x0000000000000393
b = x9 + x8 + x7 + x4 + x + 1

  1101010101111101101 | 1110010011
- 1110010011          | 1
  ------------------- |
    11000110111101101 |
-  0000000000         | 0
-   1110010011        | 1
  ------------------- |
      100010001101101 |
-    0000000000       | 0
-     1110010011      | 1
  ------------------- |
       11011000001101 |
-      1110010011     | 1
  ------------------- |
         111100111101 |
-       0000000000    | 0
-        1110010011   | 1
  ------------------- |
            101110001 |
-         0000000000  | 0
-          0000000000 | 0

cquotient = b0000000000000000000000000000000000000000000000000000001010110100
cquotient = 0x00000000000002b4
cquotient = x9 + x7 + x5 + x4 + x2

cremainder = b0000000000000000000000000000000000000000000000000000000101110001
cremainder = 0x0000000000000171
cremainder = x8 + x6 + x5 + x4 + 1