gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000001000101010101000100010000000101
a = 0x0000000045544405
a = x30 + x26 + x24 + x22 + x20 + x18 + x14 + x10 + x2 + 1

b = b0000000000000000000000000000000000010001010000000000000000000000
b = 0x0000000011400000
b = x28 + x24 + x22

  1000101010101000100010000000101 | 10001010000000000000000000000
- 10001010000000000000000000000   | 1
  ------------------------------- |
          10101000100010000000101 |
-  00000000000000000000000000000  | 0
-   00000000000000000000000000000 | 0

cquotient = b0000000000000000000000000000000000000000000000000000000000000100
cquotient = 0x0000000000000004
cquotient = x2

cremainder = b0000000000000000000000000000000000000000010101000100010000000101
cremainder = 0x0000000000544405
cremainder = x22 + x20 + x18 + x14 + x10 + x2 + 1