gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000000000000000100010101010000000001
a = 0x0000000000115401
a = x20 + x16 + x14 + x12 + x10 + 1

b = b0000000000000000000000000000000000000000000001010100000100000001
b = 0x0000000000054101
b = x18 + x16 + x14 + x8 + 1

  100010101010000000001 | 1010100000100000001
- 1010100000100000001   | 1
  --------------------- |
    1000101000000000101 |
-  0000000000000000000  | 0
-   1010100000100000001 | 1
  --------------------- |
      10001000100000100 |

cquotient = b0000000000000000000000000000000000000000000000000000000000000101
cquotient = 0x0000000000000005
cquotient = x2 + 1

cremainder = b0000000000000000000000000000000000000000000000010001000100000100
cremainder = 0x0000000000011104
cremainder = x16 + x12 + x8 + x2