gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000000001111010000011000011100100101
a = 0x000000000f418725
a = x27 + x26 + x25 + x24 + x22 + x16 + x15 + x10 + x9 + x8 + x5 + x2 + 1

b = b0000000000000000000000000000000000000000000100000101010100100111
b = 0x0000000000105527
b = x20 + x14 + x12 + x10 + x8 + x5 + x2 + x + 1

  1111010000011000011100100101 | 100000101010100100111
- 100000101010100100111        | 1
  ---------------------------- |
   111011010110001010010100101 |
-  100000101010100100111       | 1
  ---------------------------- |
    11011111100101110101100101 |
-   100000101010100100111      | 1
  ---------------------------- |
     1011101001111100110000101 |
-    100000101010100100111     | 1
  ---------------------------- |
       11100011010101111110101 |
-     000000000000000000000    | 0
-      100000101010100100111   | 1
  ---------------------------- |
        1100001111111101101001 |
-       100000101010100100111  | 1
  ---------------------------- |
         100000101010100100111 |
-        100000101010100100111 | 1
  ---------------------------- |
                             0 |

cquotient = b0000000000000000000000000000000000000000000000000000000011110111
cquotient = 0x00000000000000f7
cquotient = x7 + x6 + x5 + x4 + x2 + x + 1

cremainder = b0000000000000000000000000000000000000000000000000000000000000000
cremainder = 0x0000000000000000
cremainder = 0