Next Article in Journal
Natural Language Processing for Hardware Security: Case of Hardware Trojan Detection in FPGAs
Previous Article in Journal
A Novel Two-Level Protection Scheme against Hardware Trojans on a Reconfigurable CNN Accelerator
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Note on the Quasigroup of Lai–Massey Structures

by
George Teşeleanu
1,2
1
Advanced Technologies Institute, 10 Dinu Vintilă, 021101 Bucharest, Romania
2
Simion Stoilow Institute of Mathematics of the Romanian Academy, 21 Calea Grivitei, 010702 Bucharest, Romania
Cryptography 2024, 8(3), 35; https://doi.org/10.3390/cryptography8030035
Submission received: 15 July 2024 / Revised: 2 August 2024 / Accepted: 5 August 2024 / Published: 7 August 2024

Abstract

:
In our paper, we explore the consequences of replacing the commutative group operation used in Lai–Massey structures with a quasigroup operation. We introduce four quasigroup versions of the Lai–Massey structure and prove that for quasigroups isotopic with a group G , the complexity of launching a differential attack against these variants of the Lai–Massey structure is equivalent to attacking an alternative structure based on G . Then, we provide the conditions needed for correct decryption and further refine the resulting structure. The emerging structure is both intriguing and novel, and we hope that it will form the basis for future secure block ciphers based on non-commutative groups. In the case of commutative groups, we show that the resulting structure reduces to the classic Lai–Massey structure.

1. Introduction

When developing a block cipher, a key challenge is to design a set of permutations that is both easily implementable and exhibits behavior akin to random permutations. In tackling this challenge, the literature presents three primary approaches [1]. The first approach involves substitution–permutation networks (SPNs), which create a large block random-looking permutation by employing a series of substitution layers (composed of several substitution boxes (s-boxes) with a small block length) and permutation layers iterated over multiple rounds. On the other hand, Feistel and Lai–Massey structures adopt a different strategy. Instead of relying on invertible building blocks, these structures construct permutations using non-invertible components.
Differential cryptanalysis, introduced by Biham and Shamir [2], stands out as one of the most efficient tools for attacking block ciphers [3]. This method exploits how changes in certain plaintext bits propagate to the corresponding ciphertext, aiming to uncover vulnerabilities in the encryption process. In an ideal scenario with truly random permutations, the probability of predicting these changes is precisely 1 / 2 n , where n denotes the number of input bits. For instance, if n is set to 128 bits, this probability would be negligible, rendering predictions practically infeasible. However, the challenge lies in the need for practical block ciphers where permutations can be easily described, a criterion not satisfied by ideal permutations.
To overcome this hurdle, designers often resort to theoretical estimates based on assumptions that might not always align with real-world conditions. Consequently, practical block ciphers deviate from the ideal, rendering them susceptible to differential cryptanalysis. Hence, guarding against this type of attack becomes a fundamental design criterion for ensuring the security of symmetric primitives [4].
Latin squares, defined as × matrices containing only symbols, possess the distinctive property that each symbol appears exactly once in every row and column [5]. When a set is equipped with a multiplication table that forms a Latin square, it establishes a quasigroup, a structure akin to a group but without the requirements of associativity and the presence of an identity element.
Despite quasigroups not being a prevalent choice in constructing cryptographic primitives, the literature showcases various designs based on these structures [6,7,8,9,10,11,12,13,14]. These cryptosystems highlight the versatility of quasigroups as group-like structures, offering an alternative perspective for certain cryptographic applications.
A recent approach, as highlighted in [15,16,17,18], employs commutative regular subgroups within the symmetric group to design SPN structures that exhibit resilience against classical differential cryptanalysis. However, these structures are vulnerable to differential attacks utilizing different group operations. Specifically, the security level of such structures against differential attacks is operation-dependent, indicating a variation in susceptibility based on the chosen operation. This approach is similar to the methodology employed in our paper, where we also explore different operations for constructing differential attacks against the proposed Lai–Massey structures. It is worth noting that the focus of [15,16,17,18] was to illustrate how a designer can embed a trapdoor into a symmetric structure, defined by knowledge of the weakening group operation. In contrast, our investigation aims to explore the potential strengthening of a Lai–Massey structure against differential cryptanalysis by changing the group operation to a quasigroup one.
In [19,20,21], the author proposes a direct extension of the three fundamental symmetric structures (SPNs, Feistel, and Lai–Massey) using quasigroup operations instead of traditional group operations between keys and (intermediary) plaintexts. The study focuses on quasigroup operations isotopic with a group operation, a popular method for constructing quasigroups. We further discuss only the results concerning Lai–Massey structures since this is the focus of our paper. In [20], the author begins by establishing the necessary conditions for correct decryption when employing a quasigroup operation. Unfortunately, the previous conditions limit the generalization of the Lai–Massey structure solely to non-commutative groups. Then, two structure categories are presented, one symmetric and one asymmetric. Subsequently, the author employs several arguments to prove the equivalence of the two categories in terms of differential cryptanalysis.
In this paper, we study the quasigroup Lai–Massey structure from a different perspective. We commence by generalizing the structures outlined in [20], subsequently delving into the security analysis of the derived structures, and ultimately, focusing on the necessary conditions needed for correct decryption. We manage to prove that the symmetric and asymmetric structures are differentially equivalent; thus, we only need to focus on one of them. In the non-commutative group case, we obtain a novel symmetric structure that generalizes the symmetric structure from [20]. To the best of the authors’ knowledge, this particular design has not been previously documented in the existing literature. Consequently, we believe that this structure warrants attention for future research, offering valuable insights from both theoretical and design perspectives.
In the case of commutative groups, the structure coincides with the classic Lai–Massey symmetric structure. Therefore, in this case, we obtain a negative result. Nevertheless, we believe its significance is two-fold.
1.
In the majority of scientific reports and papers, authors often depict their results as if they were achieved seamlessly, without acknowledging the intricacies and challenges encountered during the process. This tendency contributes to a skewed perception of scientific research [22,23,24,25] and fosters the misconception that failure, serendipity, and unexpected outcomes are not integral aspects of scientific endeavors [23,26]. Consequently, our report aims to provide readers with insight into the authentic processes involved in the design phase of a cryptographic primitive.
2.
Negative results and misguided directions are frequently under-reported in the scientific literature [23,27], leading to the risk of repeated errors. By sharing our findings, we aspire to prevent others from traversing similar unproductive paths, thereby contributing to a collective learning process. This approach aligns with the recommendation in [28], where the author advises documenting mistakes to avoid their recurrence in the future.

Structure of the Paper

We introduce notations and definitions in Section 2. A generic Lai–Massey structure in introduced in Section 3 and its security is analyzed. We conclude the paper in Section 4.

2. Preliminaries

2.1. Notations

Throughout the paper, | G | will denote the cardinality of set G , and ⊕ will denote the bitwise xor operation. Also, using x y , we understand the concatenation of the strings x and y, and by G 2 , the set { x y x , y G } . When defining a permutation π , we further use the shorthand π = { a 0 , a 1 , , a } , which translates into π ( i ) = a i for all i values. We also define the identity permutation I d = { 0 , , } . Let • and ⊲ be binary operators. We define the binary operators Δ ( X , Y ) = X Y and Δ , ( X 0 X 1 , Y 0 Y 1 ) = ( X 0 Y 0 , X 1 Y 1 ) . Let X G 2 . Using X l and X r , we understand the left and right half of X, respectively.

2.2. Quasigroups

