• 検索結果がありません。

The Secure Parameters and Efficient Decryption Algorithm for Multivariate Public Key Cryptosystem EFC ∗

N/A
N/A
Protected

Academic year: 2021

シェア "The Secure Parameters and Efficient Decryption Algorithm for Multivariate Public Key Cryptosystem EFC ∗ "

Copied!
9
0
0

読み込み中.... (全文を見る)

全文

(1)

PAPER Special Section on Discrete Mathematics and Its Applications

The Secure Parameters and Efficient Decryption Algorithm for Multivariate Public Key Cryptosystem EFC

Yacheng WANGa),Nonmember, Yasuhiko IKEMATSUb),Member, Dung Hoang DUONG††c),Nonmember, andTsuyoshi TAKAGId),Member

SUMMARY At PQCrypto 2016, Szepieniec et al. proposed a new type of trapdoor called Extension Field Cancellation (EFC) for construct- ing secure multivariate encryption cryptosystems. They also specifically suggested two schemes EFCp and EFCp t2 that apply this trapdoor and some modifiers. Although both of them seem to avoid all attacks used for cryptanalysis on multivariate cryptography, their decryption efficiency has room for improvement. On the other hand, their security was analyzed mainly through an algebraic attack of computing the Gröbner basis of the public key, and there possibly exists more effective attacks. In this paper, we introduce a more efficient decryption approach for EFCpand EFCp t2, which manages to avoid all redundant computation involved in the original decryption algorithms without altering their public key. In addition, we estimate the secure parameters for EFCp and EFCp t2 through a hybrid attack of algebraic attack and exhaustive search.

key words: multivariate cryptography, extension field cancellation, de- cryption algorithm, hybrid attack

1. Introduction

Ever since Shor [20] introduced a polynomial-time algo- rithm in 1994 for solving the integer factorization problem and the discrete logarithm problem on quantum computers, on which currently used public key cryptosystems such as RSA and ECC are based, cryptology community has been re- searching on finding alternative cryptosystems that are quan- tum resistant (Post-quantum cryptography). Specially, the National Institute of Standards and Technology (NIST) in the United States is calling for post-quantum cryptosystems (PQC) proposals to be standardized, the National Security Agency (NSA) also announced their plan for switching to quantum resistant public key cryptosystems in the future.

Multivariate cryptography is considered as one of the main candidates for post-quantum cryptography because the security of multivariate cryptography is based on the hard- ness of the problem of solving a set of multivariate quadratic

Manuscript received September 25, 2018.

Manuscript revised January 25, 2019.

The authors are with the Graduate School of Information Sci- ence and Technology, The University of Tokyo, Tokyo, 113-8656 Japan.

††The author is with the School of Computing and Information Technology, University of Wollongong, NSW 2522, Australia.

The preliminary version of this paper was presented at 23rd Australasian Conference on Information Security and Privacy[23].

a) E-mail: [email protected] b) E-mail: [email protected] c) E-mail: [email protected]

d) E-mail: [email protected] DOI: 10.1587/transfun.E102.A.1028

polynomials, which was proven to be NP-complete, and mul- tivariate cryptography is in general very efficient and re- quires very modest computational resources. In more than 30 years of research on multivariate cryptography, results on constructing signature schemes seem to be more fruit- ful, UOV[15]and Rainbow[7] remains secure after many years of attack attempts. On the other hand, history on mul- tivariate encryption is more turbulent. Many multivariate encryption schemes have been proposed, such as MI[16], HFE [18], ABC [22], ZHFE [19], SRP [24], EFC [21], HFERP[13]and EFLASH[3]. Most of them were proven to be insecure under various attacks, such as MinRank[12], HighRank[4], Linearization[17]. Nevertheless, ABC, EFC, HFERP and EFLASH still remain secure. At PQCrypto 2016, Szepieniec et al.[21]proposed multivariate encryp- tion schemes EFCpand EFCpt2,which use matrix multipli- cations as in ABC[22], and extension field structure as in MI[16], HFE[18]and ZHFE[19].

In this paper, we introduce a more efficient decryption approach for EFCpand EFCpt2.The decryption algorithms for EFCp and EFCpt2 rely on the bilinear relation between the plaintext and an augmented ciphertext, that is the con- catenation of a ciphertext and the values of the deleted poly- nomials by the minus modifier. This bilinear relation is used for constructing linear systems in the decryption process of EFCpand EFCpt2. Our proposed decryption algorithms aim to separate the computation of constructing the linear sys- tem into two kinds of computations. One is the computation involving the plaintext and the ciphertext. The other one is computation involving the plaintext and the guessed val- ues. In addition, we experimentally investigate the security of EFCp and EFCpt2 through hybrid attack[1], which is a combination of algebraic attack and exhaustive search.

