The invention relates to asymmetric cryptographic communication processes, in particular the multivariate public key cryptosystems (MPKC), to provide secure communication and secure authentication or signature.
The revolutionary idea of a public key cryptosystem, which has since fundamentally changed our modern communication system, was first suggested by Diffie and Hellman, though the first practical realization of this idea was the famous RSA cryptosystem by Rivest, Shamir and Adleman. (U.S. Pat. No. 4,405,829, 1983)
Multivariate public key cryptosystems are public key cryptosystems whose building blocks are multivariable polynomials, mostly, quadratic polynomials. This method relies on the proven theorem that solving a set of multivariable polynomial equations over a finite field, in general, is an NP-hard problem. This provides the possibility that they could resist even the future quantum computer attack while RSA can not [Sp], and due to the fast computation on small finite fields, they are much more efficient than RSA in general.
Early attempts like of Diffie and Fell [DF], and Shamir [Sh] failed.
A new design of multivariate cryptosystems was started by Matsumoto and Imai [MI] in 1988, which looked very promising but was defeated by Patarin in 1995 [P]. However many new systems are built inspired by this work.
1) Minus-Plus generalization. [CGP1] This is the simplest idea among all, namely one takes out (Minus method, which was first suggested in [Sh]) a few of the quadratic polynomial components of the cipher, and (or) adds (Plus method) a few randomly chosen quadratic polynomials. The main reason to take the “Minus” action is to improve the security [SH]. The Minus (only) method is very suitable for signature schemes, because it does not require that a documents to have a unique signature unlike the case of decryption process. Sflash [ACDG,CGP] is a Matsumoto-Imai-Minus cryptosystem. It was selected in 2004 by the NESSIE, the New European Schemes for Signatures, Integrity, and Encryption project within the Information Society Technologies (IST) Programme of the European Commission as one of the security standards for low-cost smart card applications after more than three years of screening process.
2) Hidden Field Equation Method. (HFE) [P1]. This method is suggested by Patarin to be the strongest. However a new algebraic attack using both the Minrank method and the relinearization method by Kipnis and Shamir [KS] shows that a special parameter can not be too small, but if this parameter is big, the system is just too slow. HFE is patented in Europe and US (U.S. Pat. No. 5,790,675, 1998). This is further confirmed in [FJ].
A new system proposed recently by Wang, Yang, Hu and Lai also is related to this family. [WYHL].
3) Vinegar-Oil method. The (balanced) Oil and Vinegar schemes and the unbalance Oil and Vinegar schemes [P3] [KPG] are new constructions of signature schemes. The balanced case was defeated by Kipnis and Shamir[Sh1]. The unbalanced case in general is not very efficient because the signature is more than twice the length of the document (or the hash of a document).
4) HFEV. The basic idea of this system is, on top of the HFE method, to add a few new external variables to make the system more complicated. This is a combination of HFE and Oil-Vinegar. Ding and Schmidt [DS3] recently observed that the attack in [KS] can also be applied to actually eliminate the small number of added variables and attack the system. A signature scheme Quartz was proposed as a HFE-Minus scheme and it has a very short signature of 128 bits [CGP2], but it is rather slow.
Another family is the triangular construction by T. T. Moh [M1] using special triangular type of invertible maps (Tame transformations). This method is named the tame transformation method (TTM). (U.S. Pat. No. 5,740,250, 1998) Courtois and Goubin [CM] used a method of minrank to attack this system. However the inventor of TTM refuted the claim in [CM], where they gave a new implementation schemes to support their claim. Later, Ding and Schmidt [DS1] [DS2] found out that actually all existing implementation schemes at the time have a common defect that could make them insecure. A new scheme is also proposed recently [MCY].
Attempts were made to use a similar but simpler idea for signature, which was called a TTS (tamed transformation signature) scheme. A few of them were suggested mainly by Chen and his collaborators [YC] [CYP]. A new construction of TTS [YCC] was proposed, but was defeated by Ding and Yin [DY]. Another new version is proposed in [YC1]. A similar construction was also proposed in [WHLCY] (US patent application: 20040151307, 2004).
The original ideal of internal perturbation was fist proposed by Ding. (US Patent application: 20030215093, 2003). This idea was applied to the Matsumoto-Imai system mentioned above in [D]. However this case was defeated by Pierre-Alain Fouque and Louis Granboulan and Jacques Stern [GGS]. As a further improvement, we proposed the Internal-Perturbation-Plus in this application. It is applied to the Matsumoto-Imai cryptosystem, which, we show, can effective resist all attacks [DG]. Another improvement is the enhanced internal perturbation, which is applied to HFE. [DS3].
The general multi-layer construction of ours was first applied to Oil-Vinegar case, which builds the rainbow system [DS4]. Both [YC1] and [WHLCY] are special examples of our general construction.
This invention contains novel methods to improve any MPKC to produce new MPKC, which are more secure and efficient. These methods are called “internal perturbation plus” (IPP), “enhanced internal perturbation” (EIP) and “multi-layer Oil-Vinegar construction” (MOVC). These methods can also be combined to be applied to produce new MPKC. What makes these new methods particularly useful is that by applying them (individually or together) to any MPKC, we could 1. produce a new MPKC, which is more secure, and even makes a totally insecure MPKC secure; 2. the new MPKC is even more efficient, and enable them to maybe work even in small electronic devices such as smartcards, RFID and others
These new methods can be viewed as effective “repairing” and “enhancing” tools for MPKC. For example, for a cryptosystem invented in 1988 by MATSUMOTO and IMAI [MI], which was broken in 1995 by Jacques PATARIN [P], and therefore can not be used to practical applications, we could apply IPP to it to build a new MPKC, called perturbed Matsumoto-Imai-Plus cryptosystem (PMI+), which is secure and very efficient [DG].
In summary, the invention includes the following discoveries: 1. The inventor has shown three new methods that anyone can apply to existing MPKC to produce new MPKC that could be more efficient and more secure[DG][DS3] [DS4]. 2. The inventor has shown that it is possible combine those methods in various way to build new method that can apply to existing MPKC to produce new MPKC that could be more efficient and more secure. 3. The inventor has shown that we could choose some of the polynomials in special ways that could make the MPKC even more efficient.
Though this invention has been described with specific embodiments thereof, it is clear that many variations, alternatives, modifications will become apparent to those who are skilled in the art of cryptography. Therefore, the preferred embodiments of the invention as set forth herein, are intended to be illustrative, not limiting. Various changes may be made without departing from the scope and spirit of the invention as set forth herein and defined in the claims.
1. Internal Perturbation Plus (IPP) Method
1.1 The basic idea of IPP.
The name Internal perturbation plus is given to the first family of method of the invention to improve MPKC. The basic idea of IPP will now be presented. Then, in the subsequent subsection, certain particularly examples of the application of IPP, which is used on the Matsumoto-Imai cryptosystems to produced the so-called the internal perturbed Matsumoto-Imai-Plus cryptosystems (PMI+) will be shown.
The reason that the word “perturbation” is used here is that our method is very similar to a physical idea of perturbation, where one intentionally “changes” or adds “noise” to the system in a very small scale to see how a system will evolve and therefore to derive new information about the system itself. The key is that this has to be done in a controlled way such that the system itself is not fundamentally altered. Our method is indeed just to “add” random “small” noise” to the cryptosystem such that it becomes much harder to break. The method of perturbation is included in a US pending patent application by the inventor (20030215093 with filing date, November, 2003), see also [D]. The new IPP is a further improvement of the previous perturbation method so the system could resist the new differential attacks [FGS][DG].
Let's assume that we have a multivariate public key cryptosystem. This public key cryptosystem's public key consists of the field (or ring) structure of a finite field (or ring) (k) with (q) elements and a set of (m) polynomials over (k) (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn)) of a low degree (d) with (n) variables, which are publicly accessible to anyone. The public transformation or computation, which is used either as an process to encrypt a message or a process to verify the authenticity of either the signatures or the authentications, is to calculate (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn))=(y1, . . . , ym)=Y for a given value (X) represented by a vector of (n) elements of a finite field, or ring (k), X=(x1, . . . , xn), and only for signatures or authentications, one also needs to check if this Y is indeed the same as the attached signature or authentication code, which is another vector (Y′) of (m) elements of the finite field or ring (k) to either accept or deny the authenticity of the signature or the authentication.
The secret transformation or computation, which is a process one can find the (or a) a value of (n) vectors X=(x1, . . . , xn) for any given value of a vector of (m) elements of the finite field or ring (k), Y=(y1, . . . , ym) such that (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn))=(y1, . . . , ym), requires the knowledge of the secret key that (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn)) can be factorized as a composition of three transformations:
This method of (IPP) can produce new multivariate public key cryptosystems for each pair of parameter r and α. Here r and α are two positive integers.
One instance of the new multivariate public key cryptosystems for a fixed r and α is given as following.
This new multivariate public key cryptosystem has a new public key, the field (or ring) structure of (k), which the original MPKC have before, and a new set of public polynomials:
Now the new secret computation requires the new secret key that (f1+(x1, . . . , xn), . . . , f+m+α(x1, . . . , xn))={tilde over (L)}2∘{tilde over (F)}∘L1(x1, . . . , xn), where {tilde over (L)}2 is a randomly or specially chosen invertible affine linear transformations over the space of vectors of (m+α) elements of (k) and L1 is a randomly or specially chosen invertible affine linear transformations over the space of vectors of (n) elements of (k),
The new secret transformation or computation, which is used either for decryption, or for production of a legitimate signature or authentication code becomes the process to find the (or a) value X=(x1, . . . , xn) for any given Y+=(y1, . . . , xm+α) such that (f1+(x1, . . . , xn), . . . , f+m+α(x1, . . . , xn)=Y+=(y1, . . . , ym+α).
This is performed by the following steps by the legitimate user.
The legitimate user first compute {tilde over (L)}2−1(Y+), which produces an intermediate value Y′+=(y′1, . . . , y′m+α). Then chooses all possible values for zi, i=1, . . . , r one by one (all total qr) and calculate
For each X″+, the legitimate user computes the value of ((p1(x″1, . . . , x″n), . . . , pα(x″1, . . . , x″n)), and check if ((p1(x″1, . . . , x″n), . . . , pα(x″1, . . . , x″n)=(y′m+1, . . . , ym+α), discard the X″+, if the answer is negative , and keep it if positive.
The legitimate user calculates L1−1(x″1, . . . , x″n)) for the (x″1, . . . , x″n) that survives the step above. This produces a value for (x1, . . . , xn), which can be the decrypted message or a legitimate signature or a legitimate authentication code.
Here the polynomials gi(z1, . . . , zr), i=1, . . . , n, can be viewed as “noise” added to the systems. The polynomials pi(x1, . . . , xn), i=1, . . . ,α, can be viewed as PLUS polynomials, which comes from a known method developed by Patarin and etc [CGP1].
1.2 An example of the perturbed Matsumoto-Imai-Plus cryptosystem, the application of IPP to the Matsumoto-Imai cryptosystem.
This is based on the work of the inventor [DG].
1.2.1 First we present the Matsumoto-Imai MPKC [MI]. Here, we assume that (k) is a finite field, (q), the number of elements in (k), is 2h and mathematically we say that (k) is of characteristic 2. We fix an irreducible polynomial of g(x) in the ring of polynomials over k, k[x], which is of degree n. Then we can obtain a larger field K, which is a degree n extension of (k), K=k[x]/g(x). In K, each elements is uniquely represented by a polynomial whose degree is less than n. There is a bijective transformation Φ, which transforms an element in K into an element of kn, the space of the vectors of (n) elements of (k), which is defined by Φ(a0+a1x+ . . . +an−1xn−1)=(a0, a1, . . . , an−1).
Find an positive integer θ between 0 and n such that GCD(qθ+1, qn−1)=1, and define a new transformation {tilde over (F)} over K: {tilde over (F)}(X)=Xq
{tilde over (F)} is and invertible and {tilde over (F)}−1(X)=Xt where t(qθ+1)=1 modular qn−1. Let the transformation
Here each of the polynomials is of degree 2. (d=2)
The Matsumoto-Imai cryptosystem for encryption is given as follows. Assume that Bob wants to set up a Matsumoto-Imai MPKC for himself. Then he would have the public key, which is made accessible publicly, including 1) the field (k) including its addition and multiplication structure; 2) the n quadratic polynomials f1(x1, . . . , xn), . . . , fn(x1, . . . , xn). If anyone, say Alice wants to send a secret message to Bob, she will first encrypt a message given as a vector X=(x1, . . . , xn), by first obtaining the public key and then calculating the value (f1(x1, . . . , xn), . . . , fn(x1, . . . , xn))=((y1, . . . , yn) and (y1, . . . , yn) is the encrypted message.
The cryptographic secret, the private key, includes the two affine linear maps L1, L2, which Bob keeps secret.
The parameter θ can be either as part of public key or the secret key, because it is not so hard to guess it (only n choices as n is never too large).
Now if Bob receives the message from Alice, with the secret key, he needs to go through the decryption process, which consists of the following steps. I) compute (
This MPKC was broken by Patarin using the linearization equations [P], therefore this cryptosystem is of no practical value.
1.2.2 Now we will use the IPP method to produce new secure cryptosystems[DG]. One instance of the new multivariate public key cryptosystems for a fixed r and α is given as following.
Fix a small integer r and we randomly or specially choose r affine linear functions z1, . . . , zr, written
for i=1, . . . , r. The linear part of z1, . . . , zr, are linearly independent as linear functions of xi,
This defines a map Z kn→kr: Z(x1, . . . , xn)=(z1, . . . zr). Now randomly or specially choose n quadratic polynomials of degree less or equal to (d) with the r variables z1, . . . , zr, gi(z1, . . . , zr), i=1, . . . , n; and randomly or specially choose α polynomials of degree less or equal to (d) with the n variables x1, . . . , xn. pi(x1, . . . , xn), i=1, . . . , α.
The new multivariate public key cryptosystem, which we call the perturbed Matsumoto-Imai-Plus (PMI+) has a new public key, which includes the field (or ring) structure of (k), what the original Matsumoto-Imai MPKC has before, and a new set of public polynomials: (f1+(x1, . . . , xn), . . . , f+m+α(x1, . . . , xn)) over (k) again of the same low degree (d=2). The public computation, which can be used for encryption or verification, becomes the process to compute the value of the set of the public polynomials
Now the new secret computation requires the new secret key that (f1+(x1, . . . , xn), . . . , f+m+α(x1, . . . , xn))={tilde over (L)}2∘{tilde over (F)}∘L1(x1, . . . , xn), where {tilde over (L)}2 is a randomly or specially chosen invertible affine linear transformation over the space of vectors of (m+α) elements of (k) and L1 is again a randomly or specially chosen invertible affine linear transformation over the space of vectors of (n) elements of (k),
The PMI+ cryptosystem for encryption is given as follows. The public key, which is accessible publicly, includes 1) the field (k) including its addition and multiplication structure; 2) the n+α quadratic polynomials (f1+(x1, . . . , xn), . . . , f+m+α(x1, . . . , xn)).
To encrypt a message given as a vector X=(x1, . . . , xn), one first obtains the public key, calculates the value (f1+(x1, . . . , xn), . . . , f+m+α(x1, . . . , xn)=(y1, . . . , ym+α), and (y1, . . . , ym+α) is the encrypted message. This is the part of public computation.
The secret key, which is only accessible to the legitimate user includes: 1) {tilde over (L)}2 and L1; 2) the linear functions
for i=1, . . . , r; 3) the quadratic functions gi(z1, . . . , zr), i=1, . . . , n; 4) the quadratic functions pi(x1, . . . , xn), i=1, . . . , α.
To decrypt the message, which the new secret computation, becomes the process to find the value X=(x1, . . . , xn) for any given
Here we require that both r and α can not be too large. When α is too large, the system becomes insecure, in particular due to the Gröbner basis type of attacks like XL and the F4, F5 algorithms. When r is too large, the system becomes too inefficient.
2. Enhanced Internal Perturbation (EIP) Method
2.1 The Basic Idea of EIP
We will present the second method, which is called an enhanced internal perturbation (EIP). We will first present the basic idea and an example of the application of EIP will also presented, which is used on the HFE cryptosystems to produce the so-called the internal perturbed HFE cryptosystems (IPHFE)[DS3].
Again this belongs to the same idea of using perturbations. However the difference is the first method can be viewed as a direct perturbation, where one just adds noise by adding new polynomials into the system, the enhanced perturbation goes one step further, where one does not only add polynomial but also mixing the “noise” polynomials into the systems.
Assume that we have a multivariate public key cryptosystem, a cryptographic communication process.
This public key cryptosystem's public key consists of the field (or ring) structure of a finite field (or ring) (k) with (q) elements and a set of (m) polynomials over (k) (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn) of a low degree (d) with (n) variables, which are publicly accessible to anyone.
The public transformation or computation, which is used either as an process to encrypt a message or a process to verify the authenticity of either the signatures or the authentications, is to calculate (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn))=(y1, . . . , ym)=Y for a given value (X) represented by a vector of (n) elements of a finite field, , or ring (k), X=(x1, . . . , xn), and only for signatures or authentications, one also needs to check if this Y is indeed the same as the attached signature or authentication code, which is another vector (Y′) of (m) elements of the finite field or ring (k) to either accept or deny the authenticity of the signature or the authentication.
The secret transformation or computation, which is a process one can find the (or a) a value of (n) vectors X=(x1, . . . , xn) for any given value of a vector of (m) elements of the finite field or ring (k), Y=(y1, . . . , ym) such that (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn))=(y1, . . . , ym), requires the knowledge of the secret key that that (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn)) can be factorized as a composition of three transformations:
The second method of EIP produces new multivariate public key cryptosystems. For one instance of this new asymmetric cryptographic communication process, it has a new set of public polynomials becomes (f1e(x1, . . . , xn), . . . , fem(x1, . . . , xn)), which has a new cryptographic secret that
i=1, . . . , r are randomly or specially chosen and are linearly independent as linear functions of xi, gi(z1, . . . , zr), i=1, . . . , n, are randomly or specially chosen polynomials of degree less or equal to (d) with r variables z1, . . . , zr, and qij(z1, . . . , zr), i=1, . . . m; j=1, . . ., n, are randomly or specially chosen polynomials of degree less or equal to (d−1) with r variables z1, . . . , zr, aij are randomly or specially chosen,
and
The new MPKC has a new cryptographic communication process with a new public transformation, a process to transform a value (X) represented by (n) elements of a finite field, , or ring (k), X=(x1, . . . , xn), into another value (Y) represented by (m) elements of the finite field or ring (k) by the new set of (m) multivariate polynomials (f1e(x1, . . . , xn), . . . , fem(x1, . . . , xn)) over (k);
The new MPKC has a new cryptographic communication process with a new secret transformation, a process to obtain the value (or a ) (X) from the value (Y) by means of inverting the transformation defined by (f1e(x1, . . . , xn), . . . , fem(x1, . . . , xn)), with the knowledge of the cryptographic secret:
1) The legitimate user applies L2−1 to (Y) to produce an intermediate value Y′=(y′1, . . . , y′1m), 2) Then choose all possible values for zi, i=1, . . . , r one by one (all total qr) and calculating
where
and we also require that the inverse of
2.2 An example of the internal perturbed HFE cryptosystem (IPHFE), the application of EIP to the HFE cryptosystem.
HFE cryptosystem is a patented MPKC developed by Patarin. The patent was filed in 1995 in France and 1996 in US (U.S. Pat. No. 5,790,675).
HFE [P1] cryptosystems depend on a special parameter D. However recent works by Kipnis, Shamir, Courtois, Faugere [C][KS][FJ] show that this D cannot be too small. However as D increases the efficiency the system becomes very slow. The IPHFE, an example of application of EIP to HFE, can produces new cryptosystems that are much more efficient. [DS3]
2.2.1 The HFE cryptosystem.
Hidden Field Equation cryptosystem is also developed by Patarin [P1], who believed that this construction is the strongest. This cryptosystem is very similar to the Matsumoto-Imai cryptosystems.
Here, we assume that (k) is a finite field, (q) is the number of elements in (k), and mathematically (k) is not necessarily of characteristic 2. We fix an irreducible polynomial of g(x) in the ring of polynomials over k, k[x], which is of degree n. Then we can obtain a larger field K, which is a degree n extension of (k), K=k[x]/g(x). In K, each elements is uniquely represented by a polynomial whose degree is less than n.
There is a bijective transformation Φ, which transforms an element in K into an element of kn, the space of the vectors of (n) elements of (k), which is defined by Φ(a0+a1x+ . . . +an−1xn−1)=(a0, a1, . . . , an−1). We define a function
where the polynomial coefficients are randomly chosen, the total degree of D can not be too large.
Though, in general, {tilde over (F)} is not bijective anymore, but we can find the inverse of {tilde over (F)}, namely we can solve the polynomial equation {tilde over (F)}(X)=Y′ for a constant Y′, by using the Berlekamp's algorithm. Due to the Berlekamp's algorithm's computation complexity, the degree (D) here can not be too big, otherwise, it will become impossible to calculate {tilde over (F)}−1.
Let the transformation
The HFE cryptosystem for encryption is given as follows. The public key, which is accessible publicly, includes 1) the field (k) including its addition and multiplication structure; 2) the n quadratic polynomials f1(x1, . . . , xn), . . . , fn(x1, . . . , xn).
To encrypt a message given as a vector X=(x1, . . . , xn), one first obtains the public key, calculates the value
The cryptographic secret, the private key, includes the two affine linear maps L1, L2, the function {tilde over (F)} and the big field K.
The decryption process consists of the following steps. Once the legitimate user has the encrypted message the decryption process includes the following steps: I) compute (
Note that in II), one might get multiple solutions, this can be handled easily by either applying the PLUS method, namely adding more randomly chosen polynomials to mix into the system, which can be used to differentiate who is the real solution, or using other technique such as hash functions.
2.2.2 The new IPHFE cryptosystems.
We now apply EIP to HFE to produce a family of new public key cryptosystems, which depend on a parameter r, a small positive integer [DS3].
For one instance of this new asymmetric cryptographic communication process, where we have a fixed r, the new public polynomials becomes (f1e(x1, . . . , xn), . . . , fen(x1, . . . , xn)), which has a new cryptographic secret that (f1e(x1, . . . , xn), . . . , fem(x1, . . . , xn))=L2∘{circumflex over (F)}∘L1(x1, . . . , xn), where {circumflex over (F)}(x1, . . . , xn) is derived from
i=1, . . . , r are randomly or specially chosen and are linearly independent as linear functions of xi, gi(z1, . . . , zr), i=1, . . . , n, are randomly or specially chosen polynomials of degree less or equal to (d) with r variables z1, . . . , zr, and qij(z1, . . . , zr), i =1, . . . , n; j=1, . . . , n, are randomly or specially chosen polynomials of degree less or equal to (d−1) with r variables z1, . . . , zr,
1=1, . . . , n, and,
where the coefficients are randomly chosen,
The public key includes 1) the structure of field (k), 2) the set of n public polynomials (f1e(x1, . . . , xn), . . . , fen(x1, . . . , xn)). To encrypt a message, X=(x1, . . . , xn), any one can download the set of new public polynomial and calculate (f1e(x1, . . . , xn), . . . , fen(x1, . . . , xn))=(y1, . . . , yn). The new secret key includes
i=1, . . . , r, {tilde over (F)}, L1, L2 and the structure of K.
To decrypt a message Y=(y1, . . . , yn), the legitimate user performs the following steps. 1) The legitimate user applies L2−1 to (Y) to produce an intermediate value Y′=(y′1, . . . , y′n), 2) Then chooses all possible values for zi, i=1, . . . , r one by one (all total qr) and calculating
where
where we use the inverse function for any fixed values of z1, . . . , zr through again the Berlekamp's algorithm, which can be calculated easily when (D) is not too large. 3). The last step is to calculate L1−1(x″1, . . . , x″n), which produces a value for (x1, . . . , xn). Note that in Step 2), one might get multiple solutions, this can be handled easily as in the case of HFE, namely by either applying the PLUS method, or using other technique such as hash functions.
2.3 We can combine the IPP and EIP together to be applied to HFE, which can produce an internally perturbed HFE-Plus cryptosystem, IPHFE+.
3. Multi-Layer Oil-Vinegar Construction (MOVC) Method
3.1 The Basic Idea of MOVC
The third method, which is called a multi-layer Oil-Vinegar construction (MOVC), will be described with an example of applying this method, which produce the so-called Rainbow signature system will be presented. We will first present the basic idea and then the example, which is can also be found in the inventor's work in [DS4].
The method of multi-layer Oil-Vinegar construction (MOVC), which can be used to attach or “glue” together different types or the same type of constructions of multivariate public key cryptosystem via Oil-Vinegar construction to build new multivariate public key cryptosystems—asymmetric cryptographic communication processes.
Again assume that we have a multivariate public key cryptosystem, a cryptographic communication process.
This public key cryptosystem's public key consists of the field (or ring) structure of a finite field (or ring) (k) and a set of (m) polynomials over (k) (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn)) of a low degree (d) with (n) variables, which are publicly accessible to anyone. The public transformation or computation, which is used either as an process to encrypt a message or a process to verify the authenticity of either the signatures or the authentication code for a document, is to calculate (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn))=(y1, . . . , ym)=Y for a given value (X) represented by a vector of (n) elements of a finite field, or ring (k), X=(x1, . . . , xn), and only for signatures or authentications, one also needs to check if this Y is indeed the same as the attached signature or authentication code, which is another vector (Y′) of (m) elements of the finite field or ring (k). If indeed, these two vector coincides, the authenticity of the signature or the authentication code is accepted, otherwise denied.
The secret transformation or computation, which is a process one can find the (or a) a value of (n) vectors X=(x1, . . . , xn) for any given value of a vector of (m) elements of the finite field or ring (k), Y=(y1, . . . , ym)such that (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn)=(y1, . . . , ym), requires the knowledge of the secret key, or the cryptographic secret that (f1(x1, . . . , xn), . . . , fm(x1, . . . , xn)) can be factorized as a composition of three transformations:
A multivariate public key cryptosystem as a cryptographic communication process as described above, is said be derived from an Oil-Vinegar construction if it is the same process as described as above, except that the transformation defined by
The method of MOVC builds new MPKC. One instance of the new multivariate public key cryptosystems, a new asymmetric cryptographic communication process is described as following. The new set of public polynomials
The new cryptographic communication process consists of two parts.
Apply the same procedure to the (1−2)-th layer of the Oil-Vinegar construction to derive the solution for the Oil variables xv
The public transformation is used either to encrypt a message or verify if a signature or an authentication code for a document is indeed valid. The secret transformation is used to either decrypt a message or produce a signature or an authentication code for a document.
3.2 The application MOVC to the Oil-vinegar signature scheme.
The MOVC method will be demonstrated through an example, where we apply MOVC to the Oil-vinegar signature scheme to build a new family of signature scheme, Rainbow. [DS4]
3.2.1 The Oil-Vinegar construction.
The Oil-Vinegar construction method was developed by Patarin etc [P2][KPG]. They used it to build balance and unbalanced Oil-Vinegar Signature schemes. The balanced case was first developed by Patarin[P2] but it is broken by Kipnis and Shamir[KS1]. The unbalanced family was developed by Patarin, Kipnis and Goubin, which is an improvement of the balanced case[KPG].
Again, assume that we have a finite field (k), and we will work in this section over this field (k) through the rest of Section 3.2.
Let o and v be two positive integers. Let x1, . . . , xo be a set of variables, which we call Oil variables, and x′1, . . . , x′v be a set of variables which we call Vinegar variables. For this pair of sets of Oil and Vinegar variables, a polynomial f(x1, . . . , xo, x′1, . . . , x′v) is called an Oil-Vinegar polynomial, if it is in the form
Let
For each value in Y=(y1, . . . , yo) in ko, one can find a pre-images of Y under the transformation
For an Oil-Vinegar signature schemes, the set of public polynomials is given by F(x1, . . . , xo+v)=
An Oil-Vinegar signature schemes is set up as follows. Let assume Bob intends to set up an Oil-Vinegar signature schemes for himself. He first choose o, v,
3.2.2 The Rainbow, multi-layer Oil-Vinegar signature schemes.
Let S be the set {1, 2, 3, . . . , n}. Let v1, . . . , vn be u integers such that 0<v1<v2< . . . <vu=n, and define the sets of integers S1={1, 2, . . . , v1} for 1=1, . . . , u, so that we have S1⊂S2⊂ . . . ⊂Su=S. The number of elements in Si is vi. Let Oi=vi+1−vi, for i=1, . . . , u−1. Let Oi be the set such that Oi=Si+1−Si, for i=1, . . . , u−1. Let P1 be the linear space of quadratic polynomials spanned by polynomials of the form
These are Oil and Vinegar type of polynomials such that xi, i∈O1 are the Oil variables and xi, i∈S1 are the Vinegar variables. We call xi, i∈O1 the 1-th layer Oil variable and xi, i∈S1 the 1-th layer Vinegar variable. We denote P1 the set of all 1-th layer Oil and Vinegar polynomials. Clearly we have Pi∈Pj for i<j. In this way, each P1, 1=1, . . . , u−1 is a set of Oil and Vinegar polynomials. Each polynomial in P1 has as xi, i∈O1 its Oil variables and xi, i∈S1 as its Vinegar variables. The Oil and Vinegar polynomials in Pi can be defined as polynomials such that xi, i∈Oi are the Oil variables and xi, i∈Si are the Vinegar variables. This can be illustrated by the fact that Si+1=Si∪Oi, Si∩Oi=Ø.
Next we define the transformation
Each row above represents a layer of the Rainbow. For the 1-th layer above, the ones in [ ] are Vinegar variables, the ones in { } are Oil variables and each layer's Vinegar variables consists of all the variables in the previous layer. We call
Let's assume that Bob intends to set up an Rainbow signature schemes for himself. He first chooses
Let Y=(y1, . . . , yn−v
Next Bob needs to apply
Then Bob has all the values of xi, i∈S2. Then he plugs these values into the second layer of polynomials, which will again produce o2 number of linear equations, which then gives us the values of all xi, i∈S3. We repeat the procedure until we find a solution.
If at any time, a set of linear equations does not have a solution, he will start from the beginning again by choosing another set of values for x1, . . . , xv
We denote a solution Bob finds by (x′1, . . . , x′n).
Then he will apply L1−1(x′1, . . . , x′n), which is to calculate L1−1(x′1, . . . , x′n), which is (x″1, . . . , x″n) that is the signature Bob wants. Then Bob attaches the signature (x″1, . . . , x″n) either to his document Y or the document, which has a hash value Y, where he also specifies which hash he uses.
For Alice, a person, who sees or receives this pair, namely the document and the signature, she will then use the public computation process to verify the authenticity of the document by following steps.
She downloads F and the hash if needed. Then she computes F(x″1, . . . , x″n) to check if indeed it is the same as Y, which she either has, or can compute using the same hash as Bob does. If they are the same, then it is indeed a document signed by Bob, otherwise rejects it as a forgery. In a rainbow scheme, the length of the document is n−v1, the length of the signature is n and we can make v1 much smaller than n.
Therefore Rainbow can be much more efficient than the unbalance Oil-Vinegar signature schemes as shown in [KPG]
4) Combinations of the methods. We can combine any two of the methods together to build new MPKC. For example, we can combine IPP with MOVC, such that there are only two layers, the fist layer is just a PMI+, and its variables are used as Vinegar variables for the next Oil-Vinegar construction. Similarly we can combine EIP with MOVC.
We can also combine all three together.
5) One way to build variants of our methods is to just choose special kind of polynomials in our methods, such as sparse polynomials, where most of terms are zeroes. The MPKC in [YC1] and [WHLCY] belongs to such examples of Rainbows.
The present disclosure claims priority to U.S. provisional patent application Ser. No. 60/642,838, entitled Multivariable Public Key Systems, filed Jan. 11, 2005, which is incorporated herein by reference in its entirety and for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
4405829 | Rivest et al. | Sep 1983 | A |
5740250 | Moh | Apr 1998 | A |
5790675 | Patarin | Aug 1998 | A |
7100051 | Kipnis et al. | Aug 2006 | B1 |
20030215093 | Ding | Nov 2003 | A1 |
20040151307 | Wang et al. | Aug 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20080013716 A1 | Jan 2008 | US |
Number | Date | Country | |
---|---|---|---|
60642838 | Jan 2005 | US |