gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000001100101100110100110111001001011000111000010111
a = 0x000032cd37258e17
a = x45 + x44 + x41 + x39 + x38 + x35 + x34 + x32 + x29 + x28 + x26 + x25 + x24 + x21 + x18 + x16 + x15 + x11 + x10 + x9 + x4 + x2 + x + 1

b = b0000000000000000000101000101101101010111111110001011100100100001
b = 0x0000145b57f8b921
b = x44 + x42 + x38 + x36 + x35 + x33 + x32 + x30 + x28 + x26 + x25 + x24 + x23 + x22 + x21 + x20 + x19 + x15 + x13 + x12 + x11 + x8 + x5 + 1

  1100101100110100110111001001011000111000010111 | 101000101101101010111111110001011100100100001
- 101000101101101010111111110001011100100100001  | 1
  ---------------------------------------------- |
   110100111101110011000110101001111110001010101 |
-  101000101101101010111111110001011100100100001 | 1
  ---------------------------------------------- |
    11100010000011001111001011000100010101110100 |

cquotient = b0000000000000000000000000000000000000000000000000000000000000011
cquotient = 0x0000000000000003
cquotient = x + 1

cremainder = b0000000000000000000011100010000011001111001011000100010101110100
cremainder = 0x00000e20cf2c4574
cremainder = x43 + x42 + x41 + x37 + x31 + x30 + x27 + x26 + x25 + x24 + x21 + x19 + x18 + x14 + x10 + x8 + x6 + x5 + x4 + x2