General Diffusion Analysis: How to Find Optimal Permutations for Generalized Type-II Feistel Schemes
Type-II Generalized Feistel Schemes are one of the most popular versions of Generalized Feistel Schemes. Their round function consists in applying a classical Feistel transformation to p sub-blocks of two consecutive words and then shifting the k = 2p words cyclically. The low implementation costs...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Ruhr-Universität Bochum
2019-03-01
|
Series: | IACR Transactions on Symmetric Cryptology |
Subjects: | |
Online Access: | https://tosc.iacr.org/index.php/ToSC/article/view/7404 |
id |
doaj-26e77cc0ac544b9e8bd1e1cac4f13aee |
---|---|
record_format |
Article |
spelling |
doaj-26e77cc0ac544b9e8bd1e1cac4f13aee2021-03-02T01:54:44ZengRuhr-Universität BochumIACR Transactions on Symmetric Cryptology2519-173X2019-03-012019110.13154/tosc.v2019.i1.264-301General Diffusion Analysis: How to Find Optimal Permutations for Generalized Type-II Feistel SchemesVictor Cauchois0Clément Gomez1Gaël Thomas2DGA-MI, Boîte Postale 7, 35998 Rennes Cedex 9; 2 IRMAR, Université de Rennes 1, Campus de Beaulieu, 35042 RennesDGA-MI, Boîte Postale 7, 35998 Rennes Cedex 9DGA-MI, Boîte Postale 7, 35998 Rennes Cedex 9 Type-II Generalized Feistel Schemes are one of the most popular versions of Generalized Feistel Schemes. Their round function consists in applying a classical Feistel transformation to p sub-blocks of two consecutive words and then shifting the k = 2p words cyclically. The low implementation costs it offers are balanced by a low diffusion, limiting its efficiency. Diffusion of such structures may however be improved by replacing the cyclic shift with a different permutation without any additional implementation cost. In this paper, we study ways to determine permutations with the fastest diffusion called optimal permutations. To do so, two ideas are used. First, we study the natural equivalence classes of permutations that preserve cryptographic properties; second, we use the representation of permutations as coloured trees. For both heuristic and historical reasons, we focus first on even-odd permutations, that is, those permutations for which images of even numbers are odd. We derive from their structure an upper bound on the number of their equivalence classes together with a strategy to perform exhaustive searches on classes. We performed those exhaustive searches for sizes k ≤ 24, while previous exhaustive searches on all permutations were limited to k ≤ 16. For sizes beyond the reach of this method, we use tree representations to find permutations with good intermediate diffusion properties. This heuristic leads to an optimal even-odd permutation for k = 26 and best-known results for sizes k = 64 and k = 128. Finally, we transpose these methods to all permutations. Using a new strategy to exhaust equivalence classes, we perform exhaustive searches on classes for sizes k ≤ 20 whose results confirmed the initial heuristic: there always exist optimal permutations that are even-odd and furthermore for k = 18 all optimal permutations are even-odd permutations. https://tosc.iacr.org/index.php/ToSC/article/view/7404FeistelDiffusionPermutations |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Victor Cauchois Clément Gomez Gaël Thomas |
spellingShingle |
Victor Cauchois Clément Gomez Gaël Thomas General Diffusion Analysis: How to Find Optimal Permutations for Generalized Type-II Feistel Schemes IACR Transactions on Symmetric Cryptology Feistel Diffusion Permutations |
author_facet |
Victor Cauchois Clément Gomez Gaël Thomas |
author_sort |
Victor Cauchois |
title |
General Diffusion Analysis: How to Find Optimal Permutations for Generalized Type-II Feistel Schemes |
title_short |
General Diffusion Analysis: How to Find Optimal Permutations for Generalized Type-II Feistel Schemes |
title_full |
General Diffusion Analysis: How to Find Optimal Permutations for Generalized Type-II Feistel Schemes |
title_fullStr |
General Diffusion Analysis: How to Find Optimal Permutations for Generalized Type-II Feistel Schemes |
title_full_unstemmed |
General Diffusion Analysis: How to Find Optimal Permutations for Generalized Type-II Feistel Schemes |
title_sort |
general diffusion analysis: how to find optimal permutations for generalized type-ii feistel schemes |
publisher |
Ruhr-Universität Bochum |
series |
IACR Transactions on Symmetric Cryptology |
issn |
2519-173X |
publishDate |
2019-03-01 |
description |
Type-II Generalized Feistel Schemes are one of the most popular versions of Generalized Feistel Schemes. Their round function consists in applying a classical Feistel transformation to p sub-blocks of two consecutive words and then shifting the k = 2p words cyclically. The low implementation costs it offers are balanced by a low diffusion, limiting its efficiency. Diffusion of such structures may however be improved by replacing the cyclic shift with a different permutation without any additional implementation cost. In this paper, we study ways to determine permutations with the fastest diffusion called optimal permutations.
To do so, two ideas are used. First, we study the natural equivalence classes of permutations that preserve cryptographic properties; second, we use the representation of permutations as coloured trees.
For both heuristic and historical reasons, we focus first on even-odd permutations, that is, those permutations for which images of even numbers are odd. We derive from their structure an upper bound on the number of their equivalence classes together with a strategy to perform exhaustive searches on classes. We performed those exhaustive searches for sizes k ≤ 24, while previous exhaustive searches on all permutations were limited to k ≤ 16. For sizes beyond the reach of this method, we use tree representations to find permutations with good intermediate diffusion properties. This heuristic leads to an optimal even-odd permutation for k = 26 and best-known results for sizes k = 64 and k = 128.
Finally, we transpose these methods to all permutations. Using a new strategy to exhaust equivalence classes, we perform exhaustive searches on classes for sizes k ≤ 20 whose results confirmed the initial heuristic: there always exist optimal permutations that are even-odd and furthermore for k = 18 all optimal permutations are even-odd permutations.
|
topic |
Feistel Diffusion Permutations |
url |
https://tosc.iacr.org/index.php/ToSC/article/view/7404 |
work_keys_str_mv |
AT victorcauchois generaldiffusionanalysishowtofindoptimalpermutationsforgeneralizedtypeiifeistelschemes AT clementgomez generaldiffusionanalysishowtofindoptimalpermutationsforgeneralizedtypeiifeistelschemes AT gaelthomas generaldiffusionanalysishowtofindoptimalpermutationsforgeneralizedtypeiifeistelschemes |
_version_ |
1724244508075360256 |