This paper is structured as follows. In Sect. 2, we recall multivariate cryptography. In Sect. 3, we recall the construc- tion of EFCp and EFCpt2, and their decryption algorithms in[21]. In Sect. 4, we introduce our proposed new decryp- tion algorithms for EFCp and EFCpt2.In Sect. 5, we apply hybrid algebraic attack on EFCp and EFCpt2 and estimate new secure parameters for them. Finally, we conclude the paper in Sect. 6.

2. Multivariate Cryptography

In this section, we give a short introduction to multivariate Copyright © 2019 The Institute of Electronics, Information and Communication Engineers

(2)

cryptography. LetFdenote a finite field with q elements, n,mbe two positive integers and denote the polynomial ring in variablesx1, . . . ,xnoverFbyF[x1, . . . ,xn].

2.1 Quadratic Maps and MQ Problem

In this subsection, we introduce the notion of quadratic maps and MQ-problem.

Given quadratic polynomialsf1, . . . , fm∈F[x1, . . . ,xn],

fk = Xn

i=1

Xn

j=1

ai jxixj+ Xn

i=1

bixi+c, (1≤k≤m) where ai j,bi,c ∈ F, then F(x1, . . . ,xn) = (f1, . . . , fm) : Fn →Fmis called aquadratic map.

Multivariate cryptography refers to the study of public key cryptosystems whose public keys are quadratic maps.

The security of multivariate cryptography is based onMQ problem, that is, givenmquadratic polynomialsp1, . . . ,pm∈ F[x1, . . . ,xn],findz∈Fnsuch thatp1(z)=· · ·=pm(z)=0. MQ problem is proven to be NP-complete even for the sim- plest case of multivariate quadratic polynomials over GF(2).

Therefore, multivariate cryptography is considered to be a candidate for post-quantum cryptography.

2.2 Construction of Multivariate Encryption Schemes To construct a multivariate encryption scheme, we need to design its private key, public key, encryption and decryption processes.

Private Key

We start with choosing an easy-to-invert quadratic mapF(x1, . . . ,xn) =(f1, . . . ,fm). “Easy-to-invert” means given the value (y1, . . . , ym) ∈ Fm, solving the system fi = yi (1 ≤ i ≤ m) is easy. Such mapF is also called acentral map. Then we choose two invertible linear maps S :Fn →FnandT :Fm→Fm.The set{F,S,T}is a private key.

Public Key

Given a private key{F,S,T},a public key P can be generated from the composition ofF,S,T, i.e. P=T◦F◦S.

General Workflow

Given a public keyPand a plaintextz∈Fn,the cipher- textc∈Fmofzcan be obtained by performingc=P(z).

Conversely, given a private key{F,S,T}and a cipher- textc∈Fm,a multivariate encryption scheme decryptscby computing the inverse ofT,FandSindividually.

2.3 Algebraic Attack

Algebraic attack directly solves the system:

p1(x1, . . . ,xn)=c1,· · ·,pm(x1, . . . ,xn)=cm, (1) wherepi’s are public key polynomials, andc=(c1, . . . ,cm) is a ciphertext. Usually, Gröbner basis method is used in the

solving process.

Gröbner basis method was introduced by Buchberger, who proposed Buchberger algorithm[2], and was later im- proved by Faugere with F4/F5 algorithms, see [10],[11].

“Field equations” xq1 −x1 =0,· · ·,xqn−xn =0 are added to the polynomial system (Eq. (1)) to solve this system inF, and it is much faster to compute a Gröbner basis when field equations are added. In multivariate cryptography, let

G={p1−c1, . . . ,pm−cm,xq1 −x1, . . . ,xqn−xn}, (2) we then need to compute the Gröbner basis of the ideal I generated byG.The complexity of the Gröbner basis method is determined by a so-calleddegree of regularity. There are several different definitions for degree of regularity, through out this paper, we regard the degree of regularity as the degree where a non-trivial syzygy producing a degree fall first occurs, which is also called thefirst fall degree[14]. If F4 or F5 algorithm is used, the complexity of computing the Gröbner basis ofIis

ComplexityF4/F5 =O* ,

n+dr eg−1 dr eg

!2 n 2

! + -

, (3)

wheredr egis the degree of regularity ofI.

In[1], Bettale et al. proposed a hybrid algebraic method for solving multivariate systems over finite fields, which can speed up the computation of Gröbner basis with F4/F5 algo- rithms. Hybrid algebraic method is a combination of alge- braic attack and exhaustive search. Specifically, givene∈N, hybrid algebraic method first guesses the value of variables x1, . . . ,xe, evaluate them inGwith the guessing values, and then apply algebraic attack on the remaining polynomial sys- tem. The guessing processes terminates when a solution is found.

3. Extension Field Cancellation (EFC)

In this section, we recall the constructions of EFCp and EFCpt2 [21], and the original decryption algorithms de- signed for them.

