Optimizing the AES S-Box using SAT
Carsten Fuhs, Peter Schneider–Kamp · EPiC series in computing · 2018
Non-trivial linear straight-line programs over the Galois field of two elements occur frequently in applications such as encryption or high-performance computing. Finding the shortest linear straight-line program for a given set of linear forms is known to be MaxSNP-complete, i.e., there is no ε-approximation for the problem unless P = NP . This paper reiterates a non-approximative approach for finding the shortest linear straight-line program. After showing how to search for a circuit of XOR gates with the minimal number of such gates by a reduction of the associated decision problem ("Is there a program of length k ?") to satisfiability of propositional logic, we show that using modern SAT solvers, provably optimal solutions to interesting problem instances from cryptography can be obtained. We substantiate this claim by a case study on optimizing the AES S-Box.
Cited by 9 works. doi:10.29007/h5s4
Authors
References
- Extending SAT Solvers to Cryptographic Problems
- The Sat4j library, release 2.2
- AProVE 1.2: Automatic Termination Proofs in the Dependency Pair Framework
- Cardinality Networks and Their Applications
- A new combinational logic minimization technique with applications to cryptology
- Finding Efficient Circuits Using SAT-Solvers
- Synthesizing Shortest Linear Straight-Line Programs over GF(2) Using SAT
- Solving Partial Order Constraints for LPO Termination