gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000000000000010100010100010100000100
a = 0x0000000000514504
a = x22 + x20 + x16 + x14 + x10 + x8 + x2

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

  10100010100010100000100 | 100010101010000000001
- 100010101010000000001   | 1
  ----------------------- |
    101000001010100000000 |
-  000000000000000000000  | 0
-   100010101010000000001 | 1
  ----------------------- |
      1010100000100000001 |

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

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