3.1 Notations

Let F be a finite field of 2 elements. Given a positive integer n, x1, . . . ,xn are n variables over F, and define x = (x1, . . . ,xn).E denotes a degree n extension field of F.Denote the set of alln×mmatrices byFn×m.Matrices are denoted by capital letters, vectors are denoted by bold low- ercase letters, and all vectors are treated as row vectors. The i-th entry of a vectorvis denoted byvi,thei-th row of a ma- trixMis denoted byMi.ForN,M ∈Fn×n,(N||M)∈F2n denotes the horizontal join of NandM.

Choose a basis{θ1, . . . , θn}ofE/F,and define the iso- morphismϕ:Fn 3v7→vb>∈E,whereb=(θ1, . . . , θn)∈ En. For A ∈ Fn×n, and v = (v1, . . . , vn) ∈ Fn, define α(v) = ϕ(vA) ∈ E. The matrix associated with the lin- ear mapE3 X 7→α(v)X ∈Eis denoted byαm(v)∈Fn×n.

(3)

For a matrix B ∈ Fn×n and v ∈ Fn, we define β(v) and βm(v)in the same way as α(v)andαm(v). For a positive integera,πastands for the following projection:

πa :F2n 3(v1,· · ·, v2n)7→(v1,· · ·, v2n−a)∈F2n−a.

3.2 Construction of the EFCpScheme –Key Generation

Given a prime numbern,randomly choose A,B ∈Fn×n of rankn−1 such that the intersection of the kernel spaces ofA andBis the zero subspace. Randomly choose two invertible linear maps S : Fn → Fn andT : F2n → F2n, we identify these linear maps with matricesS ∈Fn×n,T ∈F2n×2n. The central mapFfor EFCpis

F :Fn 3x7→(x·αm(x), x·βm(x))∈F2n. The public key for EFCpis given by

P=(p1,· · ·,p2n−a)=πa◦T◦F◦S :Fn →F2n−a, where pi (1 ≤ i ≤ 2n −a) are quadratic polynomials in x1, . . . ,xnoverF.

Next we take a look at the explicit form of the central mapF.For anyx ∈Fn, α(x) ∈ Ecan be represented with basis{θ1, . . . , θn},i.e. α(x)=xAb>.Letαi =Aib>∈Efor 1≤i ≤n,then we haveα(x)=Pn

i=1xiαi. Define matrices C(i) ∈ Fn×nby (C(i))>j1iθj)for 1 ≤i,j ≤n. It is easy to check thatC(i) satisfiesbC(i)ibfor 1≤i ≤ n, which indicatesαm(x) =Pn

i=1xiC(i).Similarly, we define matricesD(i) ∈Fn×nfor 1≤i≤nand they satisfyβm(x)= Pn

i=1xiD(i).Therefore, the explicit form ofFis F:Fn 3x7→*

, x·*

, Xn

i=1

C(i)xi+ -

, x·* ,

Xn

i=1

D(i)xi+ - + -

∈F2n. –Encryption

Given a public keyPand a plaintextz∈Fn, its ciphertext is c=P(z)∈F2n−a.

Decryption

Given the private key{A,B,S,T}and a ciphertextc∈F2n−a, decryption process is to find the plaintextz∈ Fnsuch that P(z) = c. First, we need to guess the value v from Fa for the deleted polynomials by πa. Second, we compute Fn×Fn 3(d1,d2)=d=T1(c,v).Next we invert the map Fby solving the linear system

d2αm(x)=d1βm(x), (4) and obtain a solutionh∈Fn.Finally, ifF(h)=(d1,d2),then we obtain the plaintext byz=S1(h).The loop of guessing the valuevfromFa terminates when the correct plaintextz is found. The details are shown in Algorithm 1.

Regrading the complexity of this decryption algorithm,

we have the following proposition:

Proposition 1. The number of field operations involved in the decryption algorithm for EFCpis

8n4+9n3+1 2n2−7

2n+2(a−1) 26 3 n3+21

2 n2−31 6 n

! . (5)

Algorithm 1:Decryption algorithm for EFCp[21]

Input :A ciphertextcF2n−a,

The private keyA,B,SFn×nandT F22n. Output:The plaintextzFn.

1 Si nvS−1,Ti nvT−1

2 Generateαm(x), βm(x)andFfromA,B

3 for vFado

4 Fn×Fn3(d1,d2)=d(c,v)·Ti nv

5 construct a linear systemd2·αm(x)d2·βm(x)=0

6 x=hsolved2·αm(x)d2·βm(x)=0

7 ifF(h)=d then

8 break

9 Fn 3zh·Si nv 10 Return z.

Proof. Let [+]F denotes F-addition, and [×]F denotes F- multiplication ofF.We recall the complexity of Gaussian Elimination, and multiplication in E. For an input ofn × m (m ≥ n) matrix overF,Gaussian Elimination requires

