Skip to main content
Entropy logoLink to Entropy
. 2022 Oct 4;24(10):1418. doi: 10.3390/e24101418

Quantum Misuse Attack on Frodo

Yaru Wang 1, Haodong Jiang 1,*, Zhi Ma 1,*
Editor: Guo-Hua Sun1
PMCID: PMC9601586  PMID: 37420438

Abstract

Research on the security of lattice-based public-key encryption schemes against misuse attacks is an important part of the cryptographic assessment of the National Institute of Standards and Technology (NIST) post-quantum cryptography (PQC) standardization process. In particular, many NIST-PQC cryptosystems follow the same meta-cryptosystem. At EUROCRYPT 2019, Ba˘etu et al. mounted a classical key recovery under plaintext checking attacks (KR-PCA) and a quantum key recovery under chosen ciphertext attacks (KR-CCA). They analyzed the security of the weak version of nine submissions to NIST. In this paper, we focus on learning with error (LWE)-based FrodoPKE, whose IND-CPA security is tightly related to the hardness of plain LWE problems. We first review the meta-cryptosystem and quantum algorithm for solving quantum LWE problems. Then, we consider the case where the noise follows a discrete Gaussian distribution and recompute the success probability for quantum LWE by using Hoeffding bound. Finally, we give a quantum key recovery algorithm based on LWE under CCA attack and analyze the security of Frodo. Compared with the existing work of Ba˘etu et al., our method reduces the number of queries from 22 to 1 with the same success probability.

Keywords: learning with problem, lattice-based cryptography, quantum misuse attack, Frodo, quantum algorithm

1. Introduction

Quantum computing exploits quantum mechanical properties to perform computations. It enables quantum parallelism and provides much more powerful data processing capabilities than classical computers [1]. In 1994, Peter Shor proposed an efficient quantum algorithm [2] that can break most of the current public-key cryptosystems, such as the Diffie–Hellman protocol [3] and RSA cryptosystem [4]. If large-scale quantum computers are realized, they would threaten the security of many public-key cryptosystems. In order to ensure the security of network information systems, NIST initiated a standardization process for post-quantum algorithms. In 2016, NIST called for proposals for post-quantum cryptosystems [5]. There are 69 candidates in the first round, based on a variety of hard problems considered to be intractable by quantum computers. After rigorous scrutiny by the cryptography community, 17 PKE and key encapsulation mechanisms (KEM) candidates were selected in the second round, where nine are lattice-based. In the third round, three of the four finalists are still lattice-based. In 2022, NIST has completed the third round of the PQC standardization process. A total of four candidate algorithms have been selected for standardization, and four additional algorithms will continue into the fourth round. The selected algorithms are mostly lattice-based cryptography [6]. Lattice-based cryptography is the use of conjectured hard problems on point lattices in Rn as the foundation for secure cryptographic systems. Attractive features of lattice cryptography include apparent resistance to quantum attacks, high asymptotic efficiency and parallelism, security under worst-case intractability assumptions, and solutions to long-standing open problems in cryptography. Lattice cryptography has some attractive features, including (1) conjectured security against quantum attacks, (2) algorithmic simplicity, efficiency, and parallelism, (3) strong security guarantees from worst-case hardness, and (4) constructions of versatile and powerful cryptographic objects.

In general, most lattice-based NIST-chosen plaintext attack (CPA) secure candidates use the Fujisaki–Okamoto (FO) transformation [7] to achieve IND-CCA security. When the key is reused, the CPA-secure PKE is no security guarantee. Research on key reuse attacks against lattice-based CPA-secure schemes is an important topic in the post-quantum cryptography. Many key-recovery attacks have been proposed in [8,9,10,11,12,13]. In 1998, Bleichenbacher showed the security of IND-CPA secure public-key cryptosystems in the case of key reuse on RSA encryption standard PKCS#1 [14]. In 2010, Menezes et al. gave the key reuse attack on reusing ephemeral keys in Diffie–Hellman key agreement protocols [15]. In 2016, Fluhrer proposed a key reuse attack [16]. In 2017, Ding et al. expanded Fluhrer’s attack to a class of key agreement protocols based on ring-LWE with signaling [17]. In 2019, Bauer et al. [18] gave a key-recovery attack on NewHope-CPA-PKE [19]. In 2021, Yue Qin et al. developed a systematic approach and analyzed key misuse attacks on lattice-based NIST candidates [20]. Although there have been a number of classical key misuse attacks on the lattice-based public key encryption schemes, quantum misuse attack algorithms are rarely studied. In 2019, Alagic et al. gave a quantum algorithm for learning rounding function and showed that this algorithm can recover the key of an IND-CPA-secure LWE-based encryption scheme with constant success probability [21]. At EUROCRYPT 2019, Ba˘etu et al. analyzed the security of meta-cryptosystems under key reuse by mounting a quantum key recovery under the chosen-ciphertext attacks [22].

