Low AND Depth and Efficient Inverses: a Guide on S-boxes for Low-latency Masking

In this work, we perform an extensive investigation and construct a portfolio of S-boxes suitable for secure lightweight implementations, which aligns well with the ongoing NIST Lightweight Cryptography competition. In particular, we target good functional properties on the one hand and efficient i...

Full description

Bibliographic Details
Main Authors: Begül Bilgin, Lauren De Meyer, Sébastien Duval, Itamar Levi, François-Xavier Standaert
Format: Article
Language:English
Published: Ruhr-Universität Bochum 2020-05-01
Series:IACR Transactions on Symmetric Cryptology
Subjects:
Online Access:https://tosc.iacr.org/index.php/ToSC/article/view/8562
id doaj-42d5464a528a4823b64bd7d2deaa56f7
record_format Article
spelling doaj-42d5464a528a4823b64bd7d2deaa56f72021-04-02T13:57:53ZengRuhr-Universität BochumIACR Transactions on Symmetric Cryptology2519-173X2020-05-012020110.13154/tosc.v2020.i1.144-184Low AND Depth and Efficient Inverses: a Guide on S-boxes for Low-latency MaskingBegül Bilgin0Lauren De Meyer1Sébastien Duval2Itamar Levi3François-Xavier Standaert4Rambus, Cryptography Research, Rotterdam, NetherlandsComputer Security and Industrial Cryptography (COSIC), KU Leuven, Leuven, BelgiumUCLouvain, Louvain-la-Neuve, BelgiumUCLouvain, Louvain-la-Neuve, Belgium; Bar-Ilan University (BIU), Ramat Gan, IsraelUCLouvain, Louvain-la-Neuve, Belgium In this work, we perform an extensive investigation and construct a portfolio of S-boxes suitable for secure lightweight implementations, which aligns well with the ongoing NIST Lightweight Cryptography competition. In particular, we target good functional properties on the one hand and efficient implementations in terms of AND depth and AND gate complexity on the other. Moreover, we also consider the implementation of the inverse S-box and the possibility for it to share resources with the forward S-box. We take our exploration beyond the conventional small (and even) S-box sizes. Our investigation is twofold: (1) we note that implementations of existing S-boxes are not optimized for the criteria which define masking complexity (AND depth and AND gate complexity) and improve a tool published at FSE 2016 by Stoffelen in order to fill this gap. (2) We search for new S-box designs which take these implementation properties into account from the start. We perform a systematic search based on the properties of not only the S-box but also its inverse as well as an exploration of larger S-box sizes using length-doubling structures. The result of our investigation is not only a wide selection of very good S-boxes, but we also provide complete descriptions of their circuits, enabling their integration into future work. https://tosc.iacr.org/index.php/ToSC/article/view/8562S-boxlightweight cryptographymaskingmultiplicative complexityAND depth
collection DOAJ
language English
format Article
sources DOAJ
author Begül Bilgin
Lauren De Meyer
Sébastien Duval
Itamar Levi
François-Xavier Standaert
spellingShingle Begül Bilgin
Lauren De Meyer
Sébastien Duval
Itamar Levi
François-Xavier Standaert
Low AND Depth and Efficient Inverses: a Guide on S-boxes for Low-latency Masking
IACR Transactions on Symmetric Cryptology
S-box
lightweight cryptography
masking
multiplicative complexity
AND depth
author_facet Begül Bilgin
Lauren De Meyer
Sébastien Duval
Itamar Levi
François-Xavier Standaert
author_sort Begül Bilgin
title Low AND Depth and Efficient Inverses: a Guide on S-boxes for Low-latency Masking
title_short Low AND Depth and Efficient Inverses: a Guide on S-boxes for Low-latency Masking
title_full Low AND Depth and Efficient Inverses: a Guide on S-boxes for Low-latency Masking
title_fullStr Low AND Depth and Efficient Inverses: a Guide on S-boxes for Low-latency Masking
title_full_unstemmed Low AND Depth and Efficient Inverses: a Guide on S-boxes for Low-latency Masking
title_sort low and depth and efficient inverses: a guide on s-boxes for low-latency masking
publisher Ruhr-Universität Bochum
series IACR Transactions on Symmetric Cryptology
issn 2519-173X
publishDate 2020-05-01
description In this work, we perform an extensive investigation and construct a portfolio of S-boxes suitable for secure lightweight implementations, which aligns well with the ongoing NIST Lightweight Cryptography competition. In particular, we target good functional properties on the one hand and efficient implementations in terms of AND depth and AND gate complexity on the other. Moreover, we also consider the implementation of the inverse S-box and the possibility for it to share resources with the forward S-box. We take our exploration beyond the conventional small (and even) S-box sizes. Our investigation is twofold: (1) we note that implementations of existing S-boxes are not optimized for the criteria which define masking complexity (AND depth and AND gate complexity) and improve a tool published at FSE 2016 by Stoffelen in order to fill this gap. (2) We search for new S-box designs which take these implementation properties into account from the start. We perform a systematic search based on the properties of not only the S-box but also its inverse as well as an exploration of larger S-box sizes using length-doubling structures. The result of our investigation is not only a wide selection of very good S-boxes, but we also provide complete descriptions of their circuits, enabling their integration into future work.
topic S-box
lightweight cryptography
masking
multiplicative complexity
AND depth
url https://tosc.iacr.org/index.php/ToSC/article/view/8562
work_keys_str_mv AT begulbilgin lowanddepthandefficientinversesaguideonsboxesforlowlatencymasking
AT laurendemeyer lowanddepthandefficientinversesaguideonsboxesforlowlatencymasking
AT sebastienduval lowanddepthandefficientinversesaguideonsboxesforlowlatencymasking
AT itamarlevi lowanddepthandefficientinversesaguideonsboxesforlowlatencymasking
AT francoisxavierstandaert lowanddepthandefficientinversesaguideonsboxesforlowlatencymasking
_version_ 1721563395204841472