I'm trying to construct a minimal MDS matrix for a toy cipher. I'm not entirely sure, how the various code parameters are tied to my block size, and how exactly is the binary matrix formed, when you have a generator polynomial.
I'm also having a hard time in understanding what's the smallest field and matrix size, where MDS makes sense.