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 = b0000000000000000000000000000000000000000000000000000011111011101
b = 0x00000000000007dd
b = x10 + x9 + x8 + x7 + x6 + x4 + x3 + x2 + 1

  1101010101111101101 | 11111011101
- 11111011101         | 1
  ------------------- |
    10111011011101101 |
-  00000000000        | 0
-   11111011101       | 1
  ------------------- |
     1000000110101101 |
-    11111011101      | 1
  ------------------- |
      111101000001101 |
-     11111011101     | 1
  ------------------- |
          11111011101 |
-      00000000000    | 0
-       00000000000   | 0
-        00000000000  | 0
-         11111011101 | 1
  ------------------- |
                    0 |

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

cremainder = b0000000000000000000000000000000000000000000000000000000000000000
cremainder = 0x0000000000000000
cremainder = 0