Although NIST did not select Frodo as the initial post-quantum algorithm in the process of post-quantum cryptography standardization, Frodo remains a post-quantum recommendation of Germany’s Bundesamt für Sicherheit in der Informationstechnik (BSI) [23]. The FrodoPKE scheme is an instantiation and implementation of the Lindner–Peikert scheme [24] with some modifications, for example, more balanced key and ciphertext sizes and new LWE parameters. The IND-CPA security of FrodoPKE is tightly related to the hardness of a corresponding learning with errors problem. In 2005, Regev [25] defined the LWE problem, proved the hardness of LWE assuming the hardness of various worst-case lattice problems against quantum algorithms, and defined a PKE scheme whose IND-CPA security is based on the hardness of LWE. The LWE problem is a generalization of the learning parity with a noise problem [26] into large moduli q.

In this paper, we give an improved quantum algorithm for recovering the key of IND-CPA version of Frodo by using a quantum CCA attack. The security of Frodo’s proposal is based on a plain LWE problem. In lattice-based cryptography, the plain LWE problem [25] is to solve a noisy linear system modulo as a known integer.

The main contributions of this paper are as follows:

(1) Based on the improved quantum algorithm for solving the quantum LWE problem, we first recalculate the success probability when the error follows a discrete Gaussian distribution. Using Hoeffding bound, we give the success probability for solving quantum LWE by computing the expectation and variance of the error.

(2) Then, we present a quantum KR-CCA attack which is inspired by the quantum LWE solving algorithm. Based on the existing quantum LWE solving algorithm, we recompute the success probability by using a different method. We analyze the security of Frodo640, Frodo976 and Frodo1344. By computing the expectation and variance of the error term, we can recover the full key with fewer oracle queries. Compared with the work of Ba˘etu et al. [22], our algorithm can reduce the number of oracle calls to 1 and meanwhile keep the same success probability as the AJOP-based quantum KR-CCA algorithm; see Table 1.

Table 1.

Three types of attacks on several lattice-based cryptosystems. P denotes the success probability, and O denotes the total number of oracle calls required to recover the full key with probability 1 by iterating the attack.

GKZ-Based Quantum KR-CCA Attack [22] AJOP-Based Quantum KR-CCA Attack [22] Improved Quantum KR-CCA Attack
P         O P         O P         O
Frodo 213          217 22         22 22         1

The organization of our paper is as follows. In Section 2, we give basic definitions and the meta-cryptosystem defined in the algorithm. In Section 3, we review the quantum algorithm for solving quantum LWE. Then, we recalculate the success probability for solving quantum LWE problems when the noise follows a discrete Gaussian distribution. In Section 4, we propose an improved quantum key-recovery attack on LWE-based IND-CPA schemes and analyze the security of Frodo. We conclude the paper in Section 5. In addition, we give a table with the acronyms and their meaning in Abbreviations.

2. Preliminaries

2.1. Notation and Definitions

For an integer q1, let Zq be the residue class group modulo q such that Zq={0,1,,q1}. Let xX denote an element x is chosen according to uniform distribution from a finite set X. xχX denotes an element x is chosen according to χ distribution from a finite set X. For a random variable y, E[y] denotes the expectation value of y, Var[y] denotes the variance of y. Given a matrix A, AT will denote the transpose of A.

Definition 1 

((LWE) [25]). Let n,q be positive integers, χ be a probability distribution on Z and s be a secret element in Zqn. We denote by L the probability distribution on Zqn×Zq obtained by choosing aZqn uniformly at random, choosing eZq by sampling each of its coefficients according to χ, and returning (a,b)=(a,a·s+e)Zqn×Zq. Decision-LWE is the problem of deciding whether pairs (a,b)Zqn×Zq are sampled according to L or the uniform distribution on Zqn×Zq. Search-LWE is the problem of recovering s from (a,b)=(a,a·s+e)Zqn×Zq sampled according to L.

