gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000100000100000100000001010101000100010101
a = 0x0000004104055115
a = x38 + x32 + x26 + x18 + x16 + x14 + x12 + x8 + x4 + x2 + 1

b = b0000000000000000000000000000010101010100000001010001000101010000
b = 0x0000000554051150
b = x34 + x32 + x30 + x28 + x26 + x18 + x16 + x12 + x8 + x6 + x4

  100000100000100000001010101000100010101 | 10101010100000001010001000101010000
- 10101010100000001010001000101010000     | 1
  --------------------------------------- |
    1010001000100010101000100010000010101 |
-  00000000000000000000000000000000000    | 0
-   10101010100000001010001000101010000   | 1
  --------------------------------------- |
        100010100010000000000000101010101 |
-    00000000000000000000000000000000000  | 0
-     00000000000000000000000000000000000 | 0

cquotient = b0000000000000000000000000000000000000000000000000000000000010100
cquotient = 0x0000000000000014
cquotient = x4 + x2

cremainder = b0000000000000000000000000000000100010100010000000000000101010101
cremainder = 0x0000000114400155
cremainder = x32 + x28 + x26 + x22 + x8 + x6 + x4 + x2 + 1