gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100010101000000010101010100000000
a = 0x00000000000000000000000115015500
a = x32 + x28 + x26 + x24 + x16 + x14 + x12 + x10 + x8

b = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000001000000000000000001
b = 0x00000000000000000000000010040001
b = x28 + x18 + 1

  100010101000000010101010100000000 | 10000000001000000000000000001
- 10000000001000000000000000001     | 1
  --------------------------------- |
      10101010000010101010100010000 |
-  00000000000000000000000000000    | 0
-   00000000000000000000000000000   | 0
-    00000000000000000000000000000  | 0
-     10000000001000000000000000001 | 1
  --------------------------------- |
        101010001010101010100010001 |

cquotient = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001
cquotient = 0x00000000000000000000000000000011
cquotient = x4 + 1

cremainder = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010001010101010100010001
cremainder = 0x00000000000000000000000005455511
cremainder = x26 + x24 + x22 + x18 + x16 + x14 + x12 + x10 + x8 + x4 + 1