Search-Space Reduction for S-Boxes Resilient to Power Attacks
The search of bijective <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>n</mi><mo>×</mo><mi>n</mi></mrow></semantics></math></inline-formula>...
Main Authors: | , , , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2021-05-01
|
Series: | Applied Sciences |
Subjects: | |
Online Access: | https://www.mdpi.com/2076-3417/11/11/4815 |
id |
doaj-cd88b21e8a7348c59879f4c717a8b6e8 |
---|---|
record_format |
Article |
spelling |
doaj-cd88b21e8a7348c59879f4c717a8b6e82021-06-01T00:57:52ZengMDPI AGApplied Sciences2076-34172021-05-01114815481510.3390/app11114815Search-Space Reduction for S-Boxes Resilient to Power AttacksCarlos Miguel Legón-Pérez0Ricardo Sánchez-Muiña1Dianne Miyares-Moreno2Yasser Bardaji-López3Ismel Martínez-Díaz4Omar Rojas5Guillermo Sosa-Gómez6Institute of Cryptography, University of Havana, Havana 10400, CubaFaculty of Computer Science, Technologic University of Havana, Havana 19390, CubaFaculty of Computer Science, Technologic University of Havana, Havana 19390, CubaFaculty of Computer Science, Technologic University of Havana, Havana 19390, CubaInstitute of Cryptography, University of Havana, Havana 10400, CubaFacultad de Ciencias Económicas y Empresariales, Universidad Panamericana, Álvaro del Portillo 49, Zapopan, Jalisco 45010, MexicoFacultad de Ciencias Económicas y Empresariales, Universidad Panamericana, Álvaro del Portillo 49, Zapopan, Jalisco 45010, MexicoThe search of bijective <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>n</mi><mo>×</mo><mi>n</mi></mrow></semantics></math></inline-formula> S-boxes resilient to power attacks in the space of dimension <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mo>(</mo><msup><mn>2</mn><mi>n</mi></msup><mo>)</mo><mo>!</mo></mrow></semantics></math></inline-formula> is a controversial topic in the cryptology community nowadays. This paper proposes partitioning the space of <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mo>(</mo><msup><mn>2</mn><mi>n</mi></msup><mo>)</mo><mo>!</mo></mrow></semantics></math></inline-formula> S-boxes into equivalence classes using the hypothetical power leakage according to the Hamming weights model, which ensures a homogeneous theoretical resistance within the class against power attacks. We developed a fast algorithm to generate these S-boxes by class. It was mathematically demonstrated that the theoretical metric confusion coefficient variance takes constant values within each class. A new search strategy—jumping over the class space—is justified to find S-boxes with high confusion coefficient variance in the space partitioned by Hamming weight classes. In addition, a decision criterion is proposed to move quickly between or within classes. The number of classes and the number of S-boxes within each class are calculated, showing that, as <i>n</i> increases, the class space dimension is an ever-smaller fraction of the space of S-boxes, which significantly reduces the space of search of S-boxes resilient to power attacks, when the search is performed from class to class.https://www.mdpi.com/2076-3417/11/11/4815power attackscryptologyconfusion coefficient varianceS-boxesequivalence classes |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Carlos Miguel Legón-Pérez Ricardo Sánchez-Muiña Dianne Miyares-Moreno Yasser Bardaji-López Ismel Martínez-Díaz Omar Rojas Guillermo Sosa-Gómez |
spellingShingle |
Carlos Miguel Legón-Pérez Ricardo Sánchez-Muiña Dianne Miyares-Moreno Yasser Bardaji-López Ismel Martínez-Díaz Omar Rojas Guillermo Sosa-Gómez Search-Space Reduction for S-Boxes Resilient to Power Attacks Applied Sciences power attacks cryptology confusion coefficient variance S-boxes equivalence classes |
author_facet |
Carlos Miguel Legón-Pérez Ricardo Sánchez-Muiña Dianne Miyares-Moreno Yasser Bardaji-López Ismel Martínez-Díaz Omar Rojas Guillermo Sosa-Gómez |
author_sort |
Carlos Miguel Legón-Pérez |
title |
Search-Space Reduction for S-Boxes Resilient to Power Attacks |
title_short |
Search-Space Reduction for S-Boxes Resilient to Power Attacks |
title_full |
Search-Space Reduction for S-Boxes Resilient to Power Attacks |
title_fullStr |
Search-Space Reduction for S-Boxes Resilient to Power Attacks |
title_full_unstemmed |
Search-Space Reduction for S-Boxes Resilient to Power Attacks |
title_sort |
search-space reduction for s-boxes resilient to power attacks |
publisher |
MDPI AG |
series |
Applied Sciences |
issn |
2076-3417 |
publishDate |
2021-05-01 |
description |
The search of bijective <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>n</mi><mo>×</mo><mi>n</mi></mrow></semantics></math></inline-formula> S-boxes resilient to power attacks in the space of dimension <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mo>(</mo><msup><mn>2</mn><mi>n</mi></msup><mo>)</mo><mo>!</mo></mrow></semantics></math></inline-formula> is a controversial topic in the cryptology community nowadays. This paper proposes partitioning the space of <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mo>(</mo><msup><mn>2</mn><mi>n</mi></msup><mo>)</mo><mo>!</mo></mrow></semantics></math></inline-formula> S-boxes into equivalence classes using the hypothetical power leakage according to the Hamming weights model, which ensures a homogeneous theoretical resistance within the class against power attacks. We developed a fast algorithm to generate these S-boxes by class. It was mathematically demonstrated that the theoretical metric confusion coefficient variance takes constant values within each class. A new search strategy—jumping over the class space—is justified to find S-boxes with high confusion coefficient variance in the space partitioned by Hamming weight classes. In addition, a decision criterion is proposed to move quickly between or within classes. The number of classes and the number of S-boxes within each class are calculated, showing that, as <i>n</i> increases, the class space dimension is an ever-smaller fraction of the space of S-boxes, which significantly reduces the space of search of S-boxes resilient to power attacks, when the search is performed from class to class. |
topic |
power attacks cryptology confusion coefficient variance S-boxes equivalence classes |
url |
https://www.mdpi.com/2076-3417/11/11/4815 |
work_keys_str_mv |
AT carlosmiguellegonperez searchspacereductionforsboxesresilienttopowerattacks AT ricardosanchezmuina searchspacereductionforsboxesresilienttopowerattacks AT diannemiyaresmoreno searchspacereductionforsboxesresilienttopowerattacks AT yasserbardajilopez searchspacereductionforsboxesresilienttopowerattacks AT ismelmartinezdiaz searchspacereductionforsboxesresilienttopowerattacks AT omarrojas searchspacereductionforsboxesresilienttopowerattacks AT guillermososagomez searchspacereductionforsboxesresilienttopowerattacks |
_version_ |
1721413447856422912 |