n−1

P

i=1(n−i)(m−i)[+]Fandn−P1

i=1(n−i)(m−i)+n−P1

i=1(n−i)[×]F. For any a,b ∈E,that are represented in basis{θ1, . . . , θn}, the multiplicationa·brequires(n−1)(2n−1)[+]Fand 2n2 [×]F.

Now we analyze the complexity based on the Algo- rithm 1.

In step 1, computingT1requiresn(20n2312n+1)[+]Fand

2n(10n23n−1)

3 [×]F, and computingS1 requires n(5n266n+1) [+]F and n(5n263n−2) [×]F. In step 2, to obtainαm(x), we need to computeα(x)=Pn

i=1xiαi, whereαi = Aib>(1 ≤ i≤n), and this requiresn(n−1)[+]Fandn2[×]F. Then we need to computeαibfor 1≤i≤n,which indicatesn2[×]E, and it requiresn2(n−1)(2n−1)[+]Fand 2n4 [×]F. Same complexity holds for obtaining βm(x).

From step 3 to step 8, we enter a loop of size 2a. In step 4,(c,v)·Tinvrequires 2n(2n−1)[+]Fand 4n2[×]F. In step 5, constructing the linear system needs 2n3 −n2 [+]F and 2n3[×]F. In step 6, solving the linear system with Gaussian Elimination requires n(n−1)(62n+5) [+]F and n(n2+33n−1) [×]F. In step 7, verifying whetherF(h)=dholds costs 2n(n2−1) [+]F and 2n2(n+1) [×]F. The loop terminates in step 8 after an average of 2(a−1)times. Therefore, the loop costs 2(a−1)(133n3+72n2296n)[+]Fand 2(a−1)(133n3+7n213n) [×]Fin average.

In step 9, computingh·Sinvneedsn(n−1) [+]Fand n2[×]F.

(4)

Since step 1, step 2 and step 9 together costs 4n4 +

32n352n[+]Fand 4n4+152 n3+12n2−n[×]F, the total cost of this decryption algorithm is Eq. (5). This completes the

proof.

3.3 Construction of the EFCpt2Scheme –Key Generation

Choose the secret keyA,BandS,Tas in EFCp.The central mapFfor EFCpt2 is

F:Fn→F2n :x7→

m(x)+ϕ1(β(x)3), xβm(x)+ϕ1(α(x)3)

. (6)

The public key for EFCpt2isP=(p1, . . . ,p2n−a)=πa◦T◦ F◦S : Fn → F2n−a. The private key consists of A,Band S,T.

We take a look at the explicit structure of (6) usingb= (θ1, . . . , θn).Sincex·αm(x)andβm(x)can be represented in the same way as in Sect. 3.2, we show the explicit form ofϕ1(α(x))andϕ1(β(x))here. LetΘ=b>·b ∈ En×n and ϕ1(Θ) = (Θ1, . . . ,Θn) ∈ (Fn×n)n. Define a matrix

∆∈Fn×n by itsi-th row∆i1i2).Thenα(x)3 can be represented as

α(x)3 =α(x)2·α(x)=xA

θ21,· · ·, θ2n>

·b(xA)>

=xA∆Θ(xA)>=

n

X

i=1

θi·xA∆Θi(xA)>.

β(x)3can be represented in the same way. Therefore, ϕ1(α(x)3)=(xA∆Θ1(xA)>, . . . ,xA∆Θn(xA)>), ϕ1(β(x)3)=(xB∆Θ1(xB)>, . . . ,xB∆Θn(xB)>).

Encryption

Given a public keyPand a plaintextz∈Fn,the ciphertext isc=P(z)∈F2n−a.

Decryption

We take a look at how to invert the central mapF.It requires solving the systemF(x)=d∈F2n, i.e.

x·αm(x)+ϕ1(β(x)3)=d1,x·βm(x)+ϕ1(α(x)3)=d2, (7) whered =(d1,d2) ∈ Fn×Fn. By definition ofαm(x) in Sect. 3.1, the equationϕ(x·αm(x))=ϕ(x)α(x)holds. Thus (7) is equivalent to

ϕ(x)α(x)+β(x)3 =ϕ(d1), ϕ(x)β(x)+α(x)3=ϕ(d2), from which the following system can be constructed:

d2αm(x)−d1βm(x)=ϕ1(α(x)4−β(x)4). (8)

Define a matrixΛ∈ Fn×n byΛi14i)for 1≤i ≤n, and apply it to (8). Then (8) turns into

d2αm(x)−d1βm(x)=x(A−B)Λ, (9) which is a linear system inx. The rest of the procedures of decryption is similar to that of EFCp, details are shown in Algorithm 2.

Algorithm 2:Decryption algorithm for EFCpt2[21]

