- Research
- Open Access
A simple lattice-based PKE scheme
- Limin Zhou^{1}Email author,
- Zhengming Hu^{1} and
- Fengju Lv^{2}
- Received: 26 April 2016
- Accepted: 11 September 2016
- Published: 21 September 2016
Abstract
In this paper, we first present a new lattice-based PKE scheme on SIS, proving that it achieves CPA-security under DBi-ISIS assumption. Compared to some lattice-based schemes, ours has some advantages and is quite efficient as well as great simplicity. Similarly, we give a lattice-based PKE with multiple bits which is CPA secure under DBi-ISIS assumption. We hope that our contributions help to pave the way for the development of lattice-based PKEs in the future work.
Background
Nowadays, with the development of technologies, such as cloud computing and quantum information technology, quantum computing power becomes stronger and stronger. As a result, traditional cryptosystems, e.g number-theoretic cryptosystems, could be almost broken by quantum computers. To handle this case, lattice has come up as a powerful technique to resist quantum computers and been gradually used to construct cryptography primitives which can be against quantum attack. Maybe lattice-based cryptography will be a replacement to number-theoretic cryptography in cryptography field.
Over the last decades, lattice has emerged as a very attractive foundation for cryptography. The appeal of lattice-based primitives stems from the fact that their security can often be based on worst-case hard problems such as shortest vector problem (SVP) (Micciancio 2011; Regev 2004), closest vector problem (CVP) (Micciancio 2011; Regev 2004), approximate the shortest independent vectors problem SIVP (one variant of SVP) (Gentry et al. 2008; Micciancio 2011; Regev 2004) and the SVP GapSVP (in its decision version) (Gentry et al. 2008; Micciancio 2011; Regev 2004) to within small polynomial (in the dimension n) factors, because they remain secure even against quantum computers.
On lattice, there were two basic average-case problems (Micciancio and Regev 2007) that had been shown to enjoy worst-case hardness guarantee: the learning with error (LWE) problem (Regev 2005, 2009; Applebaum et al. 2009) and the small integer solution (SIS) problem (Micciancio and Regev 2007). More recently, Regev (2005) defined the LWE problem and proved that it enjoyed similar worst-case hardness under a quantum reduction. The latter was first proposed by Ajtai (1996), who showed that it was at least as hard as approximating several worst-case lattice problems, such as the decision version of the SVP, known as GapSVP (Gentry et al. 2008) to within a polynomial factor in the lattice dimension. The SIS problem (Micciancio and Regev 2007) may be seen as a variant of subset-sum over a particular additive group. Virtually, a great deal of recent lattice-based cryptographic schemes were based directly upon the above two natural average-case problems (Micciancio and Regev 2007), such as Regev (2005), Gentry et al. (2008), Regev (2009), Applebaum et al. (2009), Lindner and Peikert (2011), Orsini and Smart (2015), Hiromasa et al. (2015), Lyubashevsky and Wichs (2015), Gentry et al. (2010), Peikert et al. (2008), Peikert (2009), Garg et al. (2013).
Compared with traditional theory-based cryptosystems, such as RSA, ECC, the lattice-based cryptographic systems mainly referred to only simple linear operation, matrix-vector multiplication, modular addition, modular multiplication of small integers. Such simple algebraic structure determined the small computational complexity, small computation operation, higher operating speed that could effectively improve data encryption and decryption speed. Such advantages made the lattice-based cryptosystems be famous. On the other hand, lattice-based cryptosystems had some disadvantages. For example, they occupied large space size, such as long public key, long secret key, large ciphertext expansion, et al, which greatly limited their practical applications. However, these defects did not limit the development of the lattice-based cryptosystems. Up to date, there existed a lot of lattice-based cryptographic schemes: Regev (2005, 2009), Gentry et al. (2008), Applebaum et al. (2009), Lindner and Peikert (2011), Orsini and Smart (2015), Hiromasa et al. (2015), Lyubashevsky and Wichs (2015), Gentry et al. (2010), Peikert et al. (2008), Peikert (2009), Garg et al. (2013) etc. In addition, in 2012, Ding and Lin (2012) first constructed a lattice-based key exchange (KE) from LWE problem and first connected KE with lattice together. Li et al. (2013) proposed two KEs from the LWE problem and the SIS problem. The works of Albrecht et al. (2016), Cheon et al. (2016) and Ducas et al. (2014) presented some problems over NTRU lattice (Hoffstein et al. 1998). Zhang et al. (2015) first proposed a KE from ideal lattice. The works of Becker et al. (2016) and Laarhoven (2015) proposed some algorithms to solve hard problems, e.g. SVP, which were new breakthrough on lattice. Alkim et al. (2015) and Bos et al. (2015) proposed lattice-based KEs. The works of Lindner and Peikert (2011) and Poppelmann and Guneysu (2013) proposed key encryption without key encryption mechanism on the LWE problem; but Peikert (2014) proposed lattice-based key encryption with key encryption mechanism. In 2014, Wang et al. (2014) first constructed a lattice-based KE relied on Bi-ISIS problem; et al.
Public-key encryption (PKE) was one of the most fundamental primitives in cryptography. The first security notion for PKE was indistinguishability of encryptions under chosen-plaintext attacks (indistinguishability against chosen-plaintext attacks) (IND-CPA or CPA) (Stinson 2005; Katz and Lindell 2007), also known as semantic security (Stinson 2005; Katz and Lindell 2007). Although CPA security was not stronger than CCA security (Stinson 2005; Katz and Lindell 2007), the research on the cryptosystems which were still CPA secure was significant. For example, it could become a fundamental of the cryptosystems which were CCA-secure (Stinson 2005; Katz and Lindell 2007). In recent years, construction of the lattice-based PKEs had attracted a lot of attention, too. One of the main fields of interest in cryptography was the design and analysis of PKE schemes that were CPA security. However, there were only a handful of known lattice-based PKEs that enjoyed CPA security (Stinson 2005; Katz and Lindell 2007): Regev et al. proposed a lattice-based PKE (Regev 2005) which was CPA-secure; In 2008 and in 2009, Peikert et al. proposed two lattice-based PKEs which were against CPA (Peikert et al. 2008), respectively; Gentry et al. proposed a “dual” scheme (Gentry et al. 2008) which was CPA-secure; Gentry et al. presented a BGN-type scheme (Gentry et al. 2010) enjoying CPA security; Lindner and Peikert (2011) proposed a lattice-based PKE with better key size. These above lattice-based PKEs achieved CPA security.
In 2008, Gentry et al. (2008) first presented the definition of Preimage Sampleable Functions, gave the specific structure of the general Inhomogeneous Small Solution (ISIS) hard problem and showed that to solve the average-case ISIS problem (Micciancio and Regev 2007) was at least as hard as to quantumly solve the worst-case hard approximation SIVP problems (Gentry et al. 2008; Micciancio 2011). There were a few of PKE schemes based on SIS (Gentry et al. 2008; Lyubashevsky and Wichs 2015).
In 2014, Wang et al. (2014) first proposed Bilateral Inhomogeneous small integer solution problem (Bi-ISIS) on lattice, computational Bi-ISIS (CBi-ISIS) assumption and decisional Bi-ISIS (DBi-ISIS) assumption. Meanwhile, they constructed a lattice-based KE which relied on DBi-ISIS problem in case of worst-case hardness of lattice problem. But until now, there is no lattice-based PKE on Bi-ISIS (Wang et al. 2014). To deal with the problem, we build a PKE on previous works of Wang et al. (2014) and Regev (2005). We take the first step in this direction by constructing a lattice-based PKE on Bi-ISIS (Wang et al. 2014) and proving its CPA security (Stinson 2005; Katz and Lindell 2007). In addition, we give an extended structure PKE of matrix form with multiple bits that is CPA secure (Stinson 2005; Katz and Lindell 2007).
This paper is organized as follows. “Preliminaries” section contains a few preliminaries necessary for our constructions such as definitions and properties related to lattice and PKE schemes. In “A lattice-based PKE scheme” section, we determine our lattice-based PKEs on DBi-ISIS problem, prove its security against CPA, draw detailed comparisons with related work in the literature and gives a PKE of matrix form which is CPA-secure. In “Conclusion” section, we state conclusion and open problems. Acknowledgements section gives the acknowledgement.
Preliminaries
Notations Assume that n is the the main security parameter in this paper. Bold lower-case letters denote vectors in the column form, e.g. x. Bold capital letters denote matrix, e.g. A, and the transposition of A is \({\mathbf{A}}^t\). The Euclidean (\(l_2\)) norm for vectors, denoted by \(\parallel {\mathbf{x}}\parallel_2=\sqrt{\sum_i {x_i^2}}\), is used. That choosing elements from the set X uniformly at random is denoted by \(x_1,\ldots ,x_k\leftarrow_R X\).
Hard random integer lattice
Here mainly describe some definitions and properties on lattice (Regev 2005, 2009).
Definition 1
Definition 2
The most well-known basic hard computational lattice problems are SVP (Gentry et al. 2008; Micciancio 2011) and CVP (Gentry et al. 2008; Micciancio 2011). And the worst-case problems underlying ocryptosystem are to approximate SIVP or GapSVP (Gentry et al. 2008; Micciancio 2011).
Definition 3
(SIVP) (Micciancio 2011) Given a lattice basis \(B\in Z^{n\times n}\), find n linearly independent lattice vectors \(S=[s_1, \ldots, s_n ]\) (where \(s_i\in {\mathcal{L}}(B)\) for all i) minimizing the quantity \(\Vert S\Vert = max_i \Vert s_i \Vert \).
The approximation variants of these problems: \(GapSVP_\gamma \)(Gentry et al. 2008) and \(SIVP_\gamma \) (Gentry et al. 2008), which are extension of SVP [\(SVP_\gamma \) (Gentry et al. 2008)], are two standard (worst-case hard) approximation problems on lattices, where \(\gamma =\gamma (n)\) denotes the approximation factor as a function of the dimension.
Definition 4
(SVP (Decision Version): \(GapSVP_\gamma \)) (Gentry et al. 2008) An input to \(GapSVP_\gamma \) is basis B of a full-rank \(n-\)demensional lattice. It is a YES instance if \(\lambda_1({\mathcal{L}}(B))\le 1\), and is a NO instance if \(\lambda_1({\mathcal{L}}(B))>\gamma (n)\). \(\lambda_1(\Lambda )\) can be seen in Micciancio and Regev (2007).
Definition 5
(\({SIVP}_\gamma \)) (Gentry et al. 2008) An input to \({SIVP}_\gamma \) is an n-dimensional lattice basis B. The goal is to output a set of n linearly independent lattice vectors \(S\subset {\mathcal{L}}(B)\), \(S=\{s_1,\ldots ,s_n\}\), such as \(\Vert S\Vert \le \gamma (n)\cdot \lambda_n({\mathcal{L}}(B))\), \(\Vert S\Vert =max_i\Vert s_i\Vert \).
Hard average-case problems: the small integer solution (SIS)
The hard-on-average problem first proposed by Ajtai (1996) was the SIS problem (Micciancio and Regev 2007) and its variant problem was the inhomogeneous SIS problem (ISIS) (Micciancio and Regev 2007). This was syntactically equivalent to finding some short nonzero vectors in \(\Lambda^\bot (A)\) (Regev 2005; Gentry et al. 2008).
Definition 6
(SIS (\(SIS_{q,m,\beta }\))) (Micciancio and Regev 2007): given an integer q, a uniformly random \(A\in Z_q^{n\times m}\), and a real \(\beta \), find a nonzero integer vector \(e\in Z^m\backslash \{0\}\) such that \(Ae=0\mod q\) and \(\Vert e\Vert \le \beta \).
Definition 7
(ISIS (\(ISIS_{q,m,\beta }\))) (Micciancio and Regev 2007): given an integer q, a uniformly random matrix \(A\in Z_q^{n\times m}\), a uniformly random \(u\in Z_q^n\), and a real \(\beta \), find an integer vector \(e\in Z^m\backslash \{0\}\) such that \(Ae = u \mod q\) and \(\Vert e\Vert \le \beta \).
For \(q(n), m(n), \beta (n)\), \(ISIS_{q,m,\beta }\) and \(SIS_{ q,m,\beta }\) are the ensembles over instances \((q(n),A,\beta (n))\). Obviously, if \(u=0 \mod q\), then \(ISIS_{q,m,\beta }\) is \(SIS_{q,m,\beta }\).
The SIS and ISIS problems are only meaningful if they admit valid solutions for the particular choices of \(q, m,\beta \) such as \(\beta \ge \sqrt{m}\) and \(m\ge 2n\log q\) (Gentry et al. 2008).
Micciancio and Regev (2007) showed that \(SIS_{q,m,\beta }\) and \(ISIS_{q,m,\beta }\) were as hard (on the average) as approximating certain worst-case problems on lattices to within small factors (Micciancio and Regev 2007; Gentry et al. 2008).
Wang et al. gave variants of SIS/ISIS problems (Gentry et al. 2008): Bi-SIS/Bi-ISIS (Wang et al. 2014).
Definition 8
If \(u_1=0 \mod q,\,u_2^t=0 \mod q\), Bi-ISIS is the Bi-SIS. \(Bi-SIS_{q,m,\beta }/Bi-ISIS_{q,m,\beta }\) denote the probability ensembles over Bi-SIS/Bi-ISIS instances. Lemma 9 and Proposition 10 (Wang et al. 2014) gave the hardness of \(Bi-SIS_{q,m,\beta }\) and \(Bi-ISIS_{q,m,\beta }\).
Lemma 9
(Wang et al. 2014) The problems \(Bi-SIS_{q,m,\beta }/Bi-ISIS_{q,m,\beta }\) are as hard as the problems \(SIS_{q,m,\beta }/ISIS_{q,m,\beta }\), respectively.
Proposition 10
(Wang et al. 2014) Given any poly-bounded m, \(\beta =poly(n)\), \(q\ge \beta \cdot \omega (\sqrt{n\log n}\)), the \(Bi-SIS_{q,m,\beta }\) and \(Bi-ISIS_{q,m,\beta }\) problems in average case are as hard as approximating the problem \(SIVP_\gamma \) and GapSVP, in the worst case within certain \(\gamma =\beta \cdot \tilde{O}(\sqrt{n})\).
Definition 11
If \(e_1,\,e_2\) are unknown, \({Bi-ISIS^*}\) is much harder than Bi-ISIS.
Now we give the formulas of CBi-ISIS/DBi-ISIS problem (Wang et al. 2014). Here we only give definition of DBi-ISIS problem and DBi-ISIS assumption, CBi-ISIS problem and CBi-ISIS assumption were in Wang et al. (2014).
Definition 12
(DBi-ISIS problem) (Wang et al. 2014) Given \((A,A*x,y^t*A,y^tAx)\), the goal is to distinguish \((A,A*x,y^t*A,y^tAx)\) and \((A,A*x,y^t*A,z)\), where \(x,\,y\in D\) and \(z\in {\mathbb{Z}}_q\) are chosen uniformly at random.
Definition 13
A PKE scheme is a tuple of PPT algorithms \(\prod =(KeyGen, Encrypt, Decrypt)\) (or \(\prod = (Gen,Enc,Dec)\)) (Katz and Lindell 2007). Here consider the experiment defined for PKE \(\prod =(Gen,Enc,Dec)\) and an adversary \({\mathcal{A}}\). The CPA indistinguishability experiment is \(PubK_{{\mathcal{A}},\prod }^{cpa}(n)\). \(PubK_{{\mathcal{A}},\prod }^{cpa}(n)=1\) stands for the probability of \({\mathcal{A}}\) attacking experiment \(\prod \) successfully (Katz and Lindell 2007). (In case \(PubK_{{\mathcal{A}},\prod }^{cpa}(n)=1\), say \({\mathcal{A}}\) succeeds (Katz and Lindell 2007)).
Definition 14
Security model for CPA
We briefly review the notion of CPA security (Katz and Lindell 2007) which is defined using the game between a challenger and an adversary \({\mathcal{A}}\). Both are given the security parameter \(1^n\) as input. Specifically, set a PKE experiment \(\prod =(Gen, Enc, Dec)\) and an adversary \({\mathcal{A}}\), the CPA experiment is \(PubK_{{\mathcal{A}},\prod }^{cpa}(n)\) as follows.
Setup The challenger runs \(KeyGen(1^n)\) to get a pair of public and private key (pk, sk). The challenger gives \({\mathcal{A}}\) pk as well as oracle access to \(Enc_{pk}(\cdot )\) and keeps sk private.
Queries phase 1 \({\mathcal{A}}\) can issue encryption queries m where message m must be in the plaintext space associated with pk. The challenger responds with Encrypt(pk, m) (or \(Enc_{pk}(m)\)).
Challenge \({\mathcal{A}}\) outputs two messages \(m_0\) and \(m_1\) of equal length to challenger. The challenger picks \(b\in \{0,1\}\) at random and encrypts \( m_b\) to get challenge ciphertext \(C=Encrypt(m_b,pk)\) (or \(C=Enc_{pk}(m_b)\)). The challenger gives C to \({\mathcal{A}}\).
Queries phase 2 \({\mathcal{A}}\) continues to have access to \(Enc_{pk}(\cdot )\) oracle and issues encryption queries m as in phase 1, with the added constraint that \(m\ne m_b\). The challenger responds with Encrypt(pk, m) (\(Enc_{pk}(m)\)).
Guess \({\mathcal{A}}\) outputs its guess (a bit) \(b'\in \{0,1\}\) of b. If \(b' = b\), the simulator outputs 1 (indicating that \({\mathcal{A}}\) wins the game (experiment)); otherwise the simulator outputs 0. And the output of the experiment is defined to be 1 if \(b' = b\), and 0 otherwise. (In case \(PubK^{cpa}_{{\mathcal{A}},\prod }(n)=1\), we say that \({\mathcal{A}}\) succeeds.)
Define the advantage of \({\mathcal{A}}\) in this game as \(Adv_{{\mathcal{A}},\prod }^{cpa}(n)=|Pr[b'=b]-\frac{1}{2}|\). A PKE is CPA-secure if no PPT adversaries \({\mathcal{A}}\) have non-negligible advantage in this CPA game.
Select parameters
Here the parameters are chosen the same as that in Wang et al. (2014): \(q=O(n^2)\) is prime, \(m=O(n\log n),\,\beta \ge \sqrt{m}\), \(q/\omega (\sqrt{n\log n})> \beta \ge \sqrt{m}\), and \(m \ge 2n\log q\), e.g. for the typical parameters \(q=n^2\), \(m=2n\log q\), and \(\beta =\sqrt{m}=2\sqrt{n\log n}.\)
A lattice-based PKE scheme
In this section, we give a direct construction of a CPA-secure PKE scheme under DBi-ISIS assumption: a simple lattice-based PKE scheme.
The encryption scheme
In this subsection, we present the full description of our PKE scheme.
Setup Let n be the security parameter that is parameterized by three integers, \(m=m(n),\,q=q(n)\), a real number \(\beta =\beta (n)\), \(A\in Z_q^{m\times m}\) with \(rank(A)=n,\,m>n\). All computing is performed in \(Z_q\), e.g. modulus q.
Initialize Given a public matrix \(A\leftarrow_R Z_q^{m\times m}\) with \(rank(A)=n\), a short vector set \(D=\{z\in Z^m:\, \parallel Z\parallel \le \beta \}\). Generate \(V=\{v_1^t,\ldots ,v_n^t\}\) which is linear independent with row vectors of A, \(U=\{u_1,\ldots ,u_n\}\) which is linear independent with column vectors of A, and make V, U public.
KeyGen(\(1^n\)) Let y be the secret key, and \(p_B=y^t*A=y^tA+\sum \nolimits_{i=1}^n v_i^t \mod q\) be the public key (which is used to encrypt the plaintext), where \(y\leftarrow_R D\) such that \(\langle u_i,y\rangle=0 \mod q\).
Decrypt(\(C=(C_1,C_2), y\)) To decrypt the ciphertext \(C=(C_1,C_2)\) with the private key \(y^t\), first calculate \(K=y^t \cdot C_1 \mod q\). Then decrypt finishes as follows \(m=C_2-K \mod q\).
Correctness If the PKE is run honestly, then m can be obtained successfully such that \(<v_i,x>=0 \mod q,\, <u_i,y>=0 \mod q\).
Security under CPA
We utilize the “Game hopping” (Dent 2006) to prove its CPA security of our lattice-based PKE scheme. We reduce its CPA security to the DBi-ISIS assumption. If a PPT adversary \({\mathcal{A}}\) wins the CPA game with non-negligible advantage, then we can construct a simulator that distinguishes a DBi-ISIS tuple from a random tuple with non-negligible advantage.
Theorem 15
If DBi-ISIS problem is hard for a PPT algorithm \({\mathcal{G}}\), then the lattice-based PKE scheme in “The encryption scheme” section has indistinguishable encryptions under CPA. Namely, our PKE shcheme is CPA secure underDBi-ISIS assumption.
Proof
Suppose there exists an adversary \({\mathcal{A}}\) (or an algorithm) to win the CPA game, we build a simulator (an algorithm), \({\mathcal{S}}\), that has non-negligible advantage in solving DBi-ISIS problem.
Although the receiver cannot calculate the plaintext m from \(\tilde{\prod }\), \(PubK_{{\mathcal{A}},\tilde{\prod }}^{cpa}(n)\) is still well-defined since the experiment depends only on \(KeyGen(\cdot )\), \(encrypt(\cdot )\).
\({\mathcal{S}}\) takes \(Z_q,q,A,C_1,C_2,C_3\) as input.
Setup The adversary \({\mathcal{A}}\) is given the public key \(A,\, p_B=y^t*A=y^tA+\sum \nolimits_{i=1}^n v_i^t \mod q\) whose corresponding private key is \(y\leftarrow_R D\) such that \(\langle y,u_i \rangle =0\mod q\). (Here \(A,\, p_B\) are used to encrypt the message m.)
Queries phase 1 The adversary \({\mathcal{A}}\) issues encryption queries. The adversary has unlimited access to \(Enc_{p_B}(\cdot )\) oracle with input a message m, where m is an alleged plaintext.
Challenge The adversary \({\mathcal{A}}\) submits two messages \(m_0\) and \(m_1\) and sends them to the simulator. The simulator \({\mathcal{S}}\) flips a coin, b, constructs the challenge ciphertext \(C=(C_1, C_2)\) of \(m_b,\,b\in \{0,1\}\) and gives it to \({\mathcal{A}}\), where \(C_1=A*x \mod q\), \(C_2=C_3+m_b\mod q\).
We note that C is a valid encryption of \(m_b\) if the simulator \({\mathcal{S}}\) is given a DBi-ISIS tuple. Otherwise, if \({\mathcal{S}}\) is given a random tuple, C is independent of b in the \({\mathcal{A}}'s\) view.
Queries phase 2 Same as phase 1. But the adversary is not allowed to query the \(Enc_{p_B}(\cdot )\) oracle on message \(m_b\).
- 1.\({\mathcal{S}}\) runs \({\mathcal{G}}(1^n)\) to get \((Z_q,Z_q^m,A,q)\) which can be regarded as \({\mathcal{S}}'s\) input. \({\mathcal{S}}\) chooses \(x,\,y,\,z_1,\,z_2\leftarrow_R D\) and setsThen \({\mathcal{S}}\) runs algorithm \({\mathcal{A}}\) on a public key constructed as$$ \begin{aligned} C_1&=A*x=Ax+\sum \limits_{i=1}^n u_i \mod q\\ p_B&=y^t*A=y^tA+\sum \limits_{i=1}^n v_i^t \mod q\\ C_3&=(z_2^t*A)\cdot z_1\mod q\\ (C_3&=z_2^t\cdot (A* z_1)\mod q) \end{aligned} $$and a ciphertext constructed as$$ pk= \langle Z_q,Z_q^m,A,q,p_B \rangle $$In this case, \(C_3=(z_2^t*A)\cdot z_1\mod q\) (or \(C_3=z_2^t\cdot (A* z_1)\mod q\)), Thus we have that \(C_2\) is completely random from the view of \({\mathcal{A}}\), which implies that \({\mathcal{A}}'\)s view is the same as \({\mathcal{A}}'\)s view in \(PubK_{{\mathcal{A}},\tilde{\prod }}^{cpa}(n)\) since C is completely random. Because \({\mathcal{S}}\) outputs 1 when \({\mathcal{A}}\) outputs \(b'\): \(b'=b\), hence$$ C=(C_1,C_2)=(A*x,C_3+m_b)$$$$ Pr[{\mathcal{S}}(Z_q,z_q^m,A,q,y^t*A,A*x,(z_2^t*A)\cdot z_1)=1] =Pr\left[ PubK_{{\mathcal{A}},\tilde{\prod }}^{cpa}(n)=1\right] =\frac{1}{2}$$
- 2.
\({\mathcal{S}}\) runs \({\mathcal{G}}(1^n)\) to obtain \((Z_q,Z_q^m,A,q)\) which can be regarded as the input of \({\mathcal{S}}\). Then, \({\mathcal{S}}\) selects \(x,\,y\leftarrow_R D\), sets
Comparison with lattice-based PKEs
Comparisons with lattice-based cryptosystems
Pub | Pub.size | Cipher.size | Enc.Comp. | Dec.Comp. | Priv.size | Plaint.size |
---|---|---|---|---|---|---|
Regev (2005) | \(2(n+1)n\log^2q\) | \(n\log^2q+\log q\) | \(2n^2\log q\) | n | \(n\log q \) | 1 |
Lindner and Peikert (2011) | \(2n^2\log q\) | \(2n\log q \) | \(3n^2 \) | \(n^2\) | \(n^2\log q\) | \(n \log q \) |
Gentry et al. (2010) | \(2n^2log^2q\) | \(4n^2log^3q\) | \(4n^2log^2q(n+1)\) | \(8n^3log^3q(1+24n^3log^3q)\) | \(4n^2log^3q\) | \(4n^2log^2q\) |
Ours | \(2n\log^2 q(2n\log q+1) \) | \(2n\log^2 q+\log q\) | \(2n\log q(2n\log q+1)\) | \(2n\log q\) | \(2n\log^2 q\) | \(\log q\) |
For the comparison to be meaningful, we consider the latticed-based PKEs. Table 1 shows the comparison in the term of communication complexity (complexity of space or storage efficiency, e.g. Pub.size) and computation complexity (e.g Enc.comp.) of PKEs. Pub.size means the size of the public key, others are so; Comput.Comp. means the computation complexity and is estimated by the number of the multiplications in \(Z_q\). Their main computation operation contains the matrix-vector multiplication in \(Z_q\). Table 1 shows the comparison in more detail. Here n is the security parameter, q is a polynomial function of n.
Compared with PKEs (Regev 2005; Lindner and Peikert 2011), from the respective of the space complexity of view, priv.size in our system is nearly the same as that of Regev (2005) but smaller than that in Lindner and Peikert (2011); the public key size is slightly bigger than that of Regev (2005) and Lindner and Peikert (2011); the Cipher.size is almost the same as that of Regev (2005) and Lindner and Peikert (2011); and the range of the encrypted plaintext is significantly bigger than that in Regev (2005) but smaller than that of Lindner and Peikert (2011). As for Comput.comp, our Enc.comp is a little bigger than that of Regev (2005) and Lindner and Peikert (2011); our Dec.comp is nearly identical to that in Regev (2005), but smaller than that in Lindner and Peikert (2011). Compared with the BGN-type PKE (Gentry et al. 2010), the performance of our PKE is much better except for Plain.size and Pub.size. Obviously, Cipher.size, Enc.Comp., Dec.Com., Priv.size and Plain.size are all much smaller than that of Gentry et al. (2010) although Pub.size of Gentry et al. (2010) is a little smaller than our Pub.size.
In short, our lattice-based scheme is equally advantageous to the scheme in Regev (2005) except for the plain.size. Our scheme enjoys almost the same advantages as that in Lindner and Peikert (2011) in the aspects of Pub.size, Cipher.size, Enc.Com., but Dec.comp and Priv.size are much more advantageous than that in Lindner and Peikert (2011), plain.size is smaller. But our scheme has more advantages than that of Gentry et al. (2010) in all aspects which are mentioned in Table 1 except for Plain.size, Pub.size. In addition, all the PKEs of Regev (2005), Lindner and Peikert (2011) and Gentry et al. (2010) are from the LWE problem while ours depends on the SIS problem. The PKEs of Regev (2005), Lindner and Peikert (2011) and Gentry et al. (2010) and ours are all CPA-sure and resist quantum attack.
A lattice-based extended structure PKE of matrix form
To sent plaintext with multiple bits in our PKE, one can use matrix secret and matrix plaintext. Now we describe the PKE in “multiple bits” scenario and show its CPA security underlying DBi-ISIS assumption.
Basic construction
In the following, we convert the lattice-based KE on SIS (Wang et al. 2014) into an asymmetric PKE with multiple bits: an extended structure PKE of matrix form.
Use the same parameters \(m=m(n),\,q=q(n),\,\beta =\beta (n)\) and \(A\in Z_q^{m\times m}\) with \(rank(A)=n,\,n< m\) as mentioned above.
Setup Generate public parameters \(n,\,m,\,n<m\), a real number \(\beta \), a prime q, a random matrix \(A\in Z_q^{m\times m}\) with \(rank(A)=n \), a short vector set \(D=\{z\in Z^m:\, \parallel Z\parallel \le \beta \}\).
Initialize Assume that pick randomly \(X\leftarrow_R D^{k_1}\), generate vector group V which are linearly independent with row vectors of A, such that \(V^t\cdot X=0 \mod q\), then keep X private and make V public. Suppose that randomly pick \(Y\leftarrow_R D^{k_2}\), choose vector group U which are linearly independent with column vectors of A, such that \(Y^t U=0\mod q\), then keep Y private and make U public, where \(k_1,k_2\) are integers.
Encrypt To send a message \(M\in Z_q^{k_2\times k_1}\), pick \(X\leftarrow_R D^{k_1}\) as a random value such that \(V^t\cdot X=0 \mod q\) (X can be generated by the pseudorandom generator. If the sender and the receiver are at the same local, X is deleted once the ciphertext is completed successfully).
Correctness If the system is run honestly, the message M is obtained correctly.
CPA security
Theorem 16 indicates that our extended PKE of matrix form in “Basic construction” section is CPA secure under DBi-ISIS assumption.
Theorem 16
If DBi-ISIS problem is hard for a PPT algorithm \({\mathcal{G}}\), then the lattice-based PKE in “Basic construction” section is security against CPA under DBi-ISIS assumption.
Proof
The proof of Theorem 16 is similar to that of Theorem 15, omit it here.
Conclusion
In this paper, we present a simple PKE scheme that achieves CPA security under the DBi-ISIS assumption. We build it on previous works of Wang et al. (2014) and Regev (2005) and believe that it is easy to understand. Table 1 gives some comparisons with other lattice-based PKEs which indicates that the advantages of our lattice-based PKE are nearly the same as that in Regev (2005), a little different from that of Lindner and Peikert (2011), but much more than that in Gentry et al. (2010).
In addition, we extend the lattice-based PKE in “The encryption scheme” section to a lattice-based extended structure PKE of matrix form with multiple bits in “Basic construction” section indicate its CPA secure.
Note that our PKE schemes in both “The encryption scheme” section and “Basic construction” section may be modified to be security against chosen-ciphertext attacks (CCA) (Stinson 2005; Katz and Lindell 2007). How to improve our proposed PKE schemes to interactive multiparty PKE schemes, how to modify our PKE schemes into signatures based on Bi-ISIS, et al are also worth considering. Maybe our construction is a foundation for other cryptographic primitives constructed. And our construction may be an important step in showing how versatile the SIS assumption can be. We leave them as open problems.
Declarations
Authors' contributions
First of all, I’d like to show my gratitude to my supervisor, ZH, who led me into the design of the structure of the manuscript, gave me so much useful advice on my writing and tried his best to improve this manuscript. For example, he involved in drafting the manuscript and helped me check the data of the whole manuscript. Secondly, I’d like to express my gratitude to my classmate, FL, who offered me references and information on time, such as acquisition of data, interpretation of data in “Comparison with lattice-based PKEs” section. Without their help, it would be harder for me to finish this manuscript. All authors read and approved the final manuscript.
Acknowlegements
For the completion of this manuscript, I wished to express my deepest gratitude to my supervisor, Professor Zhengming Hu, who had given me the most valuable suggestion, constant encouragement and guidance, and made necessary corrections. Without his consistent and illuminating instruction, this paper could not have reached its present form. I would like to express my thanks to my classmate Fengju Lv, who had provided me with useful materials and generously helped me work out my problems during the difficult course of the manuscript. Finally, my thanks would go to my sincere friends who gave me their help. This work is partially supported by the National Natural Science Foundation of China (NSFC) A3 Foresight Program (No. 61411146001).
Competing interests
The authors declare that they have no competing interests.
Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
Authors’ Affiliations
References
- Ajtai M (1996) Generating hard instances of lattice problems. In: Proceedings of the twenty-eighth annual ACM symposium on theory of computing. ACM, pp 99–108Google Scholar
- Albrecht M, Bai S, Ducas L (2016) A subfield lattice attack on overstretched NTRU assumptions: cryptanalysis of some FHE and graded encoding schemes. Cryptology ePrint Archive, Report 2016/127Google Scholar
- Alkim E, Ducas L, Poppelmann T et al (2015) Post-quantum key exchange—a new hope. Cryptology ePrint Archive, Report 2015/1092, 2015. https://eprint.iacr.org
- Applebaum B, Cash D, Peikert C et al (2009) Fast cryptographic primitives and circular-secure encryption based on hard learning problems. In: Advances in cryptology-CRYPTO 2009. Springer, Berlin, pp 595–618Google Scholar
- Becker A, Ducas L, Gama N et al (2016) New directions in nearest neighbor searching with applications to lattice sieving. In: Proceedings of the twenty-seventh annual ACM-SIAM symposium on discrete algorithms. SIAM, pp 10–24Google Scholar
- Bos JW, Costello C, Naehrig M et al (2015) Post-quantum key exchange for the TLS protocol from the ring learning with errors problem. In: 2015 IEEE symposium on security and privacy. IEEE, pp 553–570Google Scholar
- Cheon JH, Jeong J, Lee C (2016) An algorithm for NTRU problems and cryptanalysis of the GGH multilinear map without an encoding of zero. Cryptology ePrint Archive, Report 2016/139Google Scholar
- Dent AW (2006) A note on game-hopping proofs. IACR Cryptology ePrint Archive, p 260Google Scholar
- Ding J, Lin X (2012) A simple provably secure key exchange scheme based on the learning with errors problem. In: IACR cryptology ePrint Archive 2012, p 688Google Scholar
- Ducas L, Lyubashevsky V, Prest T (2014) Efficient identity-based encryption over NTRU lattice. In: International conference on the theory and application of cryptology and information security. Springer, Berlin, pp 22–41Google Scholar
- Garg S, Gentry C, Halevi S et al (2013) Candidate indistinguishability obfuscation and functional encryption for all circuits. In: 2013 IEEE 54th annual symposium on foundations of computer science (FOCS). IEEE, pp 40–49Google Scholar
- Gentry C, Peikert C, Vaikuntanathan V (2008) Trapdoors for hard lattices and new cryptographic constructions. In: Proceedings of the fortieth annual ACM symposium on theory of computing. ACM, pp 197–206Google Scholar
- Gentry C, Halevi S, Vaikuntanathan V (2010) A simple BGN-type cryptosystem from LWE. In: Annual international conference on the theory and applications of cryptographic techniques. Springer, Berlin, pp 506–522Google Scholar
- Hiromasa R, Abe M, Okamoto T (2015) Packing messages and optimizing bootstrapping in GSW-FHE. In: Public-key cryptography-PKC 2015. Springer, Berlin, pp 699–715Google Scholar
- Hoffstein J, Pipher J, Silverman JH (1998) NTRU: a ring-based public key cryptosystem. In: International algorithmic number theory symposium. Springer, Berlin, pp 267–288Google Scholar
- Katz J, Lindell Y (2007) Introduction to modern cryptography: principles and protocols. CRC Press, Boca RatonMATHGoogle Scholar
- Laarhoven T (2015) Sieving for shortest vectors in lattices using angular locality-sensitive hashing. In: Annual cryptology conference. Springer, Berlin, pp 3–22Google Scholar
- Li W (2013) A key exchange scheme based on lattice. In: 2013 IEEE 11th international conference on dependable, autonomic and secure computing (DASC). IEEE, pp 100–106Google Scholar
- Lindner R, Peikert C (2011) Better key sizes (and attacks) for LWE-based encryption. In: Topics in cryptology-RSA, 2011. Springer, Berlin, pp 319–339Google Scholar
- Lyubashevsky V, Wichs D (2015) Simple lattice trapdoor sampling from a broad class of distributions. In: Public-key cryptography-PKC 2015. Springer, Berlin, pp 716–730Google Scholar
- Micciancio D (2011) Lattice-based cryptography., Encyclopedia of cryptography and securitySpringer, New YorkMATHGoogle Scholar
- Micciancio D, Regev O (2007) Worst-case to average-case reductions based on Gaussian measures. SIAM J Comput 37(1):267–302MathSciNetView ArticleMATHGoogle Scholar
- Orsini E, Smart NP (2015) Bootstrapping BGV ciphertexts with a wider choice of p and q. In: Public-key cryptography-PKC 2015. Springer, Berlin, pp 673–698Google Scholar
- Peikert C (2009) Public-key cryptosystems from the worst-case shortest vector problem: extended abstract. In: STOC, pp 333–342Google Scholar
- Peikert C (2014) Lattice cryptography for the internet. In: International workshop on post-quantum cryptography. Springer International Publishing, pp 197–219Google Scholar
- Peikert C, Vaikuntanathan V, Waters B (2008) A framework for efficient and composable oblivious transfer. In: CRYPTO, pp 554–571Google Scholar
- Poppelmann T, Guneysu T (2013) Towards practical lattice-based public-key encryption on reconfigurable hardware. In: International conference on selected areas in cryptography. Springer, Berlin, pp 68–85Google Scholar
- Regev O (2004) New lattice-based cryptographic constructions. J ACM (JACM) 51(6):899–942MathSciNetView ArticleMATHGoogle Scholar
- Regev O (2005) On lattices, learning with errors, random linear codes, and cryptography [C]. In: Proceedings of the annual ACM symposium on theory of computing, 13th color imaging conference: color science, systems, technologies, and applications, Scottsdale, AZ, US, pp 84–93. doi:10.1145/1060590.1060603
- Regev O (2009) On lattices, learning with errors, random linear codes, and cryptography. J ACM (JACM) 56(6):34MathSciNetView ArticleMATHGoogle Scholar
- Stinson DR (2005) Cryptography: theory and practice, 3rd edn. CRC Press, Boca Raton, FloridaGoogle Scholar
- Wang SB, Zhu Y, Ma D et al (2014) Lattice-based key exchange on small integer solution problem. Sci China Inf Sci 57(11):1–12MathSciNetGoogle Scholar
- Zhang J, Zhang Z, Ding J et al (2015) Authenticated key exchange from ideal lattices. In: Annual international conference on the theory and applications of cryptographic techniques. Springer, Berlin, Heidelberg, pp 719–751Google Scholar