gf(2) Polynomial long division

c = a/b

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

b = b0000000000000000000000000000000000000000000000000011111101100111
b = 0x0000000000003f67
b = x13 + x12 + x11 + x10 + x9 + x8 + x6 + x5 + x2 + x + 1

  101110001 | 11111101100111

cquotient = b0000000000000000000000000000000000000000000000000000000000000000
cquotient = 0x0000000000000000
cquotient = 0

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