Input : b=1, . . ., θn)En,a ciphertextcF2n−a, the private keyA,B,SFn×nandT F22n. Output:The plaintextzFn.

1 Si nvS1,Ti nvT1

2 DefineΛFn×nbyΛi=ϕ−1i4)

3 Generateαm(x), βm(x)andFfromA,B

4 for vFado

5 Fn×Fn3(d1,d2)=d(c,v)·Ti nv

6 construct a linear systemd2αm(x)−d1βm(x)=x(AB)Λ

7 x=hsolved2αm(x)d1βm(x)=x(AB)Λ

8 ifF(h)=d then

9 break

10 Fn 3zh·Si nv 11 Return z.

We analyze the complexity of the decryption algorithm for EFCpt2 adopting the same approach as in the proof of Proposition 1, and obtain the number of field operations involved in the decryption algorithm for EFCpt2as

8n4+17n3−11 2 n2−3

2n+2(a−1) 32 3 n3+19

2 n2−31 6 n

! . (10)

4. Our Proposed Efficient Decryption Algorithms for EFCpand EFC

pt2

In this section, we introduce our new decryption algorithms for EFCpand EFCpt2.

4.1 New Decryption Algorithm for EFCp

The new decryption algorithm is derived from linearization equations, which represent a relation between the plaintext and ciphertext.

We begin with deriving linearization equations related to the central map of EFCp. Recall that the linear system (4) for inverting its central map is

d2αm(x)−d1βm(x)=0, which can also be written as

α(x)ϕ(d2)−β(x)ϕ(d1)=xAb>·bd>2xBb>·bd>1 =0. LetΘ=b>·band(Θ1, . . . ,Θn)=ϕ1(Θ),then from this equation, we can obtain linearization equations correspond- ing to the central map of EFCpas follows:

(5)

x(BΘi||AΘi)d>=0, (1≤i≤n), (11) whered=(d1,d2).

Subsequently, we apply S andT to the linearization equation related to the central map. Let c ∈ F2n be a ci- phertext of EFCp without minus modifier, thenc=T(d).

Apply the linear mapsSandTto Eq. (11), and we obtain the linearization equations between a plaintextxandcas

xS(BΘi||AΘi)(cT1)>=0. (12) For a ciphertextcof EFCpwithout minus modifier, its cor- responding plaintext can be found by solving Eq. (12).

Next we show how to represent Eq. (12) into one simple equation. Let N(i) = T1(SBΘi||S AΘi)> ∈ F2n×n, and define matricesU(j) byUi(j) = Nj(i) for 1 ≤ j ≤ 2n and 1≤i≤n.Then Eq. (12) turns into one simple equation

(c1U(1)+· · ·+c2nU(2n)x>=0. (13) This equation indicates that as long as we have the setΨ= (U(1), . . . ,U(2n)),the decryption process of EFCp without minus modifier can be reduced into the computation of the right kernel space ofc1U(1)+. . .+c2nU(2n).

Since in our new decryption algorithm, only the ci- phertextcandU(1), . . . ,U(2n) are necessary, we intend to saveΨ=(U(1), . . . ,U(2n))as the new private key for EFCp, which is 2n/7 times larger than the original private key.

Now we explain our proposed decryption algorithm for EFCp.First, we compute L = P2n−a

i=1 ciU(i). Second, we guess the values for the deleted polynomials byπafromFa, and denote these values byv=(v1,· · ·, va).Next, we com- pute the right kernel spaceker=ker(L+Pa

i=1viU(2n−a+i)).

Finally, we check if there existszkersuch thatP(z)=c holds. If so, thenzis the plaintext, otherwise, go back to the guessing step and start over. The details of the procedures of generating Ψ and the decryption process are shown in Algorithm 3.

Remark 1. The iterative computation complexity of Pa

i=1viU(2n−a+i) can be further reduced. Assume we have v(1),v(2)∈Fa2,and we need to compute

L(1)=

a

X

i=1

vi(1)U(2n−a+i), L(2)=

a

X

i=1

vi(2)U(2n−a+i).

If we know the difference betweenv(1)andv(2),we will be able to computeL(2)fromL(1)by subtracting a few matrices.

Since Gray code has the property that two successive binary numeral values differ in only one bit, we use Gray code to representFa2.Assumev(1)andv(2)are two successive codes, and they differ atj-th bit, then we can computeL(2)by

L(2)=L(1)+U(2n−a+j).

Therefore, this technique reduces the number of operations of matrix addition involved in recursive computation of Pa

i=1viU(2n−a+i).We consider this technique when we eval- uate the complexity of our new decryption.

Algorithm 3:New decryption algorithm for EFCp

Input : b=1,· · ·, θn), the private keyA,B,SFn×nand T F22n,a ciphertextcF2n−a.

