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 = b0000000000000000000000000000000000000000000000000000000101110001
b = 0x0000000000000171
b = x8 + x6 + x5 + x4 + 1

  1101010101111101101 | 101110001
- 101110001           | 1
  ------------------- |
   110110111111101101 |
-  101110001          | 1
  ------------------- |
    11000110111101101 |
-   101110001         | 1
  ------------------- |
     1111110011101101 |
-    101110001        | 1
  ------------------- |
      100010001101101 |
-     101110001       | 1
  ------------------- |
        1100000101101 |
-      000000000      | 0
-       101110001     | 1
  ------------------- |
         111100111101 |
-        101110001    | 1
  ------------------- |
          10010110101 |
-         101110001   | 1
  ------------------- |
            101110001 |
-          000000000  | 0
-           101110001 | 1
  ------------------- |
                    0 |

cquotient = b0000000000000000000000000000000000000000000000000000011111011101
cquotient = 0x00000000000007dd
cquotient = x10 + x9 + x8 + x7 + x6 + x4 + x3 + x2 + 1

cremainder = b0000000000000000000000000000000000000000000000000000000000000000
cremainder = 0x0000000000000000
cremainder = 0