Abstract
Maximum Distance Separable (MDS) matrices are essential for optimal data diffusion in cryptographic ciphers, yet their hardware implementation often incurs significant XOR gate costs. This paper introduces a novel approach that leverages subquadratic multiplication algorithms specifically tailored for Hadamard-structured matrices. By introducing new XOR metrics and employing exhaustive search strategies, the authors identified new MDS matrices that reduce hardware costs by up to 40% compared to previous state-of-the-art designs, setting new benchmarks for lightweight cryptographic efficiency.
Introduction
In the domain of lightweight cryptography—critical for resource-constrained devices like RFID tags and IoT sensors—minimizing the number of logic gates is a primary design goal. MDS matrices are the "gold standard" for ensuring that small input changes spread across the entire output, thwarting various cryptanalytic attacks. However, traditional implementations using quadratic multipliers do not scale efficiently as matrix size or field complexity increases. This research investigates whether advanced subquadratic mathematical formulas can be utilized to construct "lighter" MDS matrices than those previously known.
Methods
The authors bridge the gap between algebraic complexity theory and cryptographic hardware design through several key innovations:
Subquadratic HMVP Formulae
The study adapts subquadratic Toeplitz Matrix-Vector Product (TMVP) formulas specifically for Hadamard matrices. Given their recursive and symmetrical structure, Hadamard matrices are uniquely suited for these "divide-and-conquer" multiplication algorithms, which significantly reduce the total operation count compared to standard quadratic approaches.
New XOR Metrics and Search Algorithms
Two new metrics, $H(H)$ and $HS(H)$, were proposed to more accurately estimate hardware costs by accounting for shared XOR operations. The team developed "bottom-up" search strategies to navigate the massive space of possible matrices. By focusing on Hadamard structures, they performed exhaustive searches for $4 \times 4$ and $8 \times 8$ matrices over the finite field $GF(2^4)$ using three different irreducible polynomials (0x13, 0x1f, and 0x19).
Key Results
The algorithms successfully identified new MDS matrices that establish a new state-of-the-art (SOTA) for low XOR counts. The primary insight of this research is that the recursive nature of Hadamard matrices perfectly mirrors the structure of subquadratic multiplication, allowing for a more efficient algorithm-centric optimization rather than just entry-centric optimization.
As shown in the results, the $8 \times 8$ non-involutory matrix ($N_8$) achieved a count of 228 XOR gates, representing a 40.6% improvement over the previous best of 384. Involutory matrices, which are highly prized for allowing the same circuit to be used for both encryption and decryption, also saw significant improvements, with the $8 \times 8$ version ($I_8$) reducing the count by 33.5%.
Conclusion and Future Work
While the exhaustive search was highly successful for $GF(2^4)$, the computational cost for larger fields like $GF(2^8)$ remains a challenge. Future research will aim to extend these subquadratic construction algorithms to larger finite fields and explore other matrix structures, such as Circulant or Toeplitz, using similar logic to further optimize lightweight cryptographic building blocks.
Summary updated