Output:The plaintextzFns.t.P(z)=c.

1 Θb>·b, 1, . . .,Θn)ϕ1(Θ)

2 fori1tondo

3 N(i)T−1(SBΘi| |S AΘi)>F2n×n

4 forj1to2nandi1tondo

5 Ui(j)N(i)j

6 LP2n−a i=1 ciU(i)

7 for v=(v1, . . ., va)Fado

8 HL+Pa

i=1viU(2n−a+i)

9 kerRightKer(H)

10 for zker do

11 ifP(z)=c then

12 Return z

13 break

Regarding the complexity of the new decryption algo- rithm for EFCp,we have the following proposition.

Proposition 2. The number of field operations involved in the new decryption for EFCpis

2(a−1) 14

3 n3+(11

2 −2a)n2−(a+19 6 )n+a

!

+4n3−(2a+1)n2

(14)

Proof. Let [+]F denoteF-addition, and [×]F denote theF- multiplication. We analyze the complexity based on Algo- rithm 3. Note that we analyze the complexity starting from step 6 since we saveΨas the new private key.

In step 6,P2n−a

i=1 ciU(i)requiresn2(2n−a−1)[+]Fand n2(2n−a)[×]F.

From step 7 to 13, we enter a loop of size 2a.In step 8, L +Pa

i=1viU(2n−a+i) costs 2n2 [+]F using Gray code technique in Remark 1. In step 9, finding the right ker- nel of Hrequires n(n−1)(2n+5)6 [+]Fand n(n2+3n−3 1) [×]F. In step 11, verifying the solution requires (2n−a)(n2−1) [+]F and(2n −a)(n2 +n) [×]F. In step 13, the loop ter- minates after an average of 2(a−1) times. Therefore, the loop requires 2(a−1)(73n3+(52 −a)n2176n+a)[+]Fand 2(a−1)(73n3+(3−a)n2−(a+13)n)[×]Fin average.

Therefore, the total cost of this decryption algorithm is

Eq. (14). This completes the proof.

4.2 New Decryption Algorithm for EFCpt2

Same as EFCp, the new decryption algorithm for EFCpt2

also derives from linearization equations.

We first consider linearization equations related to the central map of EFCpt2. Recall in Sect. 3.3, inverting the central map of EFCpt2requires solving the linear system

(6)

d2αm(x)−d1βm(x)=x(A−B)Λ, (15) whereΛ∈Fn×ni14i)for 1≤i≤n.This equation can also be written as

ϕ(d2)α(x)−ϕ(d1)β(x)=ϕ(x(A−B)Λ). (16) Applyingϕ1on both sides of Eq. (16) gives us

x(BΘi||AΘi)d>−(x(A−B)Λ)i=0, (1≤i≤n), (17) which are the linearization equations related to the central map of EFCpt2.

Next we applyS andT to the linearization equations we obtained. Letc∈F2nbe a ciphertext of EFCpt2 without minus modifier, thenc=T(d).Applying linear mapsSand T on (17) gives us the linearization equations of a plaintext xand a ciphertextc:

x(SBΘi||S AΘi)(cT1)>−(xS(A−B)Λ)i =0. (18) Next we show how to represent Eq. (18) into one sim- ple equation. Let M = S(A− B)Λ ∈ Fn×n, N(i) = T1(SBΘi||S AΘi)> ∈ F2n×n, and define matricesU(j) by Ui(j)=Nj(i)for 1≤ j ≤2nand 1≤i ≤n.Then (18) can be rearranged into

(c1U(1)+· · ·+c2nU(2n)−M>x>=0. (19) This equation indicates that the decryption of EFCpt2 with- out minus modifier can be reduced to the computation of the right kernel space ofc1U(1)+· · ·+c2nU(2n)−M>.

Similar to EFCp,we saveΨ=(U(1), . . . ,U(2n),M)as the new private key for EFCpt2,which is(2n+1)/7 times larger than the original private key. New decryption algo- rithm for EFCpt2 works similarly to that of EFCp,detailed procedures are shown in Algorithm 4.

We can analyze the complexity of the decryption algo- rithm for EFCpt2using the same approach as in the proof of Proposition 2. The number of field operations involved in the new decryption algorithm for EFCpt2is

2(a−1) 14

3 n3+(11

2 −2a)n2−(a+19 6 )n+a

!

+4n3−2an2.

(20)

4.3 Implementation

We verify the effectiveness of our decryption method through implementation operated on a 2.10 GHz Intel® Xero® Gold 6130 CPU with Magma V2.23-10 under originally claimed 80-bit security parameters, see[21], and then compare the results with complexity given in (5), (10), (14) and (20). The implementation results are given in Table 1.

From Table 1, we know, under 80-bit security parameter given in[21], theoretically our new decryption algorithms are 2.24 times faster for EFCpand 3.58 times faster for EFCpt2

Algorithm 4:New decryption algorithm for EFCpt2

Input : b=1,· · ·, θn), the private keyA,B,SFn×nand T F2n×2n.

