4

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.

kelalaka
  • 49,797
  • 12
  • 123
  • 211
Kalapeli
  • 43
  • 2

1 Answers1

2

A matrix $M$ of order $n$ is an MDS (Maximum Distance Separable) matrix if and only if every sub-matrix of $M$ is non-singular. Therefore, if you have an $n\times n$ MDS matrix $M$, constructing the $(n-1)\times (n-1)$ MDS matrix $M'$ is so easy. $M'$ can be constructed by choosing an arbitrary $(n-1)\times (n-1)$ sub-matrix of $M$. Here you can find some information about constructing the MDS matrices over $GF(2^q)$.

Meysam Ghahramani
  • 2,353
  • 1
  • 18
  • 32