gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

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

b = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101000000000101010100
b = 0x00000000000000000000000000540154
b = x22 + x20 + x18 + x8 + x6 + x4 + x2

  101010001010101010100010001 | 10101000000000101010100
- 10101000000000101010100     | 1
  --------------------------- |
          1010100000001010001 |
-  00000000000000000000000    | 0
-   00000000000000000000000   | 0
-    00000000000000000000000  | 0
-     00000000000000000000000 | 0

cquotient = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000
cquotient = 0x00000000000000000000000000000010
cquotient = x4

cremainder = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001010100000001010001
cremainder = 0x00000000000000000000000000054051
cremainder = x18 + x16 + x14 + x6 + x4 + 1