Definition 2 

((Quantum LWE) [27]). The samples are given in the form of a uniform quantum superposition state 1qnaZqn|a|a·s+ea(modq) by querying a quantum oracle, where ea are independent identical distribution random variables from some distribution χ. The goal is to output s.

Definition 3

(Public key encryption). A public key encryption scheme is a triple of randomized algorithms as follows:

(1) The key generator: given the security parameter, it outputs a public key and secret key.

(2) The encryption algorithm: takes a public key and a message (from some known set of valid messages) and outputs a ciphertext.

(3) The decryption algorithm takes a secret key and a ciphertext and outputs either a message or a distinguished “failure” symbol.

The scheme is said to be correct if generating a key pair, then encrypting a valid message using the public key, and then decrypting the resulting ciphertext using the secret key yields the original message (perhaps with all but negligible probability).

Definition 4

(Quantum Fourier transform). For any positive integer q, the quantum Fourier transform over Zq is defined by the operation

QFTZq|x=1qyZqωqx·y|y (1)

where ωq=e2πiq.

Definition 5

(Hoeffding’s bound). Consider a set of k independent random variables Xi, such that aiXibi. Let ci=biai, X=i[n]Xi. The expectation value of X is μ=E[X]. Then, it follows that for any δ>0,

Pr[Xμδn]e2n2δ2(biai)2 (2)

2.2. The Meta-Cryptosystem Defined on the Algebra

The meta-cryptosystem defined on the algebra was given by Băetu et al. [22] in 2019. Băetu et al. considered six additive Abelian groups Ssk,SA,SB,St,SU,SV and its four bilinear mappings: SA×SskSB, SU×SskSV, St×SASU, St×SBSV. The operation satisfies the associative law for bilinear mappings ×, that is (t×A)×sk=t×(A×sk) for all tSt,ASA,skSsk.

For any plaintext ptM, we first define two functions: encode function MSV and decode function SVM such that encode function is injective. As shown in Table 2, we have

W=VU×sk=t×B+f+encode(pt)t×A×ske×sk=t×(A×sk)+t×d+f+encode(pt)t×A×ske×sk=t×de×sk+f+encode(pt), (3)

then W=δ+encode(pt) with δ=t×de×sk+f, where δ denotes the error introduced by encoding/decoding.

Table 2.

The meta-cryptosystem defined on the algebra.

Algorithm setup(1λ): Algorithm enc(pp,pk,pt;coinB):
1: set up the algebra and define pp 1: parse pk=(A,B)
2: return pp 2: pick random sparse tSt,eSU
   and fSV by using coinB
Algorithm gen(pp;coinA): 3: U=t×A+e
1: pick a random ASA and random sparse 4: V=t×B+f+encode(pt)
   skSsk and dSB by using coinA 5: return ct=(U,V)
2: B=A×sk+d
3: pk=(A,B) Algorithm dec(pp,sk,ct):
4: return (sk,pk) 1: parse ct=(U,V)
2: W=VU×sk
3: pt=decode(W)
4: return pt

In fact, in many cryptosystems, the encode and decode functions are different. In particular, we give the encode and decode functions on Frodo in Section 4.2.

3. New Method for Solving Quantum LWE Problem

3.1. Quantum Algorithm for Solving Quantum LWE Problem

In 2019, Grilo et al. gave an efficient quantum-solving algorithm for the quantum LWE problem [28]. After, Wang et al. presented an improved quantum algorithm [27] based on the work of Grilo et al. In their algorithm, the noise eu is a random variable with the absolute value at most k. In the following, we first give the algorithm of Wang et al. Then, we consider the case where the noise follows a discrete Gaussian distribution and propose a new method of computing the success probability.

Lemma 1

([27]). Let u,skZqn, eu[k,k], k<q4, q be subexponential in the dimension n. The algorithm can recover the secret key sk with the probability of at least 1q2n||uZqncos2πeuq||2.

From the algorithm process in Algorithm 1, the probability of outputting the key sk is

