On the Construction of Near-MDS Matrices

06/22/2023
by   Kishan Chand Gupta, et al.
0

The optimal branch number of MDS matrices makes them a preferred choice for designing diffusion layers in many block ciphers and hash functions. However, in lightweight cryptography, Near-MDS (NMDS) matrices with sub-optimal branch numbers offer a better balance between security and efficiency as a diffusion layer, compared to MDS matrices. In this paper, we study NMDS matrices, exploring their construction in both recursive and nonrecursive settings. We provide several theoretical results and explore the hardware efficiency of the construction of NMDS matrices. Additionally, we make comparisons between the results of NMDS and MDS matrices whenever possible. For the recursive approach, we study the DLS matrices and provide some theoretical results on their use. Some of the results are used to restrict the search space of the DLS matrices. We also show that over a field of characteristic 2, any sparse matrix of order n≥ 4 with fixed XOR value of 1 cannot be an NMDS when raised to a power of k≤ n. Following that, we use the generalized DLS (GDLS) matrices to provide some lightweight recursive NMDS matrices of several orders that perform better than the existing matrices in terms of hardware cost or the number of iterations. For the nonrecursive construction of NMDS matrices, we study various structures, such as circulant and left-circulant matrices, and their generalizations: Toeplitz and Hankel matrices. In addition, we prove that Toeplitz matrices of order n>4 cannot be simultaneously NMDS and involutory over a field of characteristic 2. Finally, we use GDLS matrices to provide some lightweight NMDS matrices that can be computed in one clock cycle. The proposed nonrecursive NMDS matrices of orders 4, 5, 6, 7, and 8 can be implemented with 24, 50, 65, 96, and 108 XORs over 𝔽_2^4, respectively.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/22/2023

On the Direct Construction of MDS and Near-MDS Matrices

The optimal branch number of MDS matrices makes them a preferred choice ...
research
11/16/2021

On The Number of Different Entries in Involutory MDS Matrices over Finite Fields of Characteristic Two

Two of many criteria of a good MDS matrix are being involutory and havin...
research
04/17/2018

Towards Lightweight Error Detection Schemes for Implementations of MixColumns in Lightweight Cryptography

In this paper, through considering lightweight cryptography, we present ...
research
10/19/2021

Construction of a set of circulant matrix submatrices for faster MDS matrix verification

The present paper focuses on the construction of a set of submatrices of...
research
03/07/2018

MDS matrices over small fields: A proof of the GM-MDS conjecture

An MDS matrix is a matrix whose minors all have full rank. A question ar...
research
12/21/2021

On the role of the Fibonacci matrix as key in modified ECC

In this paper, we have proposed a modified cryptographic scheme based on...
research
04/03/2018

Applying Computer Algebra Systems with SAT Solvers to the Williamson Conjecture

We employ tools from the fields of symbolic computation and satisfiabili...

Please sign up or login with your details

Forgot password? Click here to reset