gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

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

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

  10101000000000101010100 | 1010100000001010001
- 1010100000001010001     | 1
  ----------------------- |
              10001000100 |
-  0000000000000000000    | 0
-   0000000000000000000   | 0
-    0000000000000000000  | 0
-     0000000000000000000 | 0

cquotient = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000
cquotient = 0x00000000000000000000000000000010
cquotient = x4

cremainder = b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000100
cremainder = 0x00000000000000000000000000000444
cremainder = x10 + x6 + x2