Pr[sk]=1q2n||uZqnωeu||2=1q2n[(uZqnRe(ωeu))2+(uZqnIm(ωeu))2]1q2n(uZqnRe(ωeu))2=1q2n||uZqncos2πeuq||2 (4)

Since E(uZqnsin2πeuq)0, the first inequality holds.

Algorithm 1: Improved quantum algorithm for solving the quantum LWE problem.
Quantum oracle: |u|y|u|u·sk+eu+y
1: Set the initial state to |0n|1
2: Apply a quantum Fourier transform on the all registers
   and obtain 1qnuZqn|u1qxZqωx|x
3: Apply a quantum oracle query and obtain
   1qnuZqnωu·skeu|u1qxZqωx|x
4: Apply a quantum Fourier transform on the first register
   and obtain 1qnu,yZqnωeu|y1qxZqωx|x
5: Discard the second register and measure the first register
6: Output sk

3.2. New Method

As shown in Equation (4), Wang et al. can obtain the success probability for solving the quantum LWE problem by using the method of enlarging and reducing, where the error eu[k,k]. In some lattice-based cryptosystems, the noise follows a discrete Gaussian distribution, such as Frodo. In this subsection, we recompute the success probability that the noise follows a discrete Gaussian distribution. The new method is explained as follows: by using Hoeffding bound in Equation (4), we can obtain the success probability with expectation value and variance. Then, we consider the case where the error eu follows the discrete Gaussian distribution and compute the expectation value and variance of eu. The details are listed as follows.

Let eu follow the discrete Gaussian distribution N(0,σ2), eu[q2,q2]. The expectation of eu is E(eu)=0, the variance of eu is Var(eu)=σ2, then E(eu2)=E2(eu)+Var(eu)=σ2.

Using the mathematical analysis method, we first give the Taylor expansion of cosα

cosα=1α22!+α44!α66!+(1)nα2n2n!+(1)n+1cosξ(2n+2)!α2n+2,ξ(0,π). (5)

Let α=2πeuq, we have cos2πeuq[1,1]. We find that starting from the third term, the positive term is greater than the negative term in two adjacent terms, (i.e., when n1 and n is even, 12n!(2πeuq)2ncosξ(2n+2)!(2πeuq)2n+2>0; when n2 and n is odd, 1(2n2)!(2πeuq)2n212n!(2πeuq)2n>0).

So, we have cos2πeuq112(2πeuq)2. Then

E(cos2πeuq)E(112(2πeuq)2)=12π2q2E(eu2)=12π2q2·σ2 (6)

For any 0<δ<1, by using Hoeffding bound, we can obtain

