Technology-Dependent Synthesis and Optimization of Circuits for Small S-boxes
Zihao Wei, University of Chinese Academy of Sciences, Data Communication Science and Technology Research Institute
Siwei Sun, University of Chinese Academy of Sciences, State Key Laboratory of Cryptology
Fengmei Liu, Data Communication Science and Technology Research Institute
Lei Hu, Institute of Information Engineering, Chinese Academy of Sciences, University of Chinese Academy of Sciences
Zhiyu Zhang, University of Chinese Academy of Sciences
Abstract
Boolean formula minimization is a notoriously hard problem that is known to be -complete. Circuit minimization, typically studied in the context of a much broader subject known as synthesis and optimization of circuits, introduces another layer of complexity since ultimately those technology-independent epresentations (e.g., Boolean formulas and truth tables) has to be transformed into a netlist of cells of the target technology library. To manage those complexities, the industrial community typically separates the synthesis process into two steps: technology-independent optimization and technology mapping. In each step, this approach only tries to find the local optimal solution and relies heavily on heuristics rather than a systematic search. However, for small S-boxes, a more systematic exploration of the design space is possible. Aiming at the global optimum, we propose a method which can synthesize a truth table for a small S-box directly into a netlist of the cells of a given technology library. Compared with existing technology-dependent synthesis tools like LIGHTER and PEIGEN, our method produces improved results for many S-boxes with respect to circuit area. In particular, by applying our method to the -inverter involved in the tower field implementation of the AES S-box, we obtain the currently known lightest implementation of the AES S-box. The search framework can be tweaked to take circuit delay into account. As a result, we find implementations for certain S-boxes with both latency and area improved.
@misc{cryptoeprint:2025/103,
author = {Zihao Wei and Siwei Sun and Fengmei Liu and Lei Hu and Zhiyu Zhang},
title = {Technology-Dependent Synthesis and Optimization of Circuits for Small S-boxes},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/103},
year = {2025},
doi = {10.62056/akmpdkp10},
url = {https://eprint.iacr.org/2025/103}
}
Note: In order to protect the privacy of readers, eprint.iacr.org
does not use cookies or embedded third party content.