Previous Article in Journal
Compile-Time Fully Homomorphic Encryption: Eliminating Online Encryption via Algebraic Basis Synthesis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Generation of Affine-Shifted S-Boxes with Constant Confusion Coefficient Variance and Application in the Partitioning of the S-Box Space

by
Ismel Martínez-Díaz
1,
Carlos Miguel Legón-Pérez
2,3 and
Guillermo Sosa-Gómez
4,*
1
Department of Mathematics, University of Lleida, Jaume II, 69, 25001 Lleida, Spain
2
Instituto Superior Tecnológico Internacional San Luis (ITSAL), Canonigo Ramos y Avenida La Prensa, Riobamba 060101, Ecuador
3
Instituto de Criptografía, Facultad de Matemática y Computación, Universidad de la Habana, Calle J No. 556 Entre 25 y 27, Ciudad de La Habana 10400, Cuba
4
Facultad de Ciencias Económicas y Empresariales, Universidad Panamericana, Álvaro del Portillo 49, Zapopan 45010, Mexico
*
Author to whom correspondence should be addressed.
Cryptography 2025, 9(2), 45; https://doi.org/10.3390/cryptography9020045
Submission received: 13 May 2025 / Revised: 5 June 2025 / Accepted: 9 June 2025 / Published: 14 June 2025

Abstract

Among the multiple important properties that characterize strong S-boxes for symmetric cryptography and are used in their designs, this study focuses on two: the non-linearity property, a classical security metric, and the confusion coefficient variance property, a statistical proxy for side channel resistance under the Hamming weight leakage model. Given an S-box, two sets can be created: the set of affine-shifted S-boxes, where S-boxes have the same non-linearity value, and the set of Hamming weight classes, where S-boxes have the same confusion coefficient variance value. The inherent values of these two properties ensure resistance to cryptographic attacks; however, if the value of one property increases, it will imply a decrease in the value of the other property. In view of the aforementioned fact, attaining a trade-off becomes a complex undertaking. The impetus for this research stems from the following hypothesis: if an initial S-box already exhibits a trade-off, it would be advantageous to employ a method that generates new S-boxes while preserving the balance. A thorough review of the extant literature reveals the absence of any methodology that encompasses the aforementioned elements. The present paper proposes a novel methodology for generating an affine-shifted subset of S-boxes, ensuring that the resulting subset possesses the same confusion coefficient variance value. We provide insights on the optimal search strategy to optimize non-linearity and confusion coefficient variance. The proposed methodology guarantees the preservation of constant values on the designated. It is possible to incorporate these properties into a comprehensive design scheme, in which case the remaining S-box properties are to be examined. We also demonstrate that, despite the fact that this subset contains S-boxes with the theoretical resistance to side channel attacks under the Hamming weight model, the S-boxes are in different Hamming weight classes.
Keywords: S-box; non-linearity; confusion coefficient variance; Hamming weight class S-box; non-linearity; confusion coefficient variance; Hamming weight class

Share and Cite

MDPI and ACS Style

Martínez-Díaz, I.; Legón-Pérez, C.M.; Sosa-Gómez, G. Generation of Affine-Shifted S-Boxes with Constant Confusion Coefficient Variance and Application in the Partitioning of the S-Box Space. Cryptography 2025, 9, 45. https://doi.org/10.3390/cryptography9020045

AMA Style

Martínez-Díaz I, Legón-Pérez CM, Sosa-Gómez G. Generation of Affine-Shifted S-Boxes with Constant Confusion Coefficient Variance and Application in the Partitioning of the S-Box Space. Cryptography. 2025; 9(2):45. https://doi.org/10.3390/cryptography9020045

Chicago/Turabian Style

Martínez-Díaz, Ismel, Carlos Miguel Legón-Pérez, and Guillermo Sosa-Gómez. 2025. "Generation of Affine-Shifted S-Boxes with Constant Confusion Coefficient Variance and Application in the Partitioning of the S-Box Space" Cryptography 9, no. 2: 45. https://doi.org/10.3390/cryptography9020045

APA Style

Martínez-Díaz, I., Legón-Pérez, C. M., & Sosa-Gómez, G. (2025). Generation of Affine-Shifted S-Boxes with Constant Confusion Coefficient Variance and Application in the Partitioning of the S-Box Space. Cryptography, 9(2), 45. https://doi.org/10.3390/cryptography9020045

Article Metrics

Back to TopTop