A Framework to Improve the Implementations of Linear Layers
DOI:
https://doi.org/10.46586/tosc.v2024.i2.322-347Keywords:
Linear Layer, Implementation, XOR Counts, Quantum Circuit, AESAbstract
This paper presents a novel approach to optimizing the linear layer of block ciphers using the matrix decomposition framework. It is observed that the reduction properties proposed by Xiang et al. (in FSE 2020) need to be improved. To address these limitations, we propose a new reduction framework with a complete reduction algorithm and swapping algorithm. Our approach formulates matrix decomposition as a new framework with an adaptive objective function and converts the problem to a Graph Isomorphism problem (GI problem). Using the new reduction algorithm, we were able to achieve lower XOR counts and depths of quantum implementations under the s-XOR metric. Our results outperform previous works for many linear layers of block ciphers and hash functions; some of them are better than the current g-XOR implementation. For the AES MixColumn operation, we get two implementations with 91 XOR counts and depth 13 of in-place quantum implementation, respectively.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Yufei Yuan, Wenling Wu, Tairong Shi, Lei Zhang, Yu Zhang
This work is licensed under a Creative Commons Attribution 4.0 International License.