Output:The plaintextzFns.t.P(z)=c.

1 Θb>·b, 1, . . .,Θn)ϕ−1(Θ)

2 DefineΛFn×n,whereΛi=ϕ−14i)

3 MS(AB)Λ

4 fori1tondo

5 N(i)T1(SBΘi| |S AΘi)>F2n×n

6 forj1to2nandi1tondo

7 Ui(j)N(i)j

8 LP2n−a

i=1 ciU(i)M>

9 for v=(v1, . . ., va)Fado

10 HL+Pa

i=1viU(2n−a+i);

11 kerRightKer(H)

12 for zker do

13 ifP(z)=c then

14 Return z

15 break

Table 1 Timing comparison between old EFCp,EFCp t2 with new EFCp,EFCp t2under 80-bit security parameter given in[21], [+,×] repre- sents the number of involved field operations.

Scheme(n,a) KeyGen.[s] Enc.[s] Dec.[s] [+,×]F Old EFCp(83,10) 0.022 0.00023 0.116 2.96×109

EFCp t2(83,8) 0.023 0.00023 0.028 1.18×109 New EFCp(83,10) 0.022 0.00023 0.013 1.32×109 EFCp t2(83,8) 0.023 0.00023 0.003 0.33×109

than the original decryption algorithms, and the speed-up obtained in our implementation are 8.92 and 9.33 times for EFCp and EFCpt2, respectively.

Since our proposed decryption algorithms do not alter public keys for EFCp and EFCpt2, their security does not change. As for the private key, to match with our proposed decryption algorithms, we use new private keys, which is 2n/7 times larger for EFCp, and(2n+1)/7 times larger for EFCpt2compared to the original private keys.

5. Hybrid Attack Against EFCpand EFC

pt2

Because of the minus modifier, the most efficient attack against EFCp and EFCpt2 is expected to be the algebraic attack, see Sect. 2.3, which computes the Gröbner basis of the ideal generated by the public key and the field equations.

Normally we use F4/F5 [10], [11] algorithms, which has complexity given in Eq. (3). In[21], upper bounds for the degree of regularity of EFCpand EFCpt2 are given:

Note that only 80-bit security level parameters are proposed in[21].

(7)

dr eg≤ r

