Paper 2025/103 Original: eprint.iacr.org/2025/103 ↗
Technology-Dependent Synthesis and Optimization of Circuits for Small S-boxes
Abstract
Boolean formula minimization is a notoriously hard problem that is known to be $\varSigma_2^P$-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 $\mathbb{F}_{2^4}$-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.
Metadata
- Available format(s)
PDF
- Category
- Implementation
- Publication info
- Preprint.
- History
- 2025-01-22: last updated
- 2025-01-22: published
- Short URL
- https://ia.cr/2025/103
- License
- https://creativecommons.org/licenses/by/4.0/
BibTeX
@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},
url = {https://eprint.iacr.org/2025/103}
}