An Affine Equivalence Algorithm for S-boxes based on Matrix Invariants
Xincheng Hu, Xiao Zeng, Zhaoqiang Liu, Guowu Yang

TL;DR
This paper introduces a novel affine equivalence algorithm for S-boxes utilizing matrix invariants, zeroization, and a depth-first search approach, significantly improving efficiency and applicability to various S-box types.
Contribution
The paper presents a new affine equivalence algorithm based on matrix invariants and zeroization, enabling efficient analysis of both invertible and non-invertible S-boxes.
Findings
The algorithm reduces complexity to approximately 1/2^n of previous methods.
It effectively handles low algebraic degree S-boxes and popular cipher S-boxes.
It can determine affine equivalence in seconds for complex S-boxes like AES.
Abstract
We investigate the affine equivalence (AE) problem of S-boxes. Given two S-boxes denoted as and , we aim to seek two invertible AE transformations such that holds. Due to important applications in the analysis and design of block ciphers, the investigation of AE algorithms has performed growing significance. In this paper, we propose zeroization on S-box firstly, and the AE problem can be transformed into linear equivalence problems by this zeroization operation. Secondly, we propose standard orthogonal spatial matrix (SOSM), and the rank of the SOSM is invariant under AE transformations. Finally, based on the zeroization operation and the SOSM method, we propose a depth first search (DFS) method for determining AE of S-boxes, named the AE\_SOSM\_DFS algorithm. Using this matrix invariant, we optimize the temporal complexity of the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicsgraph theory and CDMA systems · Multimedia Communication and Technology · Advanced Optical Network Technologies
