Cryptology ePrint Archive: Report 2019/738

Scrutinizing the Tower Field Implementation of the $\mathbb{F}_{2^8}$ Inverter -- with Applications to AES, Camellia, and SM4

Zihao Wei and Siwei Sun and Lei Hu and Man Wei and Joan Boyar and Rene Peralta

Abstract: The tower field implementation of the $\mathbb{F}_{2^8}$ inverter is not only the key technique for compact implementations of the S-boxes of several internationally standardized block ciphers such as AES, Camellia, and SM4, but also the underlying structure many side-channel attack resistant AES implementations rely on. In this work, we conduct an exhaustive study of the tower field representations of the $\mathbb{F}_{2^8}$ inverter with normal bases by applying several state-of-the-art combinatorial logic minimization techniques. As a result, we achieve improved implementations of the AES, Camellia and SM4 S-boxes in terms of area footprint. Surprisingly, we are still able to improve the currently known most compact implementation of the AES S-box from CHES 2018 by 5.5 GE, beating the record again (Excluding this work, the latest improvement was proposed at CHES 2018, which achieves 11.75 GE improvement over the optimal implementation at the time). For Camellia and SM4, the improvements are even more significant. The Verilog codes of our implementations of the AES, Camellia and SM4 S-boxes are openly available.

Category / Keywords: secret-key cryptography / Tower field, Inverter, S-box, AES, Camellia, SM4

Date: received 20 Jun 2019, withdrawn 7 Jul 2019

Contact author: weizihao at iie ac cn,sunsiwei@iie ac cn,hulei@iie ac cn,weiman@iie ac cn,joan@imada sdu dk,rene peralta@nist gov

Available format(s): (-- withdrawn --)

Version: 20190707:135649 (All versions of this report)

Short URL:

[ Cryptology ePrint archive ]