gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000000000000000100000001010100000001
a = 0x0000000000101501
a = x20 + x12 + x10 + x8 + 1

b = b0000000000000000000000000000000000000000000001000000010100000000
b = 0x0000000000040500
b = x18 + x10 + x8

  100000001010100000001 | 1000000010100000000
- 1000000010100000000   | 1
  --------------------- |
              100000001 |
-  0000000000000000000  | 0
-   0000000000000000000 | 0

cquotient = b0000000000000000000000000000000000000000000000000000000000000100
cquotient = 0x0000000000000004
cquotient = x2

cremainder = b0000000000000000000000000000000000000000000000000000000100000001
cremainder = 0x0000000000000101
cremainder = x8 + 1