Table of Contents
Fetching ...

Construction of all MDS and involutory MDS matrices

Yogesh Kumar, P. R. Mishra, Susanta Samanta, Kishan Chand Gupta, Atul Gaur

TL;DR

This work tackles the problem of enumerating all $n\times n$ MDS and involutory MDS matrices over $\mathbb{F}_{p^m}$ by introducing a hybrid construction that relies on a representative matrix $M_1$ and diagonal scaling $D_1,D_2$, reducing the search from $n\times n$ matrices to $(n-1)\times(n-1)$ submatrices. It establishes a unique factorization $M=D_1M_1D_2$ and provides necessary and sufficient conditions for $\Phi(D_1,D_2,M_1)$ to be involutory, including explicit forms for $D_1,D_2$ in terms of $M_1$. The paper delivers exact counting formulas for $3\times3$ MDS matrices over $\mathbb{F}_{2^m}$, and provides concrete counts for $4\times4$ MDS and involutory MDS matrices over $\mathbb{F}_{2^m}$ for $m=3,4$, illustrating the practical scalability of the approach. These results enable efficient diffusion-layer design in cryptographic primitives and lay groundwork for extensions to larger orders and broader fields in future work.

Abstract

In this paper, we propose two algorithms for a hybrid construction of all $n\times n$ MDS and involutory MDS matrices over a finite field $\mathbb{F}_{p^m}$, respectively. The proposed algorithms effectively narrow down the search space to identify $(n-1) \times (n-1)$ MDS matrices, facilitating the generation of all $n \times n$ MDS and involutory MDS matrices over $\mathbb{F}_{p^m}$. To the best of our knowledge, existing literature lacks methods for generating all $n\times n$ MDS and involutory MDS matrices over $\mathbb{F}_{p^m}$. In our approach, we introduce a representative matrix form for generating all $n\times n$ MDS and involutory MDS matrices over $\mathbb{F}_{p^m}$. The determination of these representative MDS matrices involves searching through all $(n-1)\times (n-1)$ MDS matrices over $\mathbb{F}_{p^m}$. Our contributions extend to proving that the count of all $3\times 3$ MDS matrices over $\mathbb{F}_{2^m}$ is precisely $(2^m-1)^5(2^m-2)(2^m-3)(2^{2m}-9\cdot 2^m+21)$. Furthermore, we explicitly provide the count of all $4\times 4$ MDS and involutory MDS matrices over $\mathbb{F}_{2^m}$ for $m=2, 3, 4$.

Construction of all MDS and involutory MDS matrices

TL;DR

This work tackles the problem of enumerating all MDS and involutory MDS matrices over by introducing a hybrid construction that relies on a representative matrix and diagonal scaling , reducing the search from matrices to submatrices. It establishes a unique factorization and provides necessary and sufficient conditions for to be involutory, including explicit forms for in terms of . The paper delivers exact counting formulas for MDS matrices over , and provides concrete counts for MDS and involutory MDS matrices over for , illustrating the practical scalability of the approach. These results enable efficient diffusion-layer design in cryptographic primitives and lay groundwork for extensions to larger orders and broader fields in future work.

Abstract

In this paper, we propose two algorithms for a hybrid construction of all MDS and involutory MDS matrices over a finite field , respectively. The proposed algorithms effectively narrow down the search space to identify MDS matrices, facilitating the generation of all MDS and involutory MDS matrices over . To the best of our knowledge, existing literature lacks methods for generating all MDS and involutory MDS matrices over . In our approach, we introduce a representative matrix form for generating all MDS and involutory MDS matrices over . The determination of these representative MDS matrices involves searching through all MDS matrices over . Our contributions extend to proving that the count of all MDS matrices over is precisely . Furthermore, we explicitly provide the count of all MDS and involutory MDS matrices over for .
Paper Structure (7 sections, 13 theorems, 40 equations, 1 figure, 2 tables, 2 algorithms)

This paper contains 7 sections, 13 theorems, 40 equations, 1 figure, 2 tables, 2 algorithms.

Key Result

Theorem 1

FJ77 An $[n, k, d]$ code $C$ with generator matrix $G = [ I ~|~ M ]$, where $M$ is a $k \times ( n - k )$ matrix, is MDS if and only if every square sub-matrix (formed from any $i$ rows and any $i$ columns, for any $i = 1, 2,\ldots, min \{k, n - k \}$) of $M$ is non-singular.

Figures (1)

  • Figure 1: A figure illustrating the cases for determining the number of choices for $d$.

Theorems & Definitions (31)

  • Theorem 1
  • Definition 1
  • Lemma 1
  • Definition 2
  • Theorem 2
  • proof
  • Remark 1
  • Remark 2
  • Theorem 3
  • proof
  • ...and 21 more