2 +2, r =( 2+a, EFCp,

4+a, EFCpt2. (21) And[21]also claimed the degree of regularity of EFCpand EFCpt2 lie close to these upper bounds. Under the assump- tion that these upper bounds are identical to the degree of regularity of EFCpand EFCpt2, 80-bit and 128-bit security parameters are estimated in[21]and[23], respectively.

In this section, we apply hybrid algebraic attack on EFCp and EFCpt2 to learn how parametersn anda affect their degree of regularity. All of our experiments are con- ducted on a 2.10 GHz Intel® Xero® Gold 6130 Processor with Magma V2.23-10, where F4 algorithm is implemented.

5.1 Notations

Notations used in this section are as follows:

• dr eg: degree of regularity (see Sect. 2.3).

• stepdeg: step degree, a sequence of degrees of polyno- mials appeared in all the steps of F4 algorithm.

• sdeg : solving degree, the degree of the most time- consuming step of F4 algorithm.

• e: the number of variables evaluated in hybrid algebraic attack (see Sect. 2.3).

• time/gb : average time cost of one round of F4 algorithm in hybrid algebraic attack.

• total time (est.) : estimated time cost of hybrid al- gebraic attack, and it holds the following equation:

total time (est.)=2e−1∗(time/gb).

• total time : average time cost of hybrid algebraic attack.

• s,h,d, y : second, hour, day, year.

5.2 Hybrid Attack on EFCpand Update Secure Parameters For EFCp,we first verify if the claimed 80-bit security pa- rameter in [21] indeed has 80-bit security against hybrid attack. Let e be a positive integer. We guess values for variables(x1, . . . ,xe)fromFe(|Fe| =2e), and evaluate the systemG, see (2), with those guessing values, then perform algebraic attack on the obtained system. The experiment terminates when a solution can be found. The results are shown in Table 2. From this table, we know whene=16, both ofdr egandsr egare 4, and the complexity of the hybrid attack is around 2168316+41

4

28316

2

≈267by formula (3).

Therefore, the originally proposed 80-bit security parameter fails in achieving its claimed security level.

To update secure parameters for EFCp,we need to find a lower bound for the degree of regularity for EFCp.The upper bound given in (21) is given following analysis on HFE based schemes[5],[6],[8],[9], and it is deduced according to the fact that thedr egof a subsystem is equal to or larger than the full polynomial system. Following this approach, we know thedr eg of an EFCpsystem witha−1 polynomial deleted is equal to or smaller than that of an EFCp system witha polynomial deleted. It means a lower bound for dr eg of

Table 2 Hybrid algebraic attack on EFCp(83,10). e stepd eg dr eg sd eg time/gb total time (est.)

15 (2,3,4,4,5,...) 4 5

16 (2,3,4,4,4,4) 4 4 2.618d 235.065y

17 (2,3,4,4,4) 4 4 1.896d 340.418y

18 (2,3,4,4,3) 4 4 23.658h 353.983y

19 (2,3,4,4) 4 4 4.900h 146.647y

20 (2,3,4,4) 4 4 4.016h 240.370y

21 (2,3,4,4) 4 4 3.132h 374.864y

Table 3 Behave ofdr egof EFCp(n=41,a)withe=1.

a stepd eg dr eg sd eg total time 10 (2,3,4,4,5,2,3,4,5,6,7) 4 5 2.181h

11 (2,3,4,5,2,3,4,5,6,7) 5 5 2.550h

12 (2,3,4,5,4,2,3,4,5,6,7) 5 5 2.707h

13 (2,3,4,5,5,2,3,4,6,7) 5 5 6.204h

14 (2,3,4,5,5,2,3,4,5,6,7) 5 5 6.995h 15 (2,3,4,5,5,2,3,4,5,6,7) 5 5 7.911h 16 (2,3,4,5,5,2,3,4,5,6,7) 5 5 8.713h 17 (2,3,4,5,5,2,3,4,5,6,7) 5 5 9.305h

18 (2,3,4,5,6,...) 6 6

EFCp can be obtained as long as one linear combination of the polynomials deleted by minus modifier can be recovered.

However, this indicates the total break of EFCp, and it is a very difficult task. Therefore, we experiment with small parameters to find an experimental lower bound. Parameter n is fixed to be 41, then we experiment with parameter a increasing. The results are shown in Table 3, from which we know there are two turning points for the degree of regularity.

One of them is when a rises to 11 from 10, the degree of regularity turns into 5, the other one is whena rises from 17 to 18, the degree of regularity turns into 6. We regard them as lower bounds to update new parameters in Sect. 5.4.

Since thedr egof an EFCp system with larger parameter is equal to or larger than the dr eg of an EFCp system with smaller parameter, updateding new parameters using those experimental lower bounds should be enough.

5.3 Hybrid Attack on EFCpt2

We apply hybrid attack on EFCpt2in the same approach as EFCp,the results are shown in Table 4. This table shows hybrid attack cannot work any better than algebraic attack.

Therefore, the originally proposed 80-bit security parameter set for EFCpt2remains secure against hybrid attack. Table 4 also shows the variation of dr egof EFCpt2 is more drastic compared to EFCp, which is also the reason why we were not able to perform hybrid attack with small parameters. Even withn =40,a =8,which is expected to have dr eg ≤ 8,it takes significantly long time to perform F4 algorithm that we were not able to get the results. We therefore use bound given in (21) to estimate 128-bit security level parameter.

From Table 4, we can see that there is a tendency of hy- brid attack not outperforming direct attack for EFCpt2. Be- cause of this, the estimation of secure parameters for EFCpt2

Table 1 Timing comparison between old EFC − p , EFC − p t 2 with new EFC − p , EFC − p t 2 under 80-bit security parameter given in [21], [+ , × ]  repre-sents the number of involved field operations † .
Table 2 Hybrid algebraic attack on EFC − p ( 83 , 10 ) . e step d eg d r eg s d eg time/gb total time (est.)
Table 5 Updated parameters sets.

参照

関連したドキュメント

In order to compute the Taylor tower of Hochschild homology it was natural to first consider the Taylor tower of the forgetful functor from simplicial commutative augmented

An easy-to-use procedure is presented for improving the ε-constraint method for computing the efficient frontier of the portfolio selection problem endowed with additional cardinality

13 proposed a hybrid multiobjective evolutionary algorithm HMOEA that incorporates various heuristics for local exploitation in the evolutionary search and the concept of

5 used an improved version of particle swarm optimization algorithm in order to solve the economic emissions load dispatch problem for a test system of 6 power generators, for

It is well known that an elliptic curve over a finite field has a group structure which is the product of at most two cyclic groups.. Here L k is the kth Lucas number and F k is the

In this paper, motivated by Yamada’s hybrid steepest-descent and Lehdili and Moudafi’s algorithms, a generalized hybrid steepest-descent algorithm for computing the solutions of

Nonlinear systems of the form 1.1 arise in many applications such as the discrete models of steady-state equations of reaction–diffusion equations see 1–6, the discrete analogue of

For performance comparison of PSO-based hybrid search algorithm, that is, PSO and noising-method-based local search, using proposed encoding/decoding technique with those reported