In this section, we introduce a few basic notions about quasigroups. We base our exposition on [29].
Definition 1.
A quasigroup ( G , ) is a set G equipped with a binary operation of multiplication : G × G G , in which the specification of any two of the values x , y , z in the equation x y = z determines the third uniquely.
Definition 2.
For a quasigroup ( G , ) , we define the left division x z = y as the unique solution y to x y = z . Similarly, we define the right division z y = x as the unique solution x to x y = z .
Lemma 1.
The following identities hold:
y ( y x ) = x ,        ( x y ) y = x , y ( y x ) = x ,        ( x y ) y = x .
Lemma 2.
If ( G , ) is a group, x z = x 1 z and z y = z y 1 .
One common approach to constructing quasigroups [7,8,11,30] involves the following procedure. A group ( G , ) , such as ( Z 2 n , ) or ( Z 2 n , + ) , and three random permutations π , ρ , ω : G G are chosen. Subsequently, we define the quasigroup operation as x y = ω 1 ( π ( x ) ρ ( y ) ) . To understand why this leads to a quasigroup, observe that the mappings of x, y, and z to π ( x ) , ρ ( y ) , and ω ( z ) are unique. Consequently, any equation of the form π ( x ) ρ ( y ) = ω ( z ) is uniquely resolved in the base group G when provided with π ( x ) , ρ ( y ) , or ω ( z ) .
Definition 3.
Let ( G , ) , ( H , ) be two quasigroups. An ordered triple of bijections π, ρ, ω of a set G onto the set H is called an isotopy of ( G , ) to ( H , ) if for any x , y G   π ( x ) ρ ( y ) = ω ( x y ) . If such an isotopism exists, then ( G , ) , ( H , ) are called isotopic.
Example 1.
Let ( G , ) = ( Z 4 , ) , ω 1 = { 2 , 1 , 0 , 3 } , π = { 2 , 1 , 3 , 0 } and ρ = { 2 , 0 , 3 , 1 } . The corresponding quasigroup operations for ( Z 4 , ) can be found in Table 1 [19].
Example 2.
Let ( G , ) = ( Z n , ) . Then, G is isotopic with ( Z n , + ) , where ω , π = I d and ρ ( i ) = n i mod n [30].
To gain a deeper understanding of the concept of isotopy, it is helpful to note that its three permutations correspond to the permutation of rows, columns, and symbols within a Latin square. These permutations naturally lead to the creation of another Latin square. Notably, being isotopic establishes an equivalence relation among quasigroups but not among groups, as isotopisms do not generally preserve associativity. It is important to recall that every group is an associative quasigroup.
Note that counting the number of distinct Latin squares is challenging. More precisely, the exact number, together with that of their isotopism classes, is known only for Latin squares of order smaller or equal to 11 [31,32,33].

2.3. Group Differential Cryptanalysis

Differential cryptanalysis was introduced by Biham and Shamir in [2] to analyze the Data Encryption Standard; as such, it was formulated exclusively for the group ( Z 2 n , ) . Subsequently, the concept was generalized to commutative groups [34], non-commutative groups [19], and quasigroups [19,20,21]. Let ( G , ) be a group. We further present the notions of left and right differential probabilities for a permutation. Remark that these notions can also be defined for functions.
Definition 4.
Let Δ ( X , X ) = X X , where X , X ( G , ) . We define the group differential probabilities as follows:
L D P ( σ , α , β ) = 1 | G | Δ ( X 1 , X ) = α X , X G [ Δ ( σ ( X ) 1 , σ ( X ) ) = β ] , R D P ( σ , α , β ) = 1 | G | Δ ( X , X 1 ) = α X , X G [ Δ ( σ ( X ) , σ ( X ) 1 ) = β ] ,
where σ : G G is a permutation and α , β G . When ( G , ) is commutative, we simply refer to L D P and R D P as D P .
Remark 1.
Let σ be randomly chosen. When ( G , ) = ( Z 2 n , ) , the distribution of D P values is studied in [35,36] and when ( G , ) is a generic abelian group in [37]. When σ is static (i.e., fixed and public for all symmetric structure’s implementations), the distribution of D P s for ( Z 2 n , ) is studied, for example, in [38,39,40].

3. Lai–Massey Structure

3.1. Description

We further present two non-commutative versions of the Lai–Massey structure: a symmetric construction Figure 1a and an asymmetric one, Figure 1b. Note that, as mentioned in Section 1, we currently do not focus on their invertibility.
In both constructions, the first step is to parse the plaintext into two halves, L 0 and R 0 . Note that for all versions, we make use of four quasigroup operations defined on G indexed by t: top, l: left, r: right, and k: key, which are not necessarily distinct. In the symmetric case, for r rounds we compute the following:
L i = L i 1 l F i ( k i , L i 1 t R i 1 ) and R i = R i 1 r F i ( k i , L i 1 t R i 1 ) ,
where F i ( k i , x ) is defined as F i ( k i k x ) or F i ( x k k i ) . We further call these versions the left symmetric Lai–Massey structures. We can also define the right symmetric Lai–Massey structures as follows:
L i = F i ( k i , L i 1 t R i 1 ) l L i 1 and R i = F i ( k i , L i 1 t R i 1 ) r R i 1 .
In the asymmetric case, we define the outer versions as
L i = L i 1 l F i ( k i , L i 1 t R i 1 ) and R i = F i ( k i , L i 1 t R i 1 ) r R i 1 ,
and the inner versions as
L i = F i ( k i , L i 1 t R i 1 ) l L i 1 and R i = R i 1 r F i ( k i , L i 1 t R i 1 ) .
Remark 2.
When = , and we define t = , k = r = , and l = ρ ( x y ) ; the result is the symmetric non-commutative group Lai–Massey structure detailed in [21]. For the asymmetric version, as outlined in [21], we need to set r = , k = t = in our asymmetric structure.

3.2. Symmetric Structure Analysis