Pr[uZqn(cos2πeuqE(112(2πeuq)2))δqn]=Pr[uZqn(cos2πeuq)(12π2q2·σ2)δ)qn]Pr[uZqn(cos2πeuqE(cos(2πeuq))δqn]<e2δ2q2n/4, (7)

Using (6) and (7), we have

uZqncos2πeuquZqnE(cos(2πeuq)δqn(12π2q2·σ2δ)qn (8)

Since cos2πeuq[1,1], for any 0<δ<1, using (4), the probability of outputting sk is

P1q2n((12π2q2·σ2δ)qn)2=(12π2q2σ2δ)2 (9)

4. Quantum Misuse Attack

In this section, we first give a KR-CCA attack based on an improved quantum algorithm for solving quantum LWE. Then, we discuss the security of Frodo. In this attack, we consider an adversary with quantum access to a decryption oracle.

We consider the meta-PKC construction in Section 2.2, let Ssk=Zqnsk,SA=ZqnA,SB=ZqnB,St=Zqnt,SU=ZqnU,SV=ZqnV. Define WU=VU×sk,pt=decode(WU),ZU=Vencode(pt), where USU,VSV. Hence, for any V

ZU=Vencode(pt)=Vencode(decode(VU×sk))=V(VU×sk)+δU)=U×sk+δU, (10)

δU denotes the error introduced by encoding/decoding and δU follows the uniform distribution. Then, the decryption oracle can make the following mapping:

|UVZ|UVZ+ZU

In Table 2, the decryption algorithm returns plaintext pt, so the ZU can be obtained.

4.1. Key Recovery Algorithm

Define Ssk=SB=Zqnm,SA=Zqn2,St=SU=Zqmn,SV=Zqm2. The bilinear mappings are matrix multiplications; let

U=U0U1Um1m×n,sk=sk0sk1skm1n×m

For i[m],UiZqn is the ith row of U, and for j[m],skjZqn is the jth column of sk.

In the following, we give the quantum key recovery attack algorithm based on LWE encryption schemes in Algorithm 2. This algorithm can recover the key with constant success probability.

Algorithm 2: Quantum key recovery attack.
Input: i,j[m] and V
Quantum oracle: |UVZ|UVZ+ZU
   1: Set the quantum state to |0V(1ij)i=jZqmn×Zqm2×Zqm2.
   2: Make a quantum Fourier transform on the first and third registers.
   3: Make a quantum oracle query and obtain (by writing Z=Z+ZU).
      1qmn1qm2U,Z,(i=jωZijZUij)|UVZ.
   4: Discard the last two registers and apply the quantum Fourier transform.
   5: Measure the first register and output α.

Theorem 1.

Let UZqmn, ZUij=(U×sk)ij+δUij, let the expectation value of the error δUij be μ and the variance of the error δUij be σ2. Then, the algorithm of Algorithm 2 can recover the full key sk with constant probability β.

Proof. 

Prepare the state |0V(1ij)i=jZqmn×Zqm2×Zqm2. By making a quantum Fourier transform on the first and third registers, we obtain

1qmn1qm2U,Z(i=jωZij)|UVZ.

After querying a quantum oracle and letting Z=Z+ZU, we have

1qmn1qm2U,Z,(i=jωZijZUij)|UVZ.

If we discard the last two registers and apply quantum Fourier transform, we obtain

1qmnU,α(i=jωZUij)ωU·α|α.

Then, we perform a complete measurement in the computational basis. The probability of obtaining Pr[α] is given by

Pr[α]=1qmnU(i=jωZUij)ωU·α2=1qmnU(i=jωUi·skjδUij)(i=jωUi·skj)2=1qmnUij(i=jωδUij)2(1q2mn(UijRe(ωδUij))2)m, (11)

where α is a matrix of m blocks, and the size of each block is n for α such that Ui·αj=0 (i.e., αj=0) for ij and αj=skj for i=j.

Using (9), we obtain

Pr[α](12π2q2(μ2+σ2)δ)2m (12)

We can further reduce the number of oracle calls with the same success probability. The specific analysis is as follows.

We can see that the success probability of obtaining one column of sk is p=(12π2q2(μ2+σ2)δ)2. Suppose we can fully recover sk with constant probability Pr[α]=β by k queries. Then, the probability of recovering the first column of sk at least once in k queries is 1(1p)k. So, we can fully recover secret sk with probability (1(1p)k)m. We expect

(1(1p)k)mβ, (13)

and then we can obtain the value of k. We will analyze it in detail in the following Section 4.2, using Frodo as the example. □

4.2. Application to Post-Quantum Cryptosystem Frodo

We consider the IND-CPA secure public key encryption scheme FrodoPKE, which is based on the public-key encryption scheme presented by Lindner and Peikert in [24]. FrodoPKE is a family of conservative yet practical post-quantum public key encryptions with security based on the hardness of the LWE problem.

Before giving the public-key encryption scheme of Frodo, we first describe how bit strings are encoded as mod-q integer matrices. Let D denote the number of bits used for encoding. The encoding function ec(·) encodes an integer 0pt<2D as an element in Zq by multiplying it by q2D:

ec(pt):=pt·q2D. (14)

By applying ec(·) to D-bit sub-strings sequentially and filling the matrix row by row entry-wise, the function Frodo.Encode encodes bit strings of length l=D·m·n¯ as m·n¯ matrices with entries in Zq in left column of Table 3. The corresponding decoding function Frodo.Decode is defined as shown in right column of Table 3. It decodes the m·n¯ matrix M into a bit string of length l=D·m·n¯ and extracts B bits from each entry by applying the function de(c):

de(c):=c·2Dqmod2D. (15)

Table 3.

Encode and Decode Functions of Frodo.

Frodo.Encode Frodo.Decode
input: bit string pt{0,1}l,l=D·m·n¯ input: matrix MZqm×n¯
output: matrix MZqm×n¯ output: bit string pt{0,1}l,l=D·m·n¯
 
1: for (i=0;i<m;ii+1) do 1: for (i=0;i<m;ii+1) do
2:    for (j=0;j<n¯;jj+1) do 2:    for (j=0;j<n¯;jj+1) do
3:       ptl=0D1pt(i·n¯+j)D+l·2l 3:       ptde(Mi,j)=Mi,j·2Dqmod2D
4:       Mi,jec(pt)=pt·q2D 4:       pt=l=0D1ptl·2l where ptl{0,1}
5: return M=(Mi,j)0i<m,0j<n¯ 5: for (l=0;l<D;ll+1) do
6:          pt(i·n¯+j)·D+lptl
7: return pt

Let m,n,n¯ be integer parameters and q2 be an integer power of 2. In Table 4, we depict the public-key encryption scheme of Frodo. The symbol χ denotes a sample is chosen according to χ. FrodoPKE works with Ssk=SB=Zqnn¯,SA=Zqn2,St=SU=Zqmn, and SV=Zqmn¯ with L norm, δU[ρ+,ρ+], where ρ+=q8, M=encode(pt)Zqm×n¯.

Table 4.

The CPA version of Frodo.

Alice Bob
1. Frodo.CPAPKE.Gen()
1.1 Generate matrix AZqn×n
1.2 Sample S,EχZqn×n¯ 2. pt{0,1}lmn¯
1.3 B=A·S+E 3. Frodo.CPAPKE.Enc(B,m)
1.4 Output (B,S) B 3.1 Generate matrix AZqn×n
3.2 S,EχZqm×n, EχZqm×n¯
3.3 U=SA+E
4. Frodo.CPAPKE.Dec(U,V,S) 3.4 V=SB+E+encode(pt)
4.1 M=VUS U,V 3.5 Output (U,V)
4.2 pt=decode(M)
4.3 Output pt

In FrodoPKE, χ is a discrete Gaussian distribution, and the error δU introduced by encoding/decoding is chosen according to uniform distribution with range [ρ+,ρ+]. In Table 5, we give the other parameters of Frodo.

Table 5.

Parameter sets for Frodo.

n q D m×n¯ sk Ranges ρ+
Frodo640 640 215 2 8×8 [12,12] 212
Frodo976 976 216 3 8×8 [10,10] 212
Frodo1344 1344 216 4 8×8 [6,6] 211

For Frodo640, q=215, δU is chosen according to uniform distribution with range [ρ+,ρ+]; this is [212,212]. The variance of δU is 5,593,770.67; then

Pr[sk0](12π2q2(μ2+σ2)δ)2=0.81

Using Equation (11), (1(10.81)k)8=0.818, we can obtain k=1. So, we can fully recover the secret sk with probability more than 0.818=0.18 with only 1 query.

For Frodo976, q=216, δU is chosen according to uniform distribution with range [ρ+,ρ+], this is [212,212]. The variance of δU is 5593770.67; then

Pr[sk0](12π2q2(μ2+σ2)δ)2=0.95

Using Equation (11), (1(10.95)k)8=0.958, we can obtain k=1. So, we can fully recover the secret sk with probability more than 0.958=0.66 with only 1 query.

For Frodo1344, q=216, δU is chosen according to uniform distribution with range [ρ+,ρ+]; this is [211,211]. The variance of δU is 1,398,784; then

Pr[sk0](12π2q2(μ2+σ2)δ)2=0.99

Using Equation (11), (1(10.99)k)8=0.998, we can obtain k=1. So, we can fully recover the secret sk with probability more than 0.998=0.92 with only 1 query.

5. Conclusions and Discussion

In this paper, we developed a quantum algorithm to recover the key against LWE-based NIST candidates PKEs. Based on the improved quantum algorithm for solving LWE, we considered the success probability for solving the quantum LWE problem when the noise follows a discrete Gaussian distribution. Then, we proposed a new quantum key-recovery attack algorithm and gave a specific analysis for FrodoPKE. Compared with the existing algorithm [22], our algorithm can reduce the number of oracle calls with the same success probability.

In reality, the key is usually misused in a very short time, which leads to the number of queries being taken as the prime optimization goal with respect to misuse attack. During this short time, if an adversary can only make one oracle query, the misuse attack that requires four queries does not work for an adversary. However, our algorithm only needs one query to recover the key with probability 1. Therefore, the fewer oracle queries required, the greater the advantage for an adversary.

Abbreviations

PKE Public-key encryption
KEM Key encapsulation mechanisms
NIST National Institute of Standards and Technology
PQC Post-quantum cryptography
LWE Learning with error
PKC Public key cryptosystem
KR-PCA Key recovery under plaintext checking attacks
KR-CPA Key recovery under chosen plaintext attacks
KR-CC Key recovery under chosen ciphertext attacks
IND-CPA INDistinguishability against chosen plaintext attacks
IND-CCA INDistinguishability against chosen ciphertext attacks

Author Contributions

Formal analysis, Y.W. and H.J.; supervision, H.J. and Z.M.; writing—original draft preparation, Y.W.; writing—review and editing, Y.W. and H.J.; funding acquisition, Z.M. All authors have read and agreed to the published version of the manuscript.

Data Availability Statement

The data presented in this study are available within the article.

Conflicts of Interest

The authors declare no conflict of interest.

Funding Statement

This research was funded by the National Key R&D Program of China (2021YFB3100100), the National Natural Science Foundation of China (62002385, 61972413), and the China Postdoctoral Science Foundation (2021M703321).

Footnotes

Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Wei S.J., Wang T., Dong R., Long G.L. Quantum computing. Sci. Sin. 2017;10:1277–1299. [Google Scholar]
  • 2.Shor P. Algorithms for quantum computation: Discrete logarithms and factoring; Proceedings of the 35th Annual Symposium on the Foundations of Computer Science; Santa Fe, NM, USA. 20–22 November 1994; pp. 124–134. [Google Scholar]
  • 3.Diffie W., Hellman M.E. New directions in cryptography. IEEE Trans. Inf. Theory. 1976;22:644–654. doi: 10.1109/TIT.1976.1055638. [DOI] [Google Scholar]
  • 4.Rivest R.L., Shamir A., Adleman L.M. A method for obtaining digital signatures and public-key cryptosystems. Commun. ACM. 1978;21:120–126. doi: 10.1145/359340.359342. [DOI] [Google Scholar]
  • 5.Nist: National Institute for Standards and Technology Post Quantum Crypto Project. [(accessed on 3 January 2017)];2017 Available online: https://csrc.nist.gov/projects/post-quantum-cryptography/round-1-submissions.
  • 6.Micciancio D., Oded R. Post-Quantum Cryptography. Springer; Berlin, Heidelberg: 2009. Lattice-based cryptography. [Google Scholar]
  • 7.Eiichiro F., Tatsuaki O. Advances in Cryptology—CRYPTO. Springer; Berlin/Heidelberg, Germany: 1999. Secure integration of asymmetric and symmetric encryption schemes; pp. 537–554. [Google Scholar]
  • 8.Aurelien G., Simon M., Guenael R. Cryptology and Network Security. Springer; Berlin/Heidelberg, Germany: 2020. Attack on lac key exchange in misuse situation; pp. 549–569. [Google Scholar]
  • 9.Ding J.T., Fluhrer S., Rv S. Information Security and Privacy. Springer; Berlin/Heidelberg, Germany: 2018. Complete attack on rlwe key exchange with reused keys, without signal leakage; pp. 467–486. [Google Scholar]
  • 10.Qin Y., Cheng C., Ding J. An efficient key mismatch attack on the nist second round candidate kyber. IACR Cryptol. ePrint Arch. 2019;2019:1343. [Google Scholar]
  • 11.Satoshi O., Yuntao W., Tsuyoshi T. Information Security and Privacy. Springer; Berlin/Heidelberg, Germany: 2018. Improving key mismatch attack on newhope with fewer queries; pp. 505–524. [Google Scholar]
  • 12.Qin Y., Cheng C., Ding J.T. Computer Security–ESORICS. Springer; Berlin/Heidelberg, Germany: 2019. A complete and optimized key mismatch attack on nist candidate newhope; pp. 504–520. [Google Scholar]
  • 13.Zhang X., Cheng C., Qin Y., Ding R. Small leaks sink a great ship: An evaluation of key reuse resilience of pqc third round finalist ntru-hrss. Inf. Commun. Secur. 2021;2021:283–300. [Google Scholar]
  • 14.Daniel B. Advances in Cryptology–CRYPTO. Springer; Berlin/Heidelberg, Germany: 1998. Chosen ciphertext attacks against protocols based on the rsa encryption standard pkcs #1; pp. 1–12. [Google Scholar]
  • 15.Menezes A., Ustaoglu B. On reusing ephemeral keys in diffie-hellman key agreement protocols. Int. Appl. Cryptogr. 2010;2:154–158. doi: 10.1504/IJACT.2010.038308. [DOI] [Google Scholar]
  • 16.Fluhrer S. Cryptanalysis of ring-lwe based key exchange with key share reuse. [(accessed on 31 January 2016)];Cryptol. ePrint Arch. 2016 2016:85. Available online: https://eprint.iacr.org/2016/085. [Google Scholar]
  • 17.Ding J., Alsayigh S., Saraswathy R.V., Fluhrer S., Lin X. Leakage of signal function with reused keys in rlwe key exchange; Proceedings of the ICC 2017—2017 IEEE International Conference on Communications; Paris, France. 21–25 May 2017. [Google Scholar]
  • 18.Bauer A., Gilbert H., Renault G., Rossi M. Assessment of the key-reuse resilience of newhope; Proceedings of the Cryptographers Track at the Rsa Conference; San Francisco, CA, USA. 4–8 March 2019; pp. 272–292. [Google Scholar]
  • 19.Alkim E., Ducas L., Pppelmann T., Schwabe P. Post-quantum key exchange—A new hope. [(accessed on 10 November 2015)];IACR Cryptol. ePrint Arch. 2015 1092:327–343. Available online: https://eprint.iacr.org/2015/1092. [Google Scholar]
  • 20.Qin Y., Cheng C., Zhang X.H., Pan Y.B., Hu L., Ding J.T. Advances in Cryptology–ASIACRYPT. Volume 13093. Springer; Berlin/Heidelberg, Germany: 2021. A systematic approach andanalysis ofkey mismatch attacks onlattice-based nist candidate kems; pp. 92–121. [Google Scholar]
  • 21.Gorjan A., Stacey J., Maris O., Alexander P. On quantum chosen-ciphertext attacks and learning with errors. Cryptography. 2020;4:10. [Google Scholar]
  • 22.Băetu C., Durak F.B., Huguenin-Dumittan L., Talayhan A., Vaudenay S. Misuse attacks on post-quantum cryptosystems; Proceedings of the 38th Annual International Conference on the Theory and Applications of Cryptographic Techniques (EUROCRYPT); Darmstadt, Germany. 19–23 May 2019; pp. 747–776. [Google Scholar]
  • 23.Bundesamt für Sicherheit in der Informationstechnik BSI TR-021021: Cryptographic Mechanisms: Recommendations and Key Lengths, Version 2022-1. 2022. [(accessed on 1 January 2022)]. Available online: https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Publications/TechGuidelines/TG02102/BSI-TR-02102-1.pdf.
  • 24.Lindner R., Peikert C. Topics in Cryptology. Volume 6558. Springer; Berlin/Heidelberg, Germany: 2011. Better key sizes (and attacks) for lwe-based encryption; pp. 319–339. [Google Scholar]
  • 25.Oded R. On lattices, learning with errors, random linear codes, and cryptography. J. ACM. 2009;56:1–40. [Google Scholar]
  • 26.Grilo A.B., Kerenidis I., Zijlstra T. Learning with errors problem is easy with quantum samples. Phys. Rev. A. 2019;99:032314. doi: 10.1103/PhysRevA.99.032314. [DOI] [Google Scholar]
  • 27.Michael J.K., Yishay M., Dana R., Ronitt R., Schapire R.E., Linda S. On the learnability of discrete distributions; Proceedings of the Twenty-Sixth Annual ACM Symposium on Theory of Computing; Montreal, QC, Canada. 23–25 May 1994; pp. 273–282. [Google Scholar]
  • 28.Wang Y.R., Jiang H.D., Ma Z., Wang H., Duan Q.H. An improved quantum algorithm for the quantum learning with errors problem. Quantum Inf. Process. 2022;21:1–14. doi: 10.1007/s11128-022-03507-8. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data presented in this study are available within the article.


Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES