gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000101010010000001100001011010001101100011
a = 0x000000548185a363
a = x38 + x36 + x34 + x31 + x24 + x23 + x18 + x16 + x15 + x13 + x9 + x8 + x6 + x5 + x + 1

b = b0000000000000000000000000000111000011100110010111101000010011001
b = 0x0000000e1ccbd099
b = x35 + x34 + x33 + x28 + x27 + x26 + x23 + x22 + x19 + x17 + x16 + x15 + x14 + x12 + x7 + x4 + x3 + 1

  101010010000001100001011010001101100011 | 111000011100110010111101000010011001
- 111000011100110010111101000010011001    | 1
  --------------------------------------- |
   10010001100111110110110010011110101011 |
-  111000011100110010111101000010011001   | 1
  --------------------------------------- |
    1110000010100111101000110010111001111 |
-   111000011100110010111101000010011001  | 1
  --------------------------------------- |
           101101011000111100010011111101 |
-    000000000000000000000000000000000000 | 0

cquotient = b0000000000000000000000000000000000000000000000000000000000001110
cquotient = 0x000000000000000e
cquotient = x3 + x2 + x

cremainder = b0000000000000000000000000000000000101101011000111100010011111101
cremainder = 0x000000002d63c4fd
cremainder = x29 + x27 + x26 + x24 + x22 + x21 + x17 + x16 + x15 + x14 + x10 + x7 + x6 + x5 + x4 + x3 + x2 + 1