In this subsection, we extend the differential probabilities introduced in [21] for non-commutative group symmetric Lai–Massey structures to our quasigroup version.
Definition 5.
Let K be a key, X i , Y i G 2 , for i { 0 , 1 } and j { l , r } . We define the symmetric Lai–Massey quasigroup differential probabilities as follows:
1. 
Let Z i = X l i t X r i and Y j i = X j i j F ( K k Z i ) . Then,
L L M , k ( F , α , β , γ , K ) = 1 | G | 2 Δ k ( Z 0 , Z 1 ) = γ Δ l , r ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ l , r ( Y 0 , Y 1 ) = β ] ;
2. 
Let Z i = X l i t X r i and Y j i = X j i j F ( Z i k K ) . Then,
L L M , k ( F , α , β , γ , K ) = 1 | G | 2 Δ k ( Z 0 , Z 1 ) = γ Δ l , r ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ l , r ( Y 0 , Y 1 ) = β ] ;
3. 
Let Z i = X r i t X l i and Y j i = F ( K k Z i ) j X j i . Then,
R L M , k ( F , α , β , γ , K ) = 1 | G | 2 Δ k ( Z 0 , Z 1 ) = γ Δ l , r ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ l , r ( Y 0 , Y 1 ) = β ] ;
4. 
Let Z i = X r i t X l i and Y j i = F ( Z i k K ) j X j i . Then,
R L M , k ( F , α , β , γ , K ) = 1 | G | 2 Δ k ( Z 0 , Z 1 ) = γ Δ l , r ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ l , r ( Y 0 , Y 1 ) = β ] ;
where F : G G is a function, α , β G 2 , and γ G .
Remark 3.
Let F l , F r : G G be two functions. When Y j i = X j i j F j ( K k Z i ) , we denote the differential probability with L L M , k ( F l , F r , α , β , γ , K ) . We also use the same convention for the rest of the Lai–Massey differential probabilities.
Let x i y = ω i 1 ( π i ( x ) ρ i ( y ) ) , where i { k , l , r , t } . We further study the impact of the ω i s, π i s, and ρ i s on the symmetric Lai–Massey structures.
Lemma 3.
Let i { l , r } , π i = π i ω i 1 , ρ i = ρ i ω i 1 , and F i = ω i F π t 1 . Also, let ρ t = ρ t ω r 1 , ω t = ω t ω l 1 , π k = π k π t 1 , ρ k = ρ k π t 1 , and ω k = ω k π t 1 . We define x i y = π i ( x ) ρ i ( y ) , x t y = ω t 1 ( x ρ t ( y ) ) , x k y = ω k 1 ( π k ( x ) ρ k ( y ) ) , and j , / j as the associated left and right divisions, where j { l , r , t , k } . Then, the following identities hold:
L L M , k ( F , α , β , γ , K ) = L L M , k ( F l , F r , A , B , π t ( γ ) , π t ( K ) ) , L L M , k ( F , α , β , γ , K ) = L L M , / k ( F l , F r , A , B , π t ( γ ) , π t ( K ) ) ,
where A = ω l ( α l ) ω r ( α r ) and B = ω l ( β l ) ω r ( β r ) .
Proof. 
Let i { 0 , 1 } and j { l , r } . First, we rewrite L L M , k as follows:
L L M , k ( F , α , β , γ , K ) = 1 | G | 2 Δ k ( Z 0 , γ ) = Z 1 Δ l , r ( X 0 , α ) = X 1 X 0 , X 1 G 2 [ Δ l , r ( Y 0 , β ) = Y 1 ] .
Let ω j ( X j i ) = S j i . Then,
X j 0 j α j = X j 1 π j ( X j 0 ) ρ j ( α j ) = ω j ( X j 1 ) π j ( ω j ( X j 0 ) ) ρ j ( ω j ( α j ) ) = ω j ( X j 1 ) π j ( S j 0 ) ρ j ( A j ) = S j 1 S j 0 j A j = S j 1
and
Z j = X l j t X r j Z j t X r j = X l j π t ( Z j ) ρ t ( X r j ) = ω t ( X l j ) π t ( Z j ) = ω t ( X l j ) ρ t ( X r j ) 1 π t ( Z j ) = ω t ( ω l ( X l j ) ) ρ t ( ω r ( X r j ) ) 1 Z j = π t 1 ( ω t ( S l j ) ρ t ( S r j ) 1 ) Z j = π t 1 ( S l j t S r j ) .
Let T j = S l j / t S r j , π t ( γ ) = Γ and π t ( K ) = K . Then, using Equation (2), we obtain
Z k 0 Z 1 = γ π k ( π t 1 ( T 0 ) ) ρ k ( γ ) = ω k ( π t 1 ( T 1 ) ) π k ( T 0 ) ρ k ( π t ( γ ) ) = ω k ( T 1 ) T 0 k Γ = T 1 T 0 k T 1 = Γ
and
F ( K k Z j ) = F ( ω k 1 ( π k ( K ) ρ k ( Z j ) ) ) = F ( π t 1 ( ω k 1 ( π k ( π t ( K ) ) ρ k ( π t ( Z j ) ) ) ) = F ( π t 1 ( K k T j ) ) .
Let W j i = S j i j F j ( K k T i ) . From Equation (4), we derive
Y j i = X j i j F ( K k Z i ) ω j ( Y j i ) = π j ( X j i ) ρ j ( F ( K k Z i ) ) ω j ( Y j i ) = π j ( ω j ( X j i ) ) ρ j ( ω j ( F ( π t 1 ( K k T i ) ) ) ) ω j ( Y j i ) = π j ( S j i ) ρ j ( F j ( K k T i ) ) ω j ( Y j i ) = S j i j F j ( K k T i ) ω j ( Y j i ) = W j i ,
which leads to
Y j 0 j β j = Y j 1 π j ( Y j 0 ) ρ j ( β j ) = ω j ( Y j 1 ) π j ( W j 0 ) ρ j ( ω j ( β j ) ) = W j 1 W j 0 j B j = W j 1 .
Using Equations (1), (3) and (5), we obtain
L L M , r ( F , α , β , γ , K ) = 1 | G | 2 Δ k ( T 0 , Γ ) = T 1 Δ l , r ( S 0 , A ) = S 1 S 0 , S 1 G 2 [ Δ l , r ( W 0 , B ) = W 1 ] = L L M , k ( F l , F r , A , B , Γ , K ) .
The remaining equality is proven using similar techniques. □
The proof of Lemma 4 follows a similar rationale to the proof of Lemma 3; thus, it is omitted.
Lemma 4.
Let i { l , r } , π i = π i ω i 1 , ρ i = ρ i ω i 1 , F i = ω i F π t 1 . Also, let π t = π t ω r 1 , ω t = ω t ω l 1 , π k = π k ρ t 1 , ρ k = ρ k ρ t 1 , and ω k = ω k ρ t 1 . We define x i y = π i ( x ) ρ i ( y ) , x t y = ω t 1 ( π t ( x ) y ) , x k y = ω k 1 ( π k ( x ) ρ k ( y ) ) , and j , / j as the associated left and right divisions, where j { l , r , t , k } . Then, the following identities hold:
R L M , k ( F , α , β , γ , K ) = R L M / , k ( F l , F r , A , B , ρ t ( γ ) , ρ t ( K ) ) , R L M , k ( F , α , β , γ , K ) = R L M / , / k ( F l , F r , A , B , ρ t ( γ ) , ρ t ( K ) ) ,
where A = ω l ( α l ) ω r ( α r ) and B = ω l ( β l ) ω r ( β r ) .
Lemmas 3 and 4 tell us that it is irrelevant from a differential point of view (e.g., we obtain the same differential probabilities L L M and R L M ) if we define the quasigroup operation with ω i I d or ω i = I d , where i { l , r } . The same is true for π t (left case) or ρ t (right case). Thus, we further restrict our study (without loss of generality) to the quasigroup operations x i y = π i ( x ) ρ i ( y ) and x t l y = ω t 1 ( x ρ t ( y ) ) (left case) or x t r y = ω t 1 ( π t ( x ) y ) (right side). Now, considering the non-linear layer F, we observe, according to Lemmas 3 and 4, that it would be simpler to study F l and F r instead of F.
Lemma 5.
Let π l = π l ω t 1 , π r = π r ρ t 1 , F i = ρ i F i , where i { l , r } . We define x l y = ω t ( π l ( x ) y ) , x r y = ρ t ( π r ( x ) y ) , and / i , i as the associated left and right divisions, where i { l , r } . Then, the following identities hold:
L L M , k ( F l , F r , α , β , γ , K ) = L L M , k ( F l , F r , A , B , γ , K ) , L L M , k ( F l , F r , α , β , γ , K ) = L L M , k ( ( F l , F r , A , B , γ , K ) ,
where A = ρ l ( α l ) ρ r ( α r ) and B = ρ l ( β l ) ρ r ( β r ) .
Proof. 
As before, let i { 0 , 1 } and j { l , r } . Also, let ω t ( X l i ) = S l i and ρ t ( X r i ) = S r i . Then,
X l 0 l α l = X l 1 π l ( X l 0 ) ρ l ( α l ) = X l 1 ω t ( π l ( ω t ( X l 0 ) ) A l ) = ω t ( X l 1 ) ω t ( π l ( S l 0 ) A l ) = S l 1 S l 0 l A l = S l 1 ,
X r 0 r α r = X r 1 ρ t ( π r ( S r 0 ) A r ) = S r 1 S r 0 r A r = S r 1 ,
and
Z j = X l j t l X r j Z j = ω t ( X l j ) ρ t ( X r j ) 1 Z j = S l j ( S r j ) 1 .
Let W l i = S l i l F l ( K k Z i ) and W r i = S r i r F r ( K k Z i ) . Then, we derive
Y l i = X l i l F l ( K k Z i ) = π l ( X l i ) ρ l ( F l ( K k Z i ) ) = π l ( ω t ( X l i ) ) F l ( K k Z i ) = ω t 1 ( S l i l F l ( K k Z i ) ) , Y r i = π r ( S r i ) F r ( K k Z i ) = ρ t 1 ( S r i r F r ( K k Z i ) ) ,
which leads to
Y l 0 l β l = Y l 1 π l ( Y l 0 ) ρ l ( β l ) = Y l 1 π l ( W l 0 ) B l = ω t 1 ( W l 1 ) W l 0 l B l = W l 1 ,
Y r 0 r β r = Y r 1 π r ( W r 0 ) B r = ω t 1 ( W r 1 ) W r 0 r B r = W r 1 .
Using Equations (6)–(10), we obtain
L L M , k ( F l , F r , α , β , γ , K ) = 1 | G | 2 Δ k ( Z 0 , γ ) = Z 1 Δ l , r ( S 0 , A ) = S 1 S 0 , S 1 G 2 [ Δ l , r ( W 0 , B ) = W 1 ] = L L M , k ( F l , F r , A , B , γ , K ) .
The second equality is proven using similar techniques. □
The proof of Lemma 6 follows a similar rationale to the proof of Lemma 5; thus, it is omitted.
Lemma 6.
Let ρ l = ρ l π t 1 , ρ r = ρ r ω t 1 , and F i = π i F i , where i { l , r } . We define x l y = π t ( x ρ l ( y ) ) , x r y = ω t ( x ρ r ( y ) ) , and i , / i as the associated left and right divisions, where i { l , r } . Then, the following identities hold:
R L M , k ( F l , F r , α , β , γ , K ) = R L M / , k ( F l , F r , A , B , γ , K ) , R L M , k ( F l , F r , α , β , γ , K ) = R L M / , k ( ( F l , F r , A , B , γ , K ) ,
where A = π l ( α l ) π r ( α r ) and B = π l ( β l ) π r ( β r ) .
Lemmas 5 and 6 indicate that the choice of ρ i (in the left case) and π i (in the right case) is irrelevant from a differential perspective. As illustrated in Equation (8), we can restrict our study to t = . Therefore, we further consider ρ i = I d (in the left case) and π i = I d (in the right case) and that = t = . Moreover, these lemmas indicate that we can consider F l and F r instead of F l and F r . A closer examination of the non-linear layers reveals that they can be expressed as F i = F i ω k 1 . Consequently, it is more convenient to investigate F i rather than F i .
Since K and, for example, π k are generated as a pair, it suffices from a differential point of view to simply consider K = π k ( K ) as being the key that we want to recover. This is possible since our final scope is to recover the plaintexts and not the initial key used by the symmetric structure. As a consequence, it suffices to restrict our study to x k l y = π k ( x ) y (left version) and x k r y = x ρ k ( y ) (right version).
Taking into account the previous arguments, we obtain the Lai–Massey structure depicted in Figure 2.
A different point of view of studying the version 1 structure is to redefine the differential probabilities as follows:
1.
Let Z i = X l i X r i and Y j i = ρ j ( π j ( X j i ) F j ( K π k ( Z i ) ) ) . Then,
L L M , ( F l , F r , α , β , γ , K ) = 1 | G | 2 Δ ( Z 0 , Z 1 ) = γ Δ , ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ , ( Y 0 , Y 1 ) = β ] ;
2.
Let Z i = X l i X r i and Y j i = ρ j ( π j ( X j i ) F j ( π k ( Z i ) K ) ) . Then,
L L M , ( F l , F r , α , β , γ , K ) = 1 | G | 2 Δ ( Z 0 , Z 1 ) = γ Δ , ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ , ( Y 0 , Y 1 ) = β ] ;
3.
Let Z i = X r i X l i and Y j i = ρ j ( F j ( K π k ( Z i ) ) π j ( X j i ) ) . Then,
R L M , ( F l , F r , α , β , γ , K ) = 1 | G | 2 Δ ( Z 0 , Z 1 ) = γ Δ , ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ , ( Y 0 , Y 1 ) = β ] ;
4.
Let Z i = X r i X l i and Y j i = ρ j ( F j ( π k ( Z i ) K ) π j ( X j i ) ) . Then,
R L M , ( F l , F r , α , β , γ , K ) = 1 | G | 2 Δ ( Z 0 , Z 1 ) = γ Δ , ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ , ( Y 0 , Y 1 ) = β ] .
We further provide the reader with some conditions that guarantee key independence for the differential probabilities associated with the Lai–Massey round functions.
Lemma 7.
If π k , π l and ρ l are morphisms; then, L L M , ( F l , F r , α , β , γ , K ) and R L M , ( F l , F r , α , β , γ , K ) are key independents.
Proof. 
We begin by rewriting X l i = π k 1 ( K 1 ) S l i and X r i = S r i . Then,
α l = ( X l 0 ) 1 X l 1 = ( S l 0 ) 1 π k 1 ( K K 1 ) S l 1 = ( S l 0 ) 1 S l 1
and
Z i = X l i ( X r i ) 1 = π k 1 ( K 1 ) S l i ( S r i ) 1 .
Let T i = S l i S r i and F j = π l 1 F j π k . Using Equations (11) and (12), we obtain
γ = ( Z 0 ) 1 Z 1 = ( π k 1 ( K 1 ) S l 0 ( S r 0 ) 1 ) 1 ( π k 1 ( K 1 ) S l 1 ( S r 1 ) 1 ) = S r 0 ( S l 0 ) 1 π k 1 ( K K 1 ) S l 1 ( S r 1 ) 1 = S r 0 ( S l 0 ) 1 S l 1 ( S r 1 ) 1 = ( T 0 ) 1 T 1
and
F j ( K π k ( Z i ) ) = F j ( K K 1 π k ( S l i ( S r i ) 1 ) ) = π l ( F j ( S l i ( S r i ) 1 ) ) = π l ( F j ( T i ) ) .
Let π r = π l 1 π r , ρ l = ρ l π l and ρ r = ρ r π l . From Equation (14), we derive
Y r i = ρ r ( π r ( X r i ) F r ( K π k ( Z i ) ) ) = ρ r ( π r ( X r i ) π l ( F r ( T i ) ) ) = ρ r ( π l ( π r ( X r i ) F r ( T i ) ) ) = ρ r ( π r ( S r i ) F r ( T i ) )
and
Y l i = ρ l ( π l ( X l i ) F l ( K π k ( Z i ) ) ) = ρ l ( π l ( X l i ) π l ( F l ( T i ) ) ) = ρ l ( π l ( X l i F l ( T i ) ) ) = ρ l ( X l i F l ( T i ) ) = ρ l ( π k 1 ( K ) ) 1 ρ l ( S l i F l ( T i ) ) .
Hence, we have
Y l 0 Y l 1 = ( ρ l ( S l 0 F l ( T 0 ) ) ) 1 ρ l ( S l 1 F l ( T 1 ) ) ,
Y r 0 Y r 1 = ( ρ r ( π r ( S r 0 ) F r ( T 0 ) ) ) 1 ( ρ r ( π r ( S r 1 ) F r ( T 1 ) ) ) .
Note that Equation (15) is equivalent to
ρ l 1 ( β l ) = ( S l 0 F l ( T 0 ) ) 1 S l 1 F l ( T 1 ) .
Using Equations (11), (13), (15) and (16), we obtain the desired equality. The remaining relations are proven similarly. □
Upon closer examination of Lemma 7’s proof, it becomes evident that we can derive the equivalent structure depicted in Figure 3. Its corresponding differential probabilities are
L L M , ( F l , F r , α , β , γ ) = 1 | G | 2 Δ ( Z 0 , Z 1 ) = γ Δ , ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ , ( Y 0 , Y 1 ) = β ] ,
where Y l i = X l i F l ( Z i ) and Y r i = ρ r ( π r ( X r i ) F r ( Z i ) ) , and
R L M , ( F l , F r , α , β , γ ) = 1 | G | 2 Δ ( Z 0 , Z 1 ) = γ Δ , ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ , ( Y 0 , Y 1 ) = β ] ,
where Y l i = F l ( Z i ) X l i and Y r i = ρ r ( F r ( Z i ) π r ( X r i ) ) . When L L M and R L M are independent of the key, the security analysis simplifies and we can offer higher security guarantees (in practice, we cannot check the differential probabilities for all the keys). Hence, we restrict our study to ρ l = π l = π k = I d for L L M , and R L M , .
We further state, without proof, the conditions required for key independence for the remaining differential probabilities.
Lemma 8.
If π k , π r and ρ r are morphisms, then L L M , ( F l , F r , α , β , γ , K ) and R L M , ( F l , F r , α , β , γ , K ) are key independents.
Similarly to the previous case, we can derive an equivalent structure using Lemma 8’s proof. We provide only its corresponding differential probabilities
L L M , ( F l , F r , α , β , γ ) = 1 | G | 2 Δ ( Z 0 , Z 1 ) = γ Δ , ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ , ( Y 0 , Y 1 ) = β ] ,
where Y l i = ρ l ( π l ( X l i ) F l ( Z i ) ) and Y r i = X r i F r ( Z i ) , and
R L M , ( F l , F r , α , β , γ ) = 1 | G | 2 Δ ( Z 0 , Z 1 ) = γ Δ , ( X 0 , X 1 ) = α X 0 , X 1 G 2 [ Δ , ( Y 0 , Y 1 ) = β ] ,
where Y l i = ρ l ( F l ( Z i ) π l ( X l i ) ) and Y r i = F r ( Z i ) X r i .
The following corollaries indicate that it is sufficient to focus solely on a version 2 structure from a differential perspective if ρ r is a morphism.
Corollary 1.
Let α ¯ = α r α l and β ¯ = β r β l . Then,
L L M , ( F l , F r , α , β , γ ) = L L M , ( F r , F l , α ¯ , β ¯ , γ 1 ) , R L M , ( F l , F r , α , β , γ ) = R L M , ( F l , F r , α ¯ , β ¯ , γ 1 ) .
Proof. 
We first observe that
γ = Z 0 Z 1 = Z 0 1 Z 1 = ( Z 1 1 Z 0 ) 1 = ( Z 1 Z 0 ) 1 .
So, Δ ( Z 1 , Z 0 ) = γ 1 . Also,
Δ , ( X r 0 X l 0 , X r 1 X l 1 ) = α ¯ and Δ , ( Y r 0 Y l 0 , Y r 1 Y l 1 ) = β ¯ .
Thus, we obtain the desired result. □
Corollary 2.
We define G l ( x ) = F l ( x ) 1 , G r ( x ) = F r ( x ) 1 and ε r ( x ) = π r ( x 1 ) 1 . If ρ r is a morphisms, then
L L M , ( F l , F r , α , β , γ ) = R L M , ( F l , F r , α , β , γ ) .
Proof. 
Let j { l , r } and S j i = ( X j i ) 1 . We observe that
α j = X j 0 X j 1 = ( X j 0 ) 1 X j 1 = S j 0 ( S j 1 ) 1 = S j 0 S j 1 Z i = X l i X r i = X l i ( X r i ) 1 = ( S l i ) 1 S r i = S l i S r i
and
Y l 0 Y l 1 = F l ( Z 0 ) 1 ( X l 0 ) 1 X l 1 F l ( Z 1 ) = G l ( Z 0 ) S j 0 ( S j 1 ) 1 G l ( Z 1 ) 1 = Δ ( G l ( Z 0 ) S l 0 , G l ( Z 1 ) S l 1 ) Y r 0 Y r 1 = ρ r ( π r ( X r 0 ) F r ( Z 0 ) ) 1 ρ r ( π r ( X r 1 ) F r ( Z 1 ) ) = ρ r ( F r ( Z 0 ) 1 π r ( X r 0 ) 1 π r ( X r 1 ) F r ( Z 1 ) = ρ r ( G r ( Z 0 ) ε r ( S r 0 ) 1 ε r ( S r 1 ) 1 G r ( Z 1 ) 1 = ρ r ( G r ( Z 0 ) ε r ( S r 0 ) 1 ) ρ r ( G r ( Z 1 ) ε r ( S r 1 ) ) 1 = Δ ( ρ r ( G r ( Z 0 ) ε r ( S r 0 ) 1 ) , ρ r ( G r ( Z 1 ) ε r ( S r 1 ) ) ) .
Thus, we obtain the desired equality. □
We further delve into the conditions required for correct decryption. We can observe that this requirement translates into
X l X r = ( X l F l ( Z ) ) ( π r ( X r ) F r ( Z ) ) ,
where Z = X l X r . We remark that Equation (17) is equivalent to
X l X r 1 = ( X l F l ( Z ) ) ( π r ( X r ) F r ( Z ) ) 1 = X l F l ( Z ) F r ( Z ) 1 π r ( X r ) 1 ,
which leads to
π r ( X r ) X r 1 = F l ( Z ) F r ( Z ) 1 .
Lemma 9.
Let η G . We can decrypt it if and only if π r ( x ) = η x and F l ( x ) = η F r ( x ) .
Proof. 
First, note that Equation (18) holds for any X r and X l . Therefore, we can fix an arbitrary X r and denote it by η = π r ( X r ) X r 1 . Thus, we obtain that F l ( Z ) = η F r ( Z ) for any X l . This leads to F l ( x ) = η F r ( x ) for any x since Z is simply a translation of any X l with a fixed point. Consequently, from Equation (18), we obtain that π r ( x ) = η x for any x. We leave the converse as an exercise. □
Taking into account the previous arguments, we obtain the Lai–Massey structure depicted in Figure 4.
The following corollary tells us that, in the case of commutative groups, the only meaningful (from a differential perspective) structure is the one with π r = I d and F l = F r (equivalently, the one with η = 1 G , where 1 G is the identity element of G ).
Corollary 3.
If ( G , ) is Abelian and ρ r is a morphism, then
L L M , ( F l , F r , α , β , γ ) = L L M , ( F r , F r , α , β , γ ) .
Proof. 
Let j { l , r } and S j i = X j i η . We observe that
α j = X j 0 X j 1 = ( X j 0 ) 1 X j 1 = ( X j 0 ) 1 η 1 η X j 1 = S j 0 S j 1 Z i = X l i X r i = X l i ( X r i ) 1 = X l i η η 1 ( X r i ) 1 = S l i S r i
and
Y l 0 Y l 1 = F l ( Z 0 ) 1 ( X l 0 ) 1 X l 1 F l ( Z 1 ) = F r ( Z 0 ) 1 η 1 ( X l 0 ) 1 X l 1 η F r ( Z 1 ) = F r ( Z 0 ) 1 ( S l 0 ) 1 S l 1 F r ( Z 1 ) = Δ ( S l 0 F r ( Z 0 ) , S l 1 F r ( Z 1 ) ) Y r 0 Y r 1 = ρ r ( π r ( X r 0 ) F r ( Z 0 ) ) 1 ρ r ( π r ( X r 1 ) F r ( Z 1 ) ) = ρ r ( η X r 0 F r ( Z 0 ) ) 1 ρ r ( η X r 1 F r ( Z 1 ) ) = ρ r ( S r 0 F r ( Z 0 ) ) 1 ρ r ( S r 1 F r ( Z 1 ) ) = Δ ( ρ r ( S r 0 F r ( Z 0 ) ) , ρ r ( S r 1 F r ( Z 1 ) ) ) .
Thus, we obtain the desired equality. □
When ρ = I d , the version 3 structure can be easily distinguished from a random permutation by simply checking if, for example, L 2 R 2 = L 0 R 0 . We further introduce a definition from [20], which will prove useful for removing this vulnerability.
Definition 6.
A permutation φ is a right orthomorphism if φ ( x ) = φ ( x ) x is a permutation. If φ ( x ) = x φ ( x ) is a permutation, then φ is called a left orthomorphism.
Lemma 10.
Let Z = K ( X l X r ) and t = F r ( K , Z ) . The following property holds:
Y l Y r = ( X l η ) ( η X r ) ( η X r t ) ρ r ( η X r t ) .
Proof. 
We observe that
Y l Y r = X l F l ( Z ) ρ r ( π r ( X r ) F r ( Z ) ) 1 = X l η t ρ r ( η X r t ) 1 .
If we denote A = η X r t , we obtain
Y l Y r = X l η t ρ r ( A ) 1 = X l η ( η X r ) 1 η X r t ρ r ( A ) 1 = ( X l η ) ( η X r ) A ρ r ( A ) ,
and thus, we obtain the desired property. □
Corollary 4.
If ρ r is a right orthomorphism, then Y l Y r is a random element.
Proof. 
Let ρ r ( x ) = ρ r ( x ) x . According to Lemma 10, we obtain that
Y l Y r = ( X l η ) ( η X r ) ρ r ( A ) 1 .
Since F ( K , · ) is random function, A is randomly distributed. Since ρ r is a right orthomorphism, ρ r ( A ) is also random. Therefore, we obtain that Y l Y r is uniformly distributed. □
To summarize all the lemmas and observations we provide the reader with Proposition 1.
Proposition 1.
A symmetric quasigroup Lai–Massey structure derived from a symmetric non-commutative group Lai–Massey structure using an isotopy has the same differential security as version 3 (see Figure 4) if ρ is a morphism and we require correct decryption. If the group is commutative, we obtain that symmetric group Lai–Massey structure and version 3 are equivalent.

3.3. Asymmetric Structure Analysis

In this section, we extend the notion of differential cryptanalysis to asymmetric Lai–Massey structures. Then, as in the symmetric case, we show that the structure can be defined using only group operations. Finally, we show that the resulting structure is equivalent to the version 1 symmetric structure.
Definition 7.
Let K be a key and X i , Y i G 2 for i { 0 , 1 } . We define the asymmetric Lai–Massey quasigroup differential probabilities as follows:
1. 
Let Z i = X l i t X r i , Y l i = X l i l F ( K Z i ) ) and Y r i = F ( K Z i ) r X r i . Then,
O L M , k ( F , α , β , γ , K ) = 1 | G | 2 X 0 , X 1 G 2 Δ l , r ( X 0 , X 1 ) = α Δ k ( Z 0 , Z 1 ) = γ [ Δ l , r ( Y 0 , Y 1 ) = β ] ;
2. 
Let Z i = X l i t X r i , Y l i = X l i l F ( Z i K ) and Y r i = F ( Z i K ) r X r i . Then,
O L M , k ( F , α , β , γ , K ) = 1 | G | 2 X 0 , X 1 G 2 Δ l , r ( X 0 , X 1 ) = α Δ k ( Z 0 , Z 1 ) = γ [ Δ l , r ( Y 0 , Y 1 ) = β ] ;
3. 
Let Z i = X r i t X l i , Y l i = F ( K Z i ) l X l i and Y r i = X r i r F ( K Z i ) . Then,
I L M , k ( F , α , β , γ , K ) = 1 | G | 2 X 0 , X 1 G 2 Δ l r ( X 0 , X 1 ) = α Δ k ( Z 0 , Z 1 ) = γ [ Δ l , r ( Y 0 , Y 1 ) = β ] ;
4. 
Let Z i = X r i t X l i , Y l i = F ( Z i K ) l X l i and Y r i = X r i r F ( Z i K ) . Then,
I L M , k ( F , α , β , γ , K ) = 1 | G | 2 X 0 , X 1 G 2 Δ l , r ( X 0 , X 1 ) = α Δ k ( Z 0 , Z 1 ) = γ [ Δ l , r ( Y 0 , Y 1 ) = β ] ;
where F : G G is a function, and α , β G 2 , and γ G .
The next lemmas enable us to restrict our study to the case where ω l = ω r = ω t = I d due to the differential equivalency. Note that the Lemmas 11 and 12 are proven similarly to Lemma 3; hence, we omit their proof.
Lemma 11.
Let i { l , r } , π i = π i ω i 1 , ρ i = ρ i ω i 1 , F i = ω i F ω t 1 . Also, let ρ t = ρ t ω r 1 , π t = π t ω l 1 , π k = π k ω t 1 , ρ k = ρ k ω t 1 , and ω k = ω k ω t 1 . We define x i y = π i ( x ) ρ i ( y ) , x t y = π t ( x ) ρ t ( y ) , x k y = ω k 1 ( π k ( x ) ρ k ( y ) ) , and j , / j as the associated left and right divisions, where j { l , r , t , k } . Then, the following identities hold:
O L M , k ( F , α , β , γ , K ) = O L M , k ( F l , F r , A , B , ω t ( γ ) , ω t ( K ) ) , O L M , k ( F , α , β , γ , K ) = O L M , / k ( F l , F r , A , B , ω t ( γ ) , ω t ( K ) ) ,
where A = ω l ( α l ) ω l ( α l ) and B = ω l ( β l ) ω l ( β l ) .
Lemma 12.
Let i { l , r } , π i = π i ω i 1 , ρ i = ρ i ω i 1 , F i = ω i F ω t 1 . Also, let ρ t = ρ t ω l 1 , π t = π t ω r 1 , π k = π k ω t 1 , ρ k = ρ k ω t 1 , and ω k = ω k ω t 1 . We define x i y = π i ( x ) ρ i ( y ) , x t y = π t ( x ) ρ t ( y ) , x k y = ω k 1 ( π k ( x ) ρ k ( y ) ) , and j , / j as the associated left and right divisions, where j { l , r , t , k } . Then, the following identities hold:
I L M , k ( F , α , β , γ , K ) = I L M / , k ( F l , F r , A , B , ω t ( γ ) , ω t ( K ) ) , I L M , k ( F , α , β , γ , K ) = I L M / , / k ( F l , F r , A , B , ω t ( γ ) , ω t ( K ) ) ,
where A = ω l ( α l ) ω l ( α l ) and B = ω l ( β l ) ω l ( β l ) .
The following lemmas are the asymmetric equivalents of Lemmas 5 and 6; thus, we state them without proof.
Lemma 13.
Let π l = π l π t 1 , ρ r = ρ r ρ t 1 , F l = ρ l F l , F r = π r F r . We define x l y = π t ( π l ( x ) y ) , x r y = ρ t ( x ρ r ( y ) ) , and i , / i as the associated left and right divisions, where i { l , r } . Then, the following identities hold:
O L M , k ( F l , F r , α , β , γ , K ) = O L M , k ( F l , F r , A , B , γ , K ) , O L M , k ( F l , F r , α , β , γ , K ) = O L M , k ( F l , F r , A , B , γ , K ) ,
where A = ρ l ( α l ) π r ( α l ) and B = ρ l ( β l ) π r ( β l ) .
Lemma 14.
Let ρ l = ρ l ρ t 1 , π r = π r π t 1 , F l = π l F l , F r = ρ r F r . We define x l y = ρ t ( x ρ l ( y ) ) , x r y = π t ( π r ( x ) y ) , and i , / i as the associated left and right divisions, where i { l , r } . Then, the following identities hold:
I L M , k ( F l , F r , α , β , γ , K ) = I L M / , k ( F l , F r , A , B , γ , K ) , I L M , k ( F l , F r , α , β , γ , K ) = I L M / , k ( F l , F r , A , B , γ , K ) ,
where A = π l ( α l ) ρ r ( α l ) and B = π l ( β l ) ρ r ( β l ) .
Let = . Before presenting the resulting asymmetric structure, we would like to point out that
Y r i = F ( t ) r X r i F ( t ) r Y r i = X r i ρ t ( F ( t ) ρ r ( Y r i ) ) = X r i Y r i = ρ r 1 ( F ( t ) 1 ρ t 1 ( X r i ) ) Y r i = ρ r 1 ( F ( t ) ρ t 1 ( X r i ) ) Y r i = X r i r F ( t ) Y r i r F ( t ) = X r i π t ( π r ( Y r i ) F ( t ) ) = X r i Y r i = π r 1 ( π t 1 ( X r i ) F ( t ) 1 ) Y r i = π r 1 ( π t 1 ( X r i ) F ( t ) ) ,
where, for the last equalities, we used Lemma 2.
Considering the aforementioned remark and employing arguments akin to the symmetric counterpart, we obtain a Lai–Massey structure similar (the top and right operations are changed to ⊗ and (OLM) or ⊘ (ILM)) to the one depicted in Figure 2. The associated differential properties are as follows:
1.
Let Z i = X l i X r i , Y l i = ρ l ( π l ( X l i ) F ( K π k ( Z i ) ) ) , and Y r i = ρ r ( F ( K π k ( Z i ) ) π r ( X r i ) ) . Then,
O L M , ( F , α , β , γ , K ) = 1 | G | 2 X 0 , X 1 G 2 Δ , ( X 0 , X 1 ) = α Δ ( Z 0 , Z 1 ) = γ [ Δ , ( Y 0 , Y 1 ) = β ] ;
2.
Let Z i = X l i X r i , Y l i = ρ l ( π l ( X l i ) F ( π k ( Z i ) K ) ) , and Y r i = ρ r ( F ( π k ( Z i ) K ) π r ( X r i ) ) . Then,
O L M , ( F , α , β , γ , K ) = 1 | G | 2 X 0 , X 1 G 2 Δ , ( X 0 , X 1 ) = α Δ ( Z 0 , Z 1 ) = γ [ Δ , ( Y 0 , Y 1 ) = β ] ;
3.
Let Z i = X r i X l i , Y l i = ρ l ( F ( K π k ( Z i ) ) π l ( X l i ) ) , and Y r i = ρ r ( π r ( X r i ) F ( K π k ( Z i ) ) ) . Then,
I L M , ( F , α , β , γ , K ) = 1 | G | 2 X 0 , X 1 G 2 Δ , ( X 0 , X 1 ) = α Δ ( Z 0 , Z 1 ) = γ [ Δ , ( Y 0 , Y 1 ) = β ] ;
4.
Let Z i = X r i X l i , Y l i = ρ l ( F ( π k ( Z i ) K ) π l ( X l i ) ) , and Y r i = ρ r ( π r ( X r i ) F ( π k ( Z i ) K ) ) . Then,
I L M , ( F , α , β , γ , K ) = 1 | G | 2 X 0 , X 1 G 2 Δ , ( X 0 , X 1 ) = α Δ ( Z 0 , Z 1 ) = γ [ Δ , ( Y 0 , Y 1 ) = β ] .
The following lemma shows that the asymmetric and the symmetric structures are differentially equivalent. Therefore, we can directly apply the results from Section 3.2.
Lemma 15.
Let π r ( x ) = π r ( x 1 ) 1 , ρ r ( x ) = ρ r ( x 1 ) . Then, the following identities hold:
O L M , ( F l , F r , α , β , γ , K ) = L L M , ( F l , F r , A , B , γ , K ) , O L M , ( F l , F r , α , β , γ , K ) = L L M , ( F l , F r , A , B , γ , K ) , I L M , ( F l , F r , α , β , γ , K ) = R L M , ( F l , F r , A , B , γ , K ) , I L M , ( F l , F r , α , β , γ , K ) = R L M , ( F l , F r , A , B , γ , K ) .
Proof. 
Let S l i = X l i and S r i = ( X r i ) 1 . We observe that
α r = X r 0 X r 1 = X r 0 ( X r 1 ) 1 = ( S r 0 ) 1 S r 1 = S r 0 S r 1 Z i = X l i X r i = S l i ( S r i ) 1 = S l i S r i
and
Y r i = ρ r ( F ( K π k ( Z i ) ) π r ( X r i ) ) = ρ r ( F ( K π k ( Z i ) ) 1 π r ( X r i ) ) = ρ r ( F ( K π k ( Z i ) ) 1 π r ( S r i ) 1 ) = ρ r ( ( π r ( S r i ) F ( K π k ( Z i ) ) ) 1 ) = ρ r ( π r ( S r i ) F ( K π k ( Z i ) ) ) .
The remaining equalities are proven similarly. □
To summarize all the lemmas and observations, we refer the reader to Proposition 2.
Proposition 2.
An asymmetric quasigroup Lai–Massey structure has the same differential security a symmetric quasigroup Lai–Massey structure.

4. Conclusions

In this paper, we studied the effect of isotropic quasigroups concerning groups in the design of cryptographic symmetric structures. More precisely, for quasigroup extensions of the Lai–Massey structure, we investigated the security implications and unveiled interesting equivalences with other symmetric structures based on the underlying group. Furthermore, we highlighted the necessary conditions for having correct decryption and we established that mounting a differential attack against the symmetric version is equivalent to attacking an alternative asymmetric structure.

Future Work

It would be intriguing to investigate the effect of using quasigroups that do not exhibit isotopy to groups. Additionally, exploring the influence of other symmetries, such as parastrophisms [41] or paratopisms [42], could provide valuable insights. Another interesting area of research is to compare the performance and security of the proposed non-commutative structure with other block cipher architectures, such as SPNs or Feistel networks.

Funding

This research received no external funding.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Vaudenay, S. A Classical Introduction to Cryptography: Applications for Communications Security; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2005. [Google Scholar]
  2. Biham, E.; Shamir, A. Differential Cryptanalysis of DES-like Cryptosystems. J. Cryptol. 1991, 4, 3–72. [Google Scholar] [CrossRef]
  3. Knudsen, L.R.; Robshaw, M. The Block Cipher Companion; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
  4. Mouha, N. On Proving Security against Differential Cryptanalysis. In Proceedings of the CFAIL 2019, Columbia, MO, USA, 31 May–2 June 2019. [Google Scholar]
  5. Dénes, J.; Keedwell, A.D. Latin Squares: New Developments in the Theory and Applications; Elsevier: Amsterdam, The Netherlands, 1991; Volume 46. [Google Scholar]
  6. Lai, X.; Massey, J.L. A Proposal for a New Block Encryption Standard. In Advances in Cryptology—EUROCRYPT’90: Workshop on the Theory and Application of Cryptographic Techniques Aarhus, Denmark, 21–24 May 1990; Proceedings 9; Springer: Berlin/Heidelberg, Germany, 1991; Volume 473, pp. 389–404. [Google Scholar]
  7. Gligoroski, D.; Markovski, S.; Kocarev, L. Edon-R, An Infinite Family of Cryptographic Hash Functions. Int. J. Netw. Secur. 2009, 8, 293–300. [Google Scholar]
  8. Gligoroski, D.; Markovski, S.; Knapskog, S.J. The Stream Cipher Edon80. In New Stream Cipher Designs; Springer: Berlin/Heidelberg, Germany, 2008; Volume 4986, pp. 152–169. [Google Scholar]
  9. Bakhtiari, S.; Safavi-Naini, R.; Pieprzyk, J. A Message Authentication Code Based on Latin Squares. In Australasian Conference on Information Security and Privacy; Springer: Berlin/Heidelberg, Germany, 1997; Volume 1270, pp. 194–203. [Google Scholar]
  10. Dénes, J.; Keedwell, A.D. A New Authentication Scheme Based on Latin Squares. Discret. Math. 1992, 106, 157–161. [Google Scholar] [CrossRef]
  11. Kościelny, C. A Method of Constructing Quasigroup-Based Stream-Ciphers. Appl. Math. Comput. Sci. 1996, 6, 109–122. [Google Scholar]
  12. Chauhan, D.; Gupta, I.; Verma, R. Quasigroups and Their Applications in Cryptography. Cryptologia 2021, 45, 227–265. [Google Scholar] [CrossRef]
  13. Chauhan, D.; Gupta, I.; Verma, R. Construction of Cryptographically Strong S-boxes from Ternary Quasigroups of Order 4. Cryptologia 2021, 569, 658–680. [Google Scholar] [CrossRef]
  14. Bakeva, V.; Popovska-Mitrovikj, A.; Mechkaroska, D.; Dimitrova, V.; Jakimovski, B.; Ilievski, V. Gaussian Channel Transmission of Images and Audio Files Using Cryptcoding. IET Commun. 2019, 13, 1625–1632. [Google Scholar] [CrossRef]
  15. Brunetta, C.; Calderini, M.; Sala, M. On Hidden Sums Compatible with a Given Block Cipher Diffusion Layer. Discret. Math. 2019, 342, 373–386. [Google Scholar] [CrossRef]
  16. Calderini, M.; Sala, M. On Differential Uniformity of Maps that May Hide an Algebraic Trapdoor. In International Conference on Algebraic Informatics; Springer: Cham, Switzerland, 2015; Volume 9270, pp. 70–78. [Google Scholar]
  17. Calderini, M.; Civino, R.; Sala, M. On Properties of Translation Groups in the Affine General Linear Group with Applications to Cryptography. J. Algebra 2021, 569, 658–680. [Google Scholar] [CrossRef]
  18. Civino, R.; Blondeau, C.; Sala, M. Differential attacks: Using alternative operations. Des. Codes Cryptogr. 2019, 87, 225–247. [Google Scholar] [CrossRef]
  19. Teşeleanu, G. Quasigroups and Substitution Permutation Networks: A Failed Experiment. Cryptologia 2021, 45, 266–281. [Google Scholar] [CrossRef]
  20. Teşeleanu, G. Cryptographic Symmetric Structures Based on Quasigroups. Cryptologia 2023, 47, 365–392. [Google Scholar] [CrossRef]
  21. Teşeleanu, G. The Security of Quasigroups Based Substitution Permutation Networks. In International Conference on Information Technology and Communications Security; Springer: Cham, Switzerland, 2022; Volume 13809, pp. 306–319. [Google Scholar]
  22. Medawar, P. Is the Scientific Paper a Fraud? List 1963, 70, 377–378. [Google Scholar]
  23. Howitt, S.M.; Wilson, A.N. Revisiting “Is the Scientific Paper a Fraud?”. EMBO Rep. 2014, 15, 481–484. [Google Scholar] [CrossRef] [PubMed]
  24. Tao, T. Ask Yourself Dumb Questions—And Answer Them! Available online: https://terrytao.wordpress.com/career-advice/ask-yourself-dumb-questions-and-answer-them/ (accessed on 2 August 2024).
  25. Weidman, D.R. Emotional Perils of Mathematics. Science 1965, 149, 1048. [Google Scholar] [CrossRef] [PubMed]
  26. Schwartz, M.A. The Importance of Stupidity in Scientific Research. J. Cell Sci. 2008, 121, 1771. [Google Scholar] [CrossRef] [PubMed]
  27. Truran, P. Practical Applications of the Philosophy of Science: Thinking about Research; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  28. Tao, T. Use the Wastebasket. Available online: https://terrytao.wordpress.com/career-advice/use-the-wastebasket/ (accessed on 2 August 2024).
  29. Smith, J.D. Four Lectures on Quasigroup Representations. Quasigroups Relat. Syst. 2007, 15, 109–140. [Google Scholar]
  30. Vojvoda, M.; Sỳs, M.; Jókay, M. A Note on Algebraic Properties of Quasigroups in Edon80. Technical Report, eSTREAM report 2007/005, 2007. Available online: https://www.academia.edu/71592476/A_Note_on_Algebraic_Properties_of_Quasigroups (accessed on 2 August 2024).
  31. Hulpke, A.; Kaski, P.; Östergård, P. The Number of Latin Squares of Order 11. Math. Comput. 2011, 80, 1197–1219. [Google Scholar] [CrossRef]
  32. McKay, B.D.; Wanless, I.M. On the Number of Latin Squares. Ann. Comb. 2005, 9, 335–344. [Google Scholar] [CrossRef]
  33. McKay, B.D.; Meynert, A.; Myrvold, W. Small Latin Squares, Quasigroups, and Loops. J. Comb. Des. 2007, 15, 98–119. [Google Scholar] [CrossRef]
  34. Lai, X.; Massey, J.L.; Murphy, S. Markov Ciphers and Differential Cryptanalysis. In Advances in Cryptology—EUROCRYPT’91: Workshop on the Theory and Application of Cryptographic Techniques Brighton, UK, 8–11 April 1991; Proceedings 10; Springer: Berlin/Heidelberg, Germany, 1991; Volume 547, pp. 17–38. [Google Scholar]
  35. O’Connor, L. On the Distribution of Characteristics in Bijective Mappings. In Advances in Cryptology—EUROCRYPT’93: Workshop on the Theory and Application of Cryptographic Techniques, Lofthus, Norway, 23–27 May 1993; Proceedings 12; Springer: Berlin/Heidelberg, Germany, 1994; Volume 765, pp. 360–370. [Google Scholar]
  36. O’Connor, L. On the Distribution of Characteristics in Bijective Mappings. J. Cryptol. 1995, 8, 67–86. [Google Scholar] [CrossRef]
  37. Hawkes, P.; O’Connor, L. XOR and Non-XOR Differential Probabilities. In Advances in Cryptology—EUROCRYPT’99: International Conference on the Theory and Application of Cryptographic Techniques, Prague, Czech Republic, 2–6 May 1999; Proceedings 18; Springer: Berlin/Heidelberg, Germany, 1999; Volume 1592, pp. 272–285. [Google Scholar]
  38. Nyberg, K. Perfect Nonlinear S-boxes. In Workshop on the Theory and Application of of Cryptographic Techniques; Springer: Berlin/Heidelberg, Germany, 1991; Volume 547, pp. 378–386. [Google Scholar]
  39. Canteaut, A.; Charpin, P.; Dobbertin, H. Weight Divisibility of Cyclic Codes, Highly Nonlinear Functions on F2m, and Crosscorrelation of Maximum-Length Sequences. SIAM J. Discret. Math. 2000, 13, 105–138. [Google Scholar] [CrossRef]
  40. Dobbertin, H. One-to-One Highly Nonlinear Power Functions on GF(2n). Appl. Algebra Eng. Commun. Comput. 1998, 9, 139–152. [Google Scholar] [CrossRef]
  41. Dudek, W. Parastrophes of Quasigroups. Quasigroups Relat. Syst. 2015, 23, 221–230. [Google Scholar]
  42. Falcón, R.M.; Falcón, Ó.J.; Núñez, J. A Historical Perspective of the Theory of Isotopisms. Symmetry 2018, 10, 322. [Google Scholar] [CrossRef]
Figure 1. Quasigroup Lai–Massey structures. (a) Symmetric version; (b) Asymmetric version.
Figure 1. Quasigroup Lai–Massey structures. (a) Symmetric version; (b) Asymmetric version.
Cryptography 08 00035 g001
Figure 2. Symmetric non-commutative group Lai–Massey structure (version 1).
Figure 2. Symmetric non-commutative group Lai–Massey structure (version 1).
Cryptography 08 00035 g002
Figure 3. Symmetric non-commutative group Lai–Massey structure (version 2).
Figure 3. Symmetric non-commutative group Lai–Massey structure (version 2).
Cryptography 08 00035 g003
Figure 4. Symmetric non-commutative group Lai–Massey structure (version 3).
Figure 4. Symmetric non-commutative group Lai–Massey structure (version 3).
Cryptography 08 00035 g004
Table 1. Quasigroup operations.
Table 1. Quasigroup operations.
 0  1  2  3   0  1  2  3   0  1  2  3 
0 2  0  1  3 0 1  2  0  3 0 3  0  1  2 
1 3  1  0  2 1 2  1  3  0 1 2  1  0  3 
2 1  3  2  0 2 3  0  2  1 2 0  3  2  1 
3 0  2  3  1 3 0  3  1  23 1  2  3  0
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Teşeleanu, G. A Note on the Quasigroup of Lai–Massey Structures. Cryptography 2024, 8, 35. https://doi.org/10.3390/cryptography8030035

AMA Style

Teşeleanu G. A Note on the Quasigroup of Lai–Massey Structures. Cryptography. 2024; 8(3):35. https://doi.org/10.3390/cryptography8030035

Chicago/Turabian Style

Teşeleanu, George. 2024. "A Note on the Quasigroup of Lai–Massey Structures" Cryptography 8, no. 3: 35. https://doi.org/10.3390/cryptography8030035

APA Style

Teşeleanu, G. (2024). A Note on the Quasigroup of Lai–Massey Structures. Cryptography, 8(3), 35. https://doi.org/10.3390/cryptography8030035

Article Metrics

Back to TopTop