International Association for Cryptologic Research

International Association
for Cryptologic Research

Transactions on Cryptographic Hardware and Embedded Systems 2026

A Tool for Lightweight (AND, XOR) Implementations of Large-Degree S-boxes


Marie Bolzer
Université de Lorraine, CNRS, Loria, Inria, Nancy, France

Sébastien Duval
Université de Lorraine, CNRS, Loria, Inria, Nancy, France

Marine Minier
Université de Lorraine, CNRS, Loria, Inria, Nancy, France


Keywords: S-box, lightweight cryptography, masking, multiplicative complexity, multiplicative depth, bitslicing


Abstract

We propose a new ad hoc automatic tool to look for lightweight implementations of non-linear functions on up to 7 variables. This tool is mainly aimed at finding implementations of arbitrary cryptographic S-boxes, with the goal of enabling lightweight protected implementations (such as masking), hence we focus on two metrics that we try to minimise: multiplicative depth and multiplicative complexity. We introduce an algorithm based on successive divisions, which we instantiate into a tool focused on binary operations AND and XOR. In a sense, this is a dual approach to a recent work which used an ad hoc algorithm based on multiplications, which was limited to degree-2 functions. Our algorithm removes this limitation, and our tool is efficient to find implementations of cryptographic S-boxes up to degree 5 on 6 bits and degree 3 on 7 bits.

Publication

IACR Transactions on Cryptographic Hardware and Embedded Systems, Volume 2026, Issue 2

Paper

Artifact

Artifact number
tches/2026/a26

Artifact published
June 02, 2026

Badge
IACR CHES Artifacts Functional

README

ZIP (88927 Bytes)  

View on Github

License
This work is licensed under the MIT License.

Note that license information is supplied by the authors and has not been confirmed by the IACR.


BibTeX How to cite

Marie Bolzer, Sébastien Duval, Marine Minier. (2026). A Tool for Lightweight (AND, XOR) Implementations of Large-Degree S-boxes. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2026(2), 605–629. https://doi.org/10.46586/tches.v2026.i2.605-629. Artifact at https://artifacts.iacr.org/tches/2026/a26.