Public key cryptosystem method and apparatus
Abstract
This record has no abstract on file.
Term
No projected expiry on record.
- Priority
- Filed
- Published
- Today
30 claims: 30 independent, 0 dependent
- 148 128552/2 Claims 1. A method for encoding and decoding a digital message m, comprising the steps of:selecting ideals p and q of a ring R;generating elements f and g of the ring R, and generating element Fq which is an inverse of f (mod q), and generating element Fp which is an inverse of f (mod p(;producing a public key that includes h, where h is congruent, mod q, to a product that can be derived using g and re producing a private key from which f and Fp can be derived;producing an encoded message e by encoding the message m using the public key and a random element ?;and producing a decoded message by decoding the encoded message e using the private key.
- 4The method as defined by any of claims 1-3, wherein the ring R is a ring of polynomials modulo a particular polynomial.
- 6The method as defined by claim 5, wherein said element Gq is used in the derivation of said public key and said element Gp is part of said private key.
- 12The method as defined by claim 10, wherein said integers p and q are unequal and both p and q are greater than 1.
- 14A method for encoding and decoding a digital message m, comprising the steps of:selecting integers p and q;generating polynomials f and g;determining inverses Fq Fq*f = 1 Fp*f = 1 and ) mod ) mod Fp, where q( p(;producing a public key that includes p, h s Fq*g ) mod q(;producing a private key that includes f and Fp;producing an encoded message e by encoding the message m using the private key and a random element ?;and producing a decoded message by decoding the encoded message e using the private key.
- 15The method as defined by claim 14, wherein said encoded message e is produced as e = p?*h+m )mod q(.
- 16The method as defined by claim 15, wherein said decoded message is produced by computing 52 128552/2 a s f*e (mod q(, and then computing the decoded message, m', as m' = Fp*a ) mod p (.
- 18The method as defined by claim 14, wherein said encoded message e is produced as e = p?i*hi+p?2*h2+. . .+p?K*hK+m ) mod q( where ?i, ?2, , ?k are K random polynomials.
- 23The method as defined by claim 22, wherein said integer q is chosen smaller than a quantity determined by the said integer p, the degrees of the said polynomials f, g, m and ?, and the said constraints on the coefficients of the said f, g, m and
- 24The method as defined by claim 22, wherein said integer q is chosen larger than a quantity determined by the said integer p, the degrees of the said polynomials f, g, m and ?, and the said constraints on the coefficients of the said polynomials f, g, m and ?. 54 128552/2
- 25A method for encoding and decoding a digital message, comprising the steps of:selecting relatively prime integers p and q;selecting a non-zero integer K;producing K+2 matrices, f, g, wi, w2, . . . , wK from a ring, of matrices with integer coefficients, with Wi = 0 ) mod p) for i = 1,2, . . . , K. producing inverse matrices Fp, Fq, Gp and Gq, from said ring of matrices where fFp = I (mod p( fFq = I (mod q( gGp = I (mod p( gGq = I (mod q( where I is an identity matrix;producing a public key as a list of K matrices ) hi, h2, . . hK ( where hi = FqWiGq )mod q(, i = 1,2,. . . , K;producing a private key as the matrices (f, g, Fp, Gp (;producing an encoded message e by encoding the message m using the private key and random integers ?i, ?2,...,?k as e = ?ihi+?2h2+. . . +?KhK+m ) mod q) ;and producing a decoded message m' by computing 55 128552/2 a = feg ) mod q( and b = a (mod p( and then computing the decoded message m' as m' = FpbGp )mod p(.
- 26The method as defined by claim 25, wherein said encoded message is produced by a user at one location, transmitted from said one location to another location, and decoded by a user at said another location.
- 28The method as defined by claim 27, wherein said integer q is chosen smaller than a quantity determined by said integer p, said integer K, the degrees of said polynomials wi, W2, . . . , wr, f, g, and m, said constraints on the coefficients of said polynomials wi, W2, . - . , wK, f, g, and m, and said constraints on the integers ?i, ?2, . . ., ?κ· 56 128552/2
- 29The method as defined by claim 27, wherein said integer q is chosen larger than a quantity determined by said integer p, said integer K, the degrees of said polynomials wi, w2, . . . , wK, f, g, and m, said constraints on the coefficients of said polynomials Wi,w2, . . . ,wk, f, g, and m, and said constraints on the integers ?i, ?2, . . . , ?K.
- 30A system for encoding and decoding a digital message m, comprising:means for selecting ideals p and q;means for generating elements f and g of a ring R, and generating element Fq which is an inverse of f (mod q), and generating element Fp which is an inverse of f (mod p(;means for producing a public key that includes h, where h is congruent, mod q, to a product that can be derived using g and Fq;means for producing a private key from which f and Fp can be derived;means for producing an encoded message e by encoding the message m using the public key and a random element ?;and means for producing a decoded message by decoding the encoded message e using the private key. 57 128552/2
- 31The system as defined by claim 30, wherein said encoded message is produced by a user at one location, transmitted from said one location to another location, and decoded by a user at said another location. For the Applicant Dr. Yitzhak Hess Partners by:/_
Independent claims30
265 paragraphs in 6 sections, as filed
ίό£ι>ίρ rimym >-ni>s nnon Pu prim nv»\y
PUBLIC KEY CRYPTOSYSTEM METHOD AND APPARATUS NTRU CRYPTOSYSTEMS, INC. WO 98/08323 PCTAJS97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD00021.tif" id="idf0001" />
PUBLIC KEY CRYPTOSYSTEM METHOD AND APPARATUS
RELATED APPLICATION
ThiB application claims priority from U.S. Provisional Patent Application Number 60/024,133, filed August 19, 1996, and said Provisional Patent Application is incorporated herein by reference.
FIELD-OF THE INVENTION »
This invention relates to encoding and decoding of information and, more particularly, to a public key cryptosystem for encryption and decryption of digital messages by processor systems .
BACKGROUND OF,THE_INVENTION
Secure exchange of data between two parties, for example, between two computers, requires encryption. There are two general methods of encryption in use today, private key SUBSTITUTE 5HEET (RULE 26) WO 98/08313 PCT/US97/13826
<img img-format="tif" img-content="drawing" file="IL128552AD00022.tif" id="idf0002" />
encryption and public key encryption. In private key encryption, the two parties privately exchange the keys to be used for encoding and decoding. A widely used example of a private key cryptosyHtem is DES, the Data Encryption Standard.
Such systems can be very fast and very secure, but they suffer the disadvantage that the two parties must exchange their keys privately. A public key cryptosystem is one in which each party can publish their encoding procese without compromising the security of the decoding process. The encoding process is popularly called a trap-door function. Public key cryptosystems, although generally slower than private key cryptosystems, are used for transmitting small amounts of data, Buch as credit card numbers, and also to transmit a private key which is then used for private key encoding.
Heretofore a variety of trap-door functions have been proposed and implemented for public key cryptosystems.
One type of trap-door function which has been used to create public key cryptosystems involves exponentiation in a group; that is, taking an element of a group and repeatedly multiplying the element by itself using the group operation. The group most often chosen is the multiplicative group modulo pq for large prime numbers p and q, although other groups such as elliptic curves, abelian varieties, and even non-commutative matrix groups, have been described. However, this type of trap-door function requires large prime numbers, on the order of 100 digits each, making key creation cumbersome; SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97/13826 and the exponentiation process used for encoding and decoding is computationally intensive, requiring many multiplications of hundred digit numbers and on the order of NJ operations to encode or decode a message consisting of N bits. A second type of trap-door function which has been used to create public key cryptosystems is based on the difficulty of determining which numbers are squares in a group, usually the multiplicative group modulo pq for large primes p and q. Just as in the first type, key creation is cumbersome and encoding and decoding are computationally intensive, requiring on the order of N1 operations to encode or decode a message consisting of N bits. A third type of trap-door function involves the discrete logarithm problem in a group, generally the multiplicative group or an elliptic curve modulo a large prime p. Again, key « creation is cumbersome, since the prime p needs at least 150 digits and p - l must have a large prime factor; and such systems use exponentiation, so again require on the order of N operations to encode or decode a message consisting of N bits. A fourth type of trap-door function which has been used to create public key cryptosystems is based on the knapsack, or subset sum, problem. These functions use a semigroup, normally the semigroup of positive integers under addition. Many public key cryptosystems of this type have been broken using lattice reduction techniques, so they are no longer considered secure systems. A fifth type of trap-door function which has been used to SUBSTITUTE 5MEET (RULE 26) WO 98/08323 PCT/VS97/I5826
<img img-format="tif" img-content="drawing" file="IL128552AD00023.tif" id="idf0003" />
4 create public key cryptosystems is based on error correcting codes, especially Goppa codes. These cryptosystems use linear algebra over a finite field, generally the field with two elements. There are linear algebra attacks on these cryptosystems, so the key for a secure cryptosystem is a large rectangular matrix, on the order of 400,000 bits. This is too large for most applications. A sixth type of trap-door function which has been used to create public key cryptosystems is based on the difficulty of finding extremely short basis vectors in a lattice of large dimension N. The keys for such a system have length on the order of NJ bits, which is too large for many applications. In addition, these lattice reduction public key cryptosystems are very new, so their security has not yet been fully analyzed.
Most users, therefore, would find it desirable to have a public key cryptosystem which combines relatively short, easily created keys with relatively high speed encoding and decoding processes.
It is among the objects of the invention to provide a public key encryption system for which keys are relatively short and easily created and for which the encoding and decoding processes can be performed rapidly. It is also among the objects hereof to provide a public key encryption system which has relatively low memory requirements and which depends on a variety of parameters that permit substantial flexibility in balancing security level, key length, encoding and decoding speed, memory requirements, and bandwidth. SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97/15B26 5
SUMMARY OF THE INVENTION
The invention allows keys to be chosen essentially at random from a large set of vectors, with key lengths comparable to the key lengths in other common public key cryptosystems, and features an appropriate (e.g. - 2’° for current circumstances) security level, and provides encoding and decoding processes which are between one and two orders of magnitude faster than the most widely used public key cryptosystem, namely the exponentiation cryptosystem referenced above.
The encoding technique of an embodiment of the public key cryptosystem hereof uses a mixing system based on polynomial algebra and reduction modulo two numbers, p and q, while the decoding technique uses an unmixing system whose validity depends on elementary probability theory. 'The security of the public key cryptosystem hereof comes from the interaction of the polynomial mixing system with the independence of reduction modulo p and q. Security also relies on the experimentally observed fact that for most lattices, it is very difficult to find the shortest vector if there are a large number of vectors which are only moderately longer than the shortest vector.
An embodiment of the invention is in the form of a method for encoding and decoding a digital message m, comprising the following steps: selecting ideals p and q of a ring R,-generating elements f and g of the ring R, and generating SUBSTITUTE SHEET (RULE 2S) WO 98/08323 PCTAJS97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD00024.tif" id="idf0004" />
6 element Fq which is an inverse of f (mod q) , and generating element Fp which is an inverse of f (mod p) ; producing a public key that includes h, where h is congruent, mod q, to a product that can be derived using g and Fq; producing a private key from which f and Fp can be derived; producing an encoded message e by encoding the message m using the public key and a random element 0; and producing a decoded message by decoding the encoded message e using the private key.
Further features and advantages of the invention will become more readily apparent from the following detailed description when taken in conjunction with the accompanying drawings. SUBSTITUTE SH EET (RULE 26) WO 98/08323 PCT/US97/IS826 7
φ BRIEF. DESCRIPTION OF THE DRAWINGS
Figure 1 is a block diagram of a system that can be used in practicing embodiments of the invention.
Figure 2 is a flow diagram of a public key encryption system which, when taken with the subsidiary flow diagrams referred to therein, can be used in implementing embodiments of the invention.
Figure 3 is a flow diagram of a routine, in accordance with an embodiment of the invention, for generating public and private keys.
Figure 4 is a flow diagram in accordance with an embodiment of the invention, for encoding a message using a public key.
Figure 5 is a flow diagram in accordance with an 4 embodiment of the invention, for decoding an encoded message using a private key.
Figure 6 is a flow diagram of a routine, in accordance with another embodiment of the invention, for generating public and private keys.
Figure 7 is a flow diagram in accordance with another embodiment of the invention, for encoding a message using a public key.
Figure 8 is a flow diagram in accordance with another embodiment of the invention, for decoding an encoded message using a private key. SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCTAJS97/13826 β
DETAILED DESCRIPTION
Figure 1 is a block diagram of a system that can be used in practicing embodiments of the invention. Two processor-based subsystems 105 and 155 are shown as being in communication over an insecure channel 50, which may be, for example, any wired or wireless communication channel such as a telephone or internet communication channel. The subsystem 105 includes processor 110 and the subsystem 155 includes processor 160. When programmed in the manner to be described, the processors 110 and 160 and their associated circuits can be used to implement an embodiment of the invention and to practice an embodiment of the method of the invention. The processors 110 and 160 may each be any suitable processor, for example an electronic digital processor or microprocessor. It will be understood that any general purpose or special purpose processor, or other machine or circuitry that can perform the functions described herein, electronically, optically, or by other means, can be utilized. The processors may be, for example, Intel Pentium processors. The subsystem 105 will typically include memories 123, clock and timing circuitry 121, input/output functions 118 and monitor 125, which may all be of conventional types. Inputs can include a keyboard input as represented at 103. Communication is via transceiver 135, which may comprise a modem or any suitable device for communicating signals.
The subsystem 155 in this illustrative embodimenc can SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97/I5826
<img img-format="tif" img-content="drawing" file="IL128552AD00025.tif" id="idf0005" />
9 have a similar configuration to that of subsystem 105. The processor 160 has associated input/output circuitry 164, memories 168, clock and timing circuitry 173, and a monitor 176. Inputs include a keyboard 155. Communication of subsystem 155 with the outside world is via transceiver. 162 which, again, may comprise a modem or any suitable device for communicating signals.
The encoding technique of an embodiment of the public key cryptosystem hereof uses a mixing system based on polynomial algebra and reduction modulo two numbers, p and q, while the decoding technique uses an unmixing system whose validity depends on elementary probability theory. lit will be understood that the polynomial is a convenient representation of ordered coefficients (a polynomial of degree N-1 having N ordered coefficients, some of which may be zero), and that the « processor will perform designated operations on coefficients.]
The security of the public key cryptosystem hereof comes from the interaction of the polynomial mixing system with the independence of reduction modulo p and q. Security also relies on the experimentally observed fact that for most lattices, it is very difficult to find the shortest vector if there are a large number of vectors which are only moderately longer than the shortest vector
The cryptosystem hereof fits into the general framework of a probabilistic cryptosystem as described in M. Blum et al., "An Efficient Probabilistic Public-Key Encryption Scheme Which Hides All Partial information", Advances in Cryptology·· SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97/15826 10
Proceedings of CRYPTO 84, Lecture Notes in Computer Science, Vol. 196, Springer-Verlag, 1985, pp. 289-299; and S.
Goldwasser et al., "Probabilistic Encryption", J. Computer and Systems Science 28 <1984), 270-299. This means that encryption includes a random element, so each message has many possible encryptions. Encoding and decoding and key creation are relatively fast and easy using the technique hereof, in which it takes O(N’) operations to encode or decode a message block of length N, making it considerably faster than the O(NJ) operations required by RSA. Key lengths are O(N), which compares well with the O(N’) key lengths required by other "fast" public keys systems such as those described in R.J. McEliece, "A Public-Key Cryptosystem Based On Algebraic Coding Theory", JPL Pasadena, DSN Progress Reports 42-44 (1978), 114-116 and O. Goldreich et al. "Public-Key Cryptosystems From Lattice Reduction Problems", MIT - Laboratory for Computer Science preprint, November 1996.
An embodiment of the cryptosystem hereof depends on four integet parameters (N,K,p,q) and three sets 2,, 2., 2„ of polynomials of degree N-i with integer coefficients. This embodiment works in the ring R - Z[X]/(X“-1) . An element F e R will be written as a polynomial or a vector,
N F * g FixH'1 = [Γχ. F„ . . .. .
The star denotes multiplication in R. This star SUBSTITUTE SHEET (RULE 26) WO 98/03323 PCT/US97/I58I6 ll multiplication is given explicitly as product, F * G ο h with F,Gt
Wbk-i
when a multiplication modulo (say) q coefficients are reduced modulo q. F a cyclic convolution Σ FA· (mod N) is performed, the urther reference can be made to Appendix l.
The following is an example of an embodiment in accordance with the invention of a public key cryptosystem. Very small numbers are used for ease of illustration, so the example would not be cryptographically secure. In conjunction with the example there is described, as material in double brackets (H), operating parameters that would provide a practical cryptographically secure cryptosystem under current conditions. Further discussion of the operating parameters to achieve a particular level of security is set forth in Appendix 1, which also describee the degree of immunity of an embodiment of the cryptosystem hereof to various types of attack.
The objects used in an embodiment hereof are polynomials of degree N-l, a1x*'1 + ajx""a ♦ - + aM.,x + a„, where the coefficients a,,..., aN are integers. In the "star" multiplication hereof, xH is replaced by 1, and xM·' is replaced by x, and x“*a is replaced by xa, and so on. [A polynomial may SUBSTITUTE SHEET (RULE 26) WO 98/98323 PCT/US97/15826 12 also be represented by an N-tuple of numbers Iai ι3κ · · · I a(|)
In such case the star product is also known as the convolution product. For large values of N, it may be faster to compute convolution products using che method of Fast Fourier Transforms, which take on the order of NlogN steps instead of Ν’ steps.] For example, taking N-5, and two exemplary polynomials, the star multiplication gives (x’+2x’-3x+2) * (2x'l+3xi+5x-l) -2x'1+3x’+4xs-t-5x’-6x‘+16x3-17xJ+13x-2 »2x’+3xi+4x+5X-6x‘+16Xi- 17xJ + 13x-2 = -6x<+18x,-14x’+17x+3 JA secure system may use, for example N - 167 or N - 263.J (This embodiment uses the ring of polynomials with integer coefficients modulo the ideal consisting of all multiples of xN -l. More generally, one could use polynomials modulo a different ideal; and even more generally, one could use some Other ring R. For further information on rings and ideals, reference can be made, for example, to Topics in Algebra by I.N. Kerstein.]
Another aspect of the present embodiment involves reducing the coefficients of a polynomial modulo an integer, such as the ideal g. This essentially means dividing each coefficient by q and replacing the coefficient with its remainder. For example, if q = 12B and if some coefficient is 2377, then that coefficient would be replaced with 73, because SUBSTITUTE SHEET (RULE 26) WO 98/98323 PCT/US97/1J826
<img img-format="tif" img-content="drawing" file="IL128552AD00026.tif" id="idf0006" />
13 2377 divided by 128 equals 18, with a remainder of 73.
However, ic is easier to use "centered remainders." This means that if the remainder is between 0 and q/2, it is left alone, but if it is between q/2 and q, then q is subtracted from it. Accordingly, using centered reminders for q = 128, 2377 would be replaced by -55, since -55 = 73 - 123.
To indicate that this remainder process is being performed, a triple equal sign (») is used, along with the designation "mod q." The following is an example which combines star multiplication of two polynomials with reduction modulo 5. The answer uses centered remainders. (x«+2X2-3x+2) * (2χ*+3χ3+5χ-1) = -6x’+18xJ-14X2+17x+3 β -x*-2x3+x’+2x-2 (mod 5) . in creating a public key cryptosystem in accordance with «· an embodiment hereof (and with the previously indicated small numbers for ease of illustration), a first step is to choose integer parameters N, K, p, and q. Take, for example N - 5, K - 1, P = 3, q - 123. JA secure system may use, for example, N=167, K=6, p=3, q=2ls = 6S536.J Preferably, p and q will be relatively prime; that is, they will have no common factors greater than l. A discussion of the desirability of having the ideals p and q be relatively prime is set forth in Appendix 1.
Some sets of polynomials are chosen, as follows: SUBSTITUTE SHEET (RULE 26>
TCT7V5977TSB1C 14 {polynomials whose coefficients are l’s, and 2'e} (polynomials with two -l's, two l's coefficients) {polynomials whose coefficients are -2's, -l's, 0’s, and one 0 as -l's, 0' s, and l's) IA secure eystem may use, for example
Jfg β {polynomials whose coefficients lie between -177 and 177) 2e ” {polynomials whose coefficients are forty l's, forty -l’s, the rest O's) ° {polynomials whose coefficients lie between -3 and 3} (Note: The polynomials have degree N-l, so for the secure parameters of the example, the polynomials have degree 166. Further, the actual message m being encoded consists of the remainders when the coefficients of m are divided by p, where in this example p = 3.) fl
The set £g is used to create the key for the cryptosystem, the set is used for encoding messages, and the set <em is the set of possible messages. For example, 2x‘-xJ+x-2 is in the set tfg, and χ*-χϊ-χ1+ΐ is in the set
To implement the key creation of this example, the key creator, call him Dan, chooses two polynomials £ and g from the set if,. In this simplified example K 1, so there is one polynomial g. suppose that Dan chooses f x‘-x’+2xJ-2x+l, SUBSTITUTE SHEET (RULE 26) WO 98Λ8323 PCT/US97/15826 15 g - X*-X1+xa-2x+2 .
||A secure system may use, for example, K + 1 polynomials f, gJf . . . ,gK e Stg with K - 6.J A requirement hereof is that f must have an inverse modulo q and an inverse modulo p. What this means is that there must be polynomials Fq and Fp so that
Fq * f « 1 (mod q) and Fp * £ « 1 (mod p) .
The well known Euclidean algorithm can be used to compute Fq and Fp. Reference can be made, for example, to Appendix II hereof. (Some f's may not have inverses, in which case Dan would have to go back and choose another f.) For the above example f, we have F„ - 103x‘ + 29X1 + 116X1 + 79x + 58,
Fp - 2X* + 2x.
To check that this is the right Fq for f, one can multiply Fq * f - (103x‘+29x3+116x1+79x+58) * (x4-x’+2xa-2x+l) - 256X* + 256X - 127 α 1 (mod 128) .
Similarly, to check that Fp is correct, one can multiply Fp * f » (2x« ♦ 2x) * (x* - x3+ 2x2 -2X+1) ·» 6x3 - fix2 + 6x - 2 ib l (mod 3) .
Now, the key creator Dan is ready to create his public key, which is the polynomial h given by h > Fq * g (mod q) .
8A secure system may use, for example. K polynomials ht.....hK given by SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97)15826 16 hi F, * gi (mod q) with i = 1.2.....K,
<img img-format="tif" img-content="drawing" file="IL128552AD00027.tif" id="idf0007" />
with K-6.fi
Continuing with the example, Dan would compute
Fq * g - (103x«+29x3 + 116xa+79x+58) * {x’-X3+xa-2x-h2) “ 243X* - 50x3 + 58xa 232x - 98 a -13x* ~ 50X3 + 58x3 - 24x + 30 (mod 128) .
Then Dan’s public key is the polynomial h - - 13x* - 50X3 + 58xa -24X + 30.
Dan's private key is the pair of polynomials (f, Fp) . In ( principle, the polynomial £ itself can function as the private key, because Fp can always be computed from f; but in practice Dan would probably want co precompute and save Fp.
In the next part of the example, encoding with the public key is described. Suppose the encoder, call her Cathy, wants to send Dan a message using his public key h. She chooses a message from the set of possible message 2m. For example, suppose that she wants to send the message m - x* - x3 + xa + 1
To encode this message, she chooses at random a polynomial ® from the set 2e. For example, say she selects 0 « - x* + x3 - xa + 1. 8he uses this randomly chosen polynomial ®, Dan's public key h (as well as p and q, which are part of the public key), and her plaintext message m to create the encoded message e using the formula e « p® * h + m (mod. q) . fiA secure system may use K public keys with K « 6 SUBSTITUTE SHEET (RULE 26) WO 9848323 PCT/US97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD00028.tif" id="idf0008" />
17 for the secure example. To encode a message, Cathy can randomly choose K polynomials et, . . . ,aK from the set and then create the encoded message e by computing e &amp; P®i*hi+P0j*h3+. . . +peK*hK+m (mod q) . J An alternative would be to let h equal pF„*g (mod q) , and then the message can be encoded using the formula e «a e*h+m (mod q) . For the present example, Cathy computes pa * h + m = 3 (-x4+x’-x1+l) * (-13x‘-5Ox’+50x’-24x+3O, + (χ* - x3 + x3 + 1) . -374X4 + 50x’ + 196x3 - 357x + 407 a 10x* + 50x* - 60x3 + 27x - 25 (mod 120) .
So Cathy’s encoded message is the polynomial e - 10x4 + 50xs - 60x3 + 27x - 25, and she sends this encoded message to Dan.
In the next part of the example, decoding using the private key is described. In order to decode the message e, Dan first uses his private key f to compute the polynomial a β f * e (mod q).
For the example being ueed, he computes f * e » (x‘-x1+2xa-2x+l) * (10x4+50x’-60x3+27x-25) » -262x4 + 2S9x’ - 124xs - 13x + 142 -fix4 + 3x’ + 4x3 - 13x + 14 (mod 120) , so the polynomial a is a = -6x4 + 3x’ + 4xa - 13x + 14,
Next, Dan uses Fp, the other half of his private key, to compute
Fp * a (mod ρ) , SUBSTITUTE SHEET (RULE 26)
nu yeiwajAJ PCTAJS97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD00029.tif" id="idf0009" />
18 and the result will be the decoded message. Thus for the present example, Dan computes
Fp * a β (2x‘ + 2x) * (-6x* + 3x3 + 4xJ - 13x + 14) - 34x4 - 4xJ - 2Ox’ + 36x - 38 a X4 - X1 + xJ + 1 (mod 3) .
Reference can be made to Appendix I for further description of why the decoding works.
In a further embodiment of the invention the ring is a ring of matrices. For example, one can use the ring R a (the ring of Μ x M matrices with integer coefficients).
An element of R looks like fflix ai2 ai* aax a!2 a2H · where the coefficients at) are integers. Addition and multiplication are as usual for matrices, and it will be understood that the processor can treat the matrix members as numbers stored and operated on in any convenient manner. bet N - MJ, so a matrix in R has N coefficients. Relatively prime integers p and q are chosen. in this case, to create a private key, Dan chooses K + 2 matrices from R. These matrices can be called f, g, w^, w2, . .., wK.
These matrices should have the property that f, g, w2, . . . , wK have SUBSTITUTE SHEET (RULE 26) W O 9S/BW23 PCT/US97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD000210.tif" id="idf0010" />
19 fairly small coefficients, and every wt satisfies w, 0 (mod p). (In other words, every coefficient of every wt is a multiple of p.) To create his key, Dan needs to find inverses for f and 9 modulo p and q. Thus he finds matrices Fp,Fq.Gp.Gq in R satisfying fFp κ I (mod p) fF, a I (mod q) gGp a I (mod p) gGq a I (mod q) whore I is the Μ x M identity matrix. In general, this is quite easy to do; and if by some chance one of the inverses fail to exist, Dan just chooses a new f or g.
Dan's public key is a list of K matrices (hj.hj, . . . ,hK) determined by the condition h, a FqWjG, (mod q) for i = 1,2, , . ,,K. (Note that the w/s are congruent to zero modulo p.) His private key is the four matrices (f,g,Fp,Gp). In principle, f and g alone can be used as the private key, but in practice it is more efficient to precompute and store Fp, Gp.
The encoding for this matrix example is described next. Suppose that Cathy wants to encode a message m. The message m le a matrix with coefficients modulo p. In order to encode her message, she chooses at random some integers 0,,...,0R satisfying some condition,- for example, they might be chosen to be non-negative integers whose sum 0X +...+eR equals a predetermined value d. (Note that the 0/ s are ordinary SUBSTITUTE SHEET (RULE 26)
WW S tWVtWAO rU»/USV7/I382&amp; 20 integers, they are not matrices. Equivalently, they can be thought of as multiples of the identity matrix, so they will commute with every element of the ring R.)
Having chosen her e,'s, Cathy creates her encoded message e by the rule e b + 03h3 +...+ 0KhK + m (mod q) .
The decoding for this matrix example is described next.
We now assume that Dan has received the encoded message e and wishes to decipher it. He begins by computing the matrix a satisfying a a feg (mod q) . A© usual. Dan chooses the coefficients of a in some restricted range, such as from -q/2 to q/2 (i.e., zero-centered coefficients), or from o to q-1.
If the parameters have been chosen, appropriately, then the matrix a will be exactly equal to the sum a - 0xWj + 0aw2 +...0KwK + fmg. (This will always be true modulo q, but a key point is that if q is large enough, then it will be an exact equality, not merely modulo q.) Dan's next step is to reduce a modulo p, say . b « a (mod p).
Since all of the coefficients of the w/s are divisible by p, this means that b b fmg (mod p).
Finally Dan computes
FpbGp (mod p) to recover the original message m. SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD000211.tif" id="idf0011" />
21
The described Μ χ M matrix embodiment has excellent operating time. Encoding requires only additions and takes on the order of MJ operations. Decoding requires two matrix multiplications of Μ χ M matrices, so takes on the order of M3 operations. The message length is on the order of M*, so if N denotes the natural message length (i.e., N = M3, , then the matrix embodiment requires 0(N) steps to encode and 0(N3/J) steps to decode. For comparison, the polynomial embodiment requires O(N’) steps to encode and 0{N3) steps to decode, and the RSA public key system requires O(N’) steps to encode and O(n’) steps to decode. A preliminary analysis suggests that the only natural lattice attacks on the matrix embodiment require using lattices whose dimension is N’+N (or larger). This would be a Significant security improvement over the 2N dimensional lattices used to attack the polynomial embodiment.
In order to avoid brute-force (or potential meet-in-the-middle) attacks, it is necessary that the sample space for the Si's be fairly large, say between 2ιββ and 2300. However, this is not difficult to achieve. For example, if the 0/3 are chosen non-negative with sum d, then the sample space has
_ (d*K-l) I 1 ) di (ΑΓ-l) ! elements. So if one takes K = 15 and d = 1024, for example, one gets a sample space with 2103’ elements.
The public key size is KMaloga(q) bits, and the private SUBSTITUTE SHEET (RULE 26) 22 key size is 2Milogi (pg) bits. Both of these are of a practical size.
Figure 2 illustrates a basic procedure that can be utilized with a public key encryption system, and refers to routines illustrated by other referenced flow diagrams which describe features in accordance with an embodiment of the invention. The block 210 represents the generating of the public key and private key information, and the "publishing" of the public key. The routine of an embodiment hereof is described in conjunction with the flow diagram of Figure 3.
In the present example, it can be assumed that this operation is performed at the processor system 105. The public key information can be published; that is, made available to any member of the public or to any desired group from whom the private key holder desires to receive encrypted messages. Typically, although not necessarily, the public key may be made available at a central public key library facility or website where a directory of public key holders and their public keys are maintained. In the present example, it is assumed that the user of the processor system 15S wants to Send a confidential message to the user of processor system 105, and that the user of processor system 155 knows the published public key of the user of processor system 150.
The block 220 represents the routine that can be used by the message sender (that is, in this example, the user of processor system 155) to encode the plaintext message using the public key of the intended message recipient. This SUBSTITUTE SHEET (RULE 26) WO 98Φ83Ζ3 PCIYUS97/I5826
<img img-format="tif" img-content="drawing" file="IL128552AD000212.tif" id="idf0012" />
23 routine, in accordance with an embodiment of the invention, is described in conjunction with the flow diagram of Figure 4.
The encrypted message is then transmitted over the channel SO (Figure 1).
The block 260 of Figure 2 represents the routine for the decoding of the encrypted message to recover the plaintext message. In the present example, this function is performed by the user of the processor system 105, who employs the private key information. The decoding routine, for an embodiment of the invention, is described in conjunction with the flow diagram of Figure 5.
Referring now to Figure 3, there is shown a flow diagram of the routine, as represented generally by the block 210 of Figure 2, for generating the public and private keys. The routine can be utilized, in the present example, for programming the processor 110 of the processor system 105.
The block 3Ό5 represents the choosing of integer parameters N, p, and q. As first described above, N determines the degree of the polynomials f and g, to be generated, and p and q are, respectively, the two ideals used in producing the star products. The block 315 represents the selection of K, which is the number of polynomials g, to be used. In the simplified example above, K was 1, and it was noted that a particular exemplary relatively secure system could use K = 6. Next, the block 325 represents the choosing of random polynomials f, glr g2...gx. The coefficients may, for example, be chosen using a random number generator, which can be implemented, in known SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCTrtJS97/15826 24 fashion, using available hardware or software. In the present embodiment, each of the processor systems is provided with a random number generator, designated by the blocks 130 and 185 respectively, in Figure l.
The block 340 represents application of the Euclidean algorithm to determine the inverses, Fq and Fp, in the manner described above, for the previously selected polynomial f, if such inverses exist. If Fp, F„ do not exist, the block 325 is re-entered, and a new polynomial f is chosen. The loop 330 is continued until polynomials are chosen for which the defined inverses can be computed. (The probability of the inverses existing for a given polynomial is relatively high, so a relatively small number of traversals through the loop 330 will generally be expected before the condition is met.] The block 350 is then entered, this block representing the computation of the public key, h in accordance with * h = F„*g (mod q) as first described above. (For K>1, there will be public key components hi for i = 1,2,...,K.] As represented by the block 360, the private key is retained as the polynomials f, Fp, and the public key can then be published, as represented by the block 370.
Figure 4 is a flow diagram, represented generally by the block 240 of Figure 2, of a routine for programming a processor, such as the processor 160 of the processor system 155 (Figure 1) to implement encoding of a plaintext message m. The message to be encoded is input (block 420) and a random SUBSTITUTE SHEET (RULE 26) WO 98/08313 PCT/US97/15826
2S polynomial 0 ie chosen (block 430) . (If K>1, then K random polynomials . . .,oK are chosen.] The polynomial can be from the set 2,, as described above, and the random coefficients can be selected by any hardware or software means, for example the random number generator 105. The encoded message, e, can then be computed (block 450) as e - pe*h + m (mod q).
As first noted above, for K greater than 1, the encoded message would be e ρβ4*Η, + poa*hj + .... + pe>M*hk + m (mod q) . The encoded message can be transmitted (block 460) over channel 50 to the keyholder who, in the present example, is the user of the processor system 105.
Figure 5 is a flow diagram represented generally in Figure 2 by the block 260, of a routine in accordance with an embodiment of the invention for decoding the encrypted message. The block 530 represents the receiving of the encrypted message, e. The retained private key information, which includes the previously defined polynomials f and Fp, and the integers N, p, and q, are fetched (block 550). Next, the block 570 represents the computation of a b f*e (mod q).
The decoded message, designated here as m*, can then be computed (block 580) as m' b Fp*a (mod p) .
Figures 6, 7 and β are flow diagrams relating to the above-described matrix embodiment. Figure 6 is a flow diagram SUBSTITUTE SHEET (RULE 26) WO 98/88323 FCTAIS97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD000213.tif" id="idf0013" />
26 of the routine, as represented generally by the block 210 of Figure 2, for generating the public and private keys. As above, the routine can be utilized, in the present example, for programming the processor 110 of the processor system 105. The block 605 represents the choosing of integer parameters N, p, and q, where N is the number of matrix coefficients, and p and q are relatively prime integers. The block 615 represents the selection of K, which determines the number of matrices. Next, the block 625 represents the choosing of random matrices f,g,Wi, Wj,...,wk( with the requirement that w,,*,,...,»» are all congruent to 0 modulo p. Again, Che random number generator 130 (Figure 1) can be used for this purpose.
The block 640 represents determination of the previously defined matrices Fp, Fq, Gp and Gq. If these matrices do not exist, the block 625 is re-entered, and new matrices f and g are chosen. The loop 630 is continued until matrices are chosen for which the defined inverses can be computed. The block 650 is then entered, this block representing the computation of the public key, a list of K matrices (hj,h2, . . . ,h«) determined by the condition hi « FqwiGq (mod q) for i » 1,2,..., K.
As represented by the block 660, the private key is retained as the matrices (f, g, Fp, G„) and the public key can then be published, as represented by the block 670.
Figure 7 is a flow diagram, represented generally by the block 240 of Figure 2, of a routine for programming a processor, such as the processor 160 of the processor system SUBSTITUTE SHEET (RULE 26) WO 96/08323 PCT/US97/I5826
<img img-format="tif" img-content="drawing" file="IL128552AD000214.tif" id="idf0014" />
27 155 (Figure l) to implement encoding of a plaintext message m using the technique of che present matrix embodiment. The message to be encoded is input (block 720) and the random integers are chosen (block 730). The integers can be selected by the random number generator 105 (Figure 1).
The encoded message, e, can then be computed (block 750) as e » + 0jh2 +...+ eKhK + m (mod q) .
The encoded message can be transmitted (block 760) over channel 50, to the keyholder which, in the present example, is the user of the processor system 105.
Figure 8 is a flow diagram represented generally in Figure 2 by the block 260, of a routine for decoding the encrypted message in accordance with the present matrix embodiment. The block 830 represents the receiving of the . encrypted message, e. The retained private· key information, which includes the previously defined F, g, Fp and Gp, and the integers N, p, and q, are fetched (block 850). Then, the block 870 represents the computation of a ™ feg (mod q) .
Next, a is reduced modulo p to b (block 880) as b η a (mod p).
The decoded message is then computed (block 890) as m' * FpbG„ (mod p) .
The invention has been described with reference to particular preferred embodiments, but variations within the spirit and scope of the invention will occur to those skilled αιηνπτι itc cuerrrmii f WO 98/98323 PCT/US97/1S826 28 in the art. For example, it will be understood that the public or private keys can be stored on any suitable media, for example a "smart card", which can be provided with a microprocessor capable of performing encoding and/or decoding, so that encrypted messages can be communicated to and/or from the smart card. SUBSTITUTE SHEET (RULE 26) WO9WQ8323 PCT/US97/1S826 29
NTRU: A RING-BASED PUBLIC KEY CRYPTOSYSTEM
Jeffrey Hoffstein, Jill Pipher, Joseph H. Silverman ABSTRACT. We describe NTRU, a new public key cryptosystem. NTRU features reasonably short, easily created keys, high speed, and low memory requirements. NTRU encoding and decoding uses a mixing system suggested by polynomial algebra combined with a clustering principle based on elementary probability theory. The security of the NTRU cryptosystem comes from the Interaction of the polynomial mixing system with the independence of reduction modulo two relatively prime integers p and q.
Contents 0. Introduction 1. Description of the NTRU Algorithm 2. Parameter Selection 3. Security Analysis 4. Implementation Considerations
5. Moderate Security Parameters For NTRU 6. Comparison With Other PKCS’s Appendix A. An Elementary Lemma §0. Introduction
There has been considerable interest in the creation of efficient and computationally inexpensive public key cryptosystems since Diffie and Heilman (4] explained how such systems could be created using one-way functions. Currently, the most widely used public key system is RSA, which was created by Rivest, Shamir and Adelman in 1978 (10] and is based on the difficulty of factoring large numbers. Other systems include the Typeset by 4A+S-7kX αιηςττη itc cucrr rot tt c net WO 98/08323 30 PCT/US97/1SS26
McEliece system (9) which relies on error correcting codes, and a recent system of Gol-ilreich, Goldwasser. and Halevi [5] which is based on the difficulty of lattice reduction problems.
In this paper we describe a new public key cryptosystem, which we call the NTRU syetem. The encoding procedure uses a mixing system based on polynomial algebra and reduction modulo two numbers p and q, while the decoding procedure uses an unmixing system whose validity depends on elementary probability theory. The security of the NTRU public key cryptosystem comes from the interaction of the polynomial mixing system with the independence of reduction modulo p and q. Security also relies on the (experimentally observed) fact that for most lattices, it is very difficult to find extremely short (as opposed to moderately short) vectors.
We mention that the presentation in this paper differs from an earlier, widely circulated but unpublished, preprint [7] in two major ways. First, we have introduced a new parameter K which can be used to produce systems with better operating characteristics. Second, the analysis of lattice-based attacks has been expanded and clarified, based largely on the numerous comments received from Don Coppersmith, Johan Hastad, and Adi Shamir In person, via email, and in the recent article (3). We would like to take this opportunity to thank them for their interest and their help. NTRU fits into the general framework of a probabilistic cryptosystem os described in (1] and [6], This means that encryption includes a random element, so each message has many possible encryptions. Encoding and decoding with NTRU are extremely fast, and key creation is fast and easy. See Sections 4 and 5 for specifics, but we note here that NTRU takes O(N2) operations to encode or decode a message block of length N, making it considerably faster than the O(N3) operations required by RSA. Further, NTRU key lengths are O(N), which compares well with the O(N2) key lengths required by other “fast” public keys systems such as (9, 5]. 51. Description op the NTRU algorithm §1.1. Notation. An NTRU cryptosystem depends on four integer parameters (N, K, p, q) and three sets £g, £¢, £m of polynomials of degree N — 1 with integer coefficients. We work in the ring It — Z(X]/(XW — 1). An element F G R will be written as a polynomial or a vector,
N F = ^F^~i^(Fl,F2,... ,FN}. »=i
We write ® to denote multiplication in R. This star multiplication is given explicitly as a cyclic convolution product,
fc-l N F®G=ff with = 52 FiGk-i53 FtG*' i^X (mod N)
When we do a multiplication modulo (say) <y, we mean to reduce the coefficients modulo q.
Remark. In principle, computation of a product F®G requires N2 multiplications. However, for a typical product used by NTRU, one of F or G has small coefficients, so the SUBSTITUTE SHEET (RULE 26) wowuoasu PCr/US97/1582« 31 computation of F φ G is very fast. On the other hand, if N is taken to be large, then it might be faster to use Fhsfc Fourier lYansforms to compute products F®G in O(N\o%N) operations. §1.2 Key Creation. To create an NTRU key, Dan randomly chooses K +1 polynomials /, gi,... ,gK 6 Es. The polynomial / must satisfy the additional requirement that it have inverses modulo q and modulo p. For suitable parameter choices, this will be true for most choices of /, and the actual computation of these inverses is easy using a modification of the Euclidean algorithm. We will denote these inverses by Fg and Fp, that is,
Fg ® / = 1 (mod q) and Fp ® f == 1 (mod p). (1)
Dan next computes the quantities hi == Fq®9i (mod q), 1 < i < K, (2)
Dan's public key is the list of polynomials (Aj.Aa,· .. ,Αχ).
Dan's private key is the single polynomial /, although in practice he will also want to store Fp. §1.3 Encoding. Suppose that Cathy (the encoder) wonts to send a message to Dan (the decoder). She begins by selecting a message m from the set of plaintexts £rn. Next she randomly chooses K polynomials φι,. .. , φχ E Εψ and uses Dan’s public key (Aj,... , Αχ) to compute κ e s ρΦί ® A* + m (mod q). t—1
Thia is the encoded message which Cathy transmits to Dan. §1.4 Decoding. -Suppose that Dan has received the message e from Cathy and wants to decode it using his private key ./. To do this efficiently, Dan should have precomputed the polynomial Fp described in Section 1.1.
In order to decode e, Dan first computes a s / ® e (mod q), where he chooses the coefficients of a in the interval from —q/2 to q/2. Now treating a as a polynomial with integer coefficients, Dan recovers the message by computing
Fp®a (mod p).
Remark. Fbr appropriate parameter values, there is an extremely high probability that the decoding procedure will recover the original message. However, some parameter choices may cause occasional decoding failure, so one should probably include a few check bits in each message block. The usual cause of decoding failure will be that the message is improperly centered. In this case Dan will be able to recover the message by choosing the coefficients of a s / @ e (rood q) in a slightly different interval, for example from —q/2 + τ to q/2 + x for some small (positive or negative) value of i. If no value of x works, then we say that we have gap failure and the message cannot be decoded as easily. For well-chosen parameter values, this will occur so rarely that it can be ignored in practice. ciidcTrnrrr eucrrmnitia WO $808323 PCT/US$7/15826 32 §1.5 Why Decoding Works. The polynomial a that Dan computes satisfies
<img img-format="tif" img-content="drawing" file="IL128552AD000215.tif" id="idf0015" />
κ f®e~^J ® ρφί ® + f ® m (mod g) <»1
X s f ® ρΦί ® F, ® gi 4- f ® m (mod q) from (2), <-i κ s Σ,ρΦι ® 9i + f ®m (mod q) from (1).
Consider this last polynomial κ ®9i + f®m.
ι—I
For appropriate parameter choices, we can ensure that (almost always) all of its coefficients lie between —y/2 and q/2, so that it doesn’t change If its coefficients axe reduced modulo q This means that when Dan reduces the coefficients of f ® e modulo q into the interval from —q/2 to y/2, he recovers exactly the polynomial
K α = ^ρφί®9ί + f ®m in 2^)/(^-1). i=l
Reducing a modulo p then gives him the polynomial / ® m (mod p), and multiplication by Fp retrieves the message rn (mod p). §2 Parameter Selection §2.1 Notation and a norm estimate. We define the width of an element F € R to be
|FL = max {F<} — min {/<}. 00 1£<<N
As our notation suggests, this is a sort of L°° norm on R. Similarly, we define a centered L2 norm on R by 1/2 where (Equivalently, |F|2 />/~N is the standard deviation of the coefficients of F.) SUBSTITUTE SHEET (RULE 26) 33 WO 98/08323 PCT/US97/1S826
Proposition. For any ε > 0 there are constants citC2 > 0, depending on ε. N and K, such that for randomly chosen polynomials Fi,... , Fk, Gj, ... , Gk 6 R, the probability is greater than 1 - ε that they satisfy
<img img-format="tif" img-content="drawing" file="IL128552AD000216.tif" id="idf0016" />
(3) i-1 t=l
Of course, this proposition would be useless from a practical veiwpoint if the ratio ca/ci were very large for small e'a. However, it turns out that even for moderately large values of N and K and very small values of e, the constants ci,C2 are not at ail extreme. We have verified this experimentally in a large number of situations and have an outline of a theoretical proof. §2.2 Sample spaces. As examples of typical sample spaces, we will take C.9 *= {g e R : g has coefficients between — (r — 1)/2 and (r — 1)/2 inclusive} It = (Φ ζ R · Φ has d coefficients equal 1, d coefficients equal —1, the rest 0} = {rn € R : m has coefficients between — (s — 1)/2 and (s — 1)/2 inclusive}
Later we will see that there are various constraints which r,d,s must satisfy in order to achieve security. We also note that every φ e £ψ has £2 norm = y/2d, while average elements g G £s and me Cm have L2 norms |g|2 = y/N(r2 - 1)/12 and |mj2 = \/N(s2 — 1)/12 respectively. To ease notation, we will write Eg,L^,,Lm for the average L2 norm of elements of Cg, £φ, £m respectively.
Although it is not strictly necessary, we will make the additional assumption that Lm « ρΕφ This assumption will make it easier to analyze possible lattice attacks, as well os making such attacks less effective. As an example, suppose we take d » N/4. Then we would take s t&amp;.Vftp· So the natural mod p information contained in m would have to be “thickened" by randomly adding and subtracting p to coefficients of m. §2,3 A decoding criterion. As described in §1.5, Dan will be able to decode the encoded message m provided that ® 9i + f ® ml^ < q. We can use the inequality (3) of the above Proposition (with K + 1 in place of K and for a suitably small choice of ej to estimate κ ^ρφΐ®9ί + f®m 1«1
K £ «a 52? + l/k lmla » caL,(KpL0 + ^m) 554 c2PLgL<t,(K 4- 1) using the assumption Lm » ρΙ>ψ
So In order to decode (with probability 1 — e), Dan needs to choose parameters satisfying the decoding constraint c2pLaL*(AT + l) < q. (4) c,mrrrnrce cur i, r WO 98/08323 PCT/US97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD000217.tif" id="idf0017" />
34 §3 Security Analysis §3.1 Meet-ln-the-middle attacks. For simplicity (and to aid the attacker), we assume K = 1, so an encoded message looks like e ξ φ ® h 4- m (mod q). Andrew Odlyzko has {jointed out that there is a meet-ln-tlie-middle attack which can be used against φ, and we observe that a similar attack applies also to the private key f. Briefly, one splits f in half, say / = /1 + /2. and then one matches Λ Φ e against —/2 ® e, looking for (/1, /2) so that the corresponding coefficients have approximately the same value. Hence in order to obtain a security level of (say) 280, one must choose /, g, and φ from sets containing around 2160 elements. §3.2 Multiple transmission attacks. Again for simplicity we assume that K = 1. We observe that if Cathy sends a single message m several times using the same public key but different random φ’δ, then the attacker Betty will be able to recover a large part of the message. Briefly, suppose that Cathy transmits ε &amp;®fi+m (mod 9) for t — 1,2,... , r. Betty can then compute (e< — ej ® h-1 (mod 9), thereby recovering φ, - φι (mod 9). However, the coefficients of the </>'s are so small that she recovers exactly 0, — </>j, and from this she will recover exactly many of the coefficients of φι. If r is even of moderate size (say 4 or 5), Betty will recover enough of Φι to be able to test all possibilities by brute force,thereby recovering m. Thus multiple transmission are not advised without some further scrambling of the underlying message. We do point out that even if Betty decodes a single message in this fashion, this information will not assist her in decoding any further messages. §3.3 Lattice based attacks.
We begin with a few words concerning lattice reduction. The goal of lattice reduction is to find one or more “small” vectors in a given lattice M- In theory, the smallest vector in Ά4 can be found by an exhaustive search, but in practice this is not possible if the dimension of M is large. The LLL algorithm of Lenstra-Lenstra^Lovasz [8], with various improvements due to Schnorr (11, 12] and others, will find small vectors of Λ4 in polynomial time, but for most lattices of large ( > 100, say) dimension, it will not find the smallest vector, and the gap between the smallest LLL-determinable vector and the actual smallest vector appears to increase exponentially with the dimension. In order to describe the security of NTRU from lattice attacks, wc consider the following tluree liypotheses on lattices of large dimension: (Kj) For most lattices M, the length σ(Λ4) of the smallest non-zero vector of Λ1 satisfies
Disc(Af)1^ dtro(A4) < σ(Μ) < Disc(A01/<nmGM).
Hence if v € Λ4 satisfies |v| > ./dim^ Dlsc(Ai)Vd<n>(A<), V ire then v will be hidden in a cloud of exponentially many vectors of approximately the same length. SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97/1S826 35 (Ha) Suppose that the lattice M has a vector w which is smaller than the shortest expected vector described by (Ηχ), but that M is otherwise a “random” lattice. If w satisfies |w| > «- Disc(yVf)v d,m(A4), then lattice reduction is highly unlikely to find w. (H3) Suppose we are in the situation of (Ha). Then the smallest non-zero vector V£££ computed by lattice reduction methods is almost certain to satisfy
Remark. The lattice reduction constant κ which appears in hypotheses (Ha) and (Hs) must be determined by experimentation and experience- This is similar to the situation with the RSA PKCS, where security rests on estimating current capabilities for factoring products pq. It is even more closely analogous to the PKCS described in (5), whose security is directly linked to the difficulty of finding small (almost orthogonalized) bases for lattices. Experiments with lattices of large ( > 100) dimension suggest that one can take κ as 1.5χ/ι0°. (See, for example, Jll] and (12].) And just os future advances in factorization will require the use of larger primes in the RSA PKCS, so future advances in lattice reduction will undoubtedly require using a smaller value of κ and correspondingly larger parameters in NTRU, We also mention that we will only need to assume hypotheses (Ha) and (Hs) for lattices of dimension greater than 700. For lattices of such high dimension, even the LLL algorithm with Schnorr’s block reduction improvement takes quite a long time. If we are willing to assume hypotheses (Ha) and (¾) for lattices of dimension around 300, we can choose NTRU parameters with even better operating characteristics. §3.3.1 Small lattice attack on the key f. We begin with what is probably the most natural lattice, namely we take any one of the Λ/s and search for the small vector / with the property that h,® f (mod q) is also small. To do this, we write h, = {hn,,.. , Jun] and consider the lattice M generated by the columns of the following matrix: λ 0 0 0 0 ... 0 0 λ 0 0 0 0 0 0 λ 0 0 . . . 0 hn hiN 9 0 ... 0 hn 0 9 . .. 0 hiN · · hi,N-l 0 0 ... 9
With an eye towards future notational convenience, we will write this matrix as
<img img-format="tif" img-content="drawing" file="IL128552AD000218.tif" id="idf0018" />
rf mr» WO 98/08323 PCT/US97/15826 36
The quantity λ will be chosen by the attacker to optimize the attack. We observe that Ad satisfies dim(Ad) = 2N and Disc (Ad) = XNqN.
There are two issues to consider. First, is the actual key f embedded in Ad as a short vector. Notice that M contains the target vector
Utfttg = [A/n i · · i hfi, Pii,..., (Jiff ], and knowledge of utMg allows recovery of f. However, we can compute the length of
<img img-format="tif" img-content="drawing" file="IL128552AD000219.tif" id="idf0019" />
|vt„8|2 = + 15,11 = L9y/X2 + 1.
Hypothesis (Ηχ) says that / is safe from attack if |^taxg|2 satisfies the inequality
In other words, we need
Lg v^A + A-1 >
The optimal Λ from the attacker’s viewpoint is λ = 1 (see Lemma A.l), since she wants to minimize the left-hand side. So we will be safe provided ire/.? , ,sy. (5) A second consideration is whether some other small vector in M might allow the attacker to decode the message. Thus any small vector [/',<?'] £ M has the property that f1 and hi® f* s g' (mod g) are both small. However, if the attacker computes
K e®f s ®hj® f + τη® f’ (mod q), only the term with j = i will have small coefficients modulo q. Hence an f' which makes a single h, small will not act as a decoding key. This suggests that we look at all of the h} 's simultaneously, which leads us to the next lattice. §3.3.2 J3ig lattice attack on the key /. Rather than using only one of the h/s, the attacker can instead form a lattice using some subset of the hfs. Relabeling, we will assume that the attacker uses hi,... ,hk for some 1 < k < K and forms the lattice Ad generated by the columns of the matrix /λί 0 0 o - · o\ hi qf 0 o ··· 0 0 qi o -·· 0 hi 0 0 ql 0 \hk 0 0 0 · ¢// SUBSTITUTE SHEET (RULE 26) WO 9088323 37 PCT/US97/15826 (We are using the abbreviated notation from the previous section.) This lattice satisfies dim(jW) = (fc + 1)N and Disc(A4) = XNqkN.
It contains the target vector (using the obvious shorthand)
Vtarg = [A/,¢1,52.-·· ,9fcl· (More precisely, the coordinates of f need to be reversed.) This target vector has length |vu,g|2 = \f\M\l + I01I2 + · · · IPfc 11 = L9\/A2 + k.
Hypothesis (Hj) says that lattice reduction will not be able to find vtttrg provided that its length satisfies
Ivt^la > x' d,m(An Disc(M)17 di,n(A4) V 7T€ _ K-(k+\)N + . Al/(fc+l) V ire
So we will be safe horn attack lf ID + fcA-2/(fc+i) > H* + w _ V we
As before, the attacker will choose A to minimize the left-hand side. Again it turns out that A = 1 gives the minimum (See Lemma A.l), so the actual key will be safe under Hypothesis (Ha) provided < *<™>Ν(6) §3.3.3 Big lattice attack on a spurious key /. Rather than searching for the true key /, the attacker might try to find some other key F which acts as a decoding key. In order to be a spurious key, F itself and also each of the products hj ® F (mod 9) must be small. More precisely, suppose that the attacker finds an F and computes
Gj = hj ® F (mod 9) for j = 1,2,... , K.
We would like to know that the width (L°° norm) of an expression
0ι φ Gi 4· 0j ® G2 + · - · + 0ft· ® Gk + m ® F is generally at least Wq for some wrapping factor W. (We will discuss in Section 4 the question of how large W must be for for the system to be secure.) cimrrmiTr cuerr rom c ->et 38
WO WWW PCTOJS97/15816
In order to try to find a spurious key F, the attacker will take the lattice Λ4 described in Section 3.3.2 and use lattice reduction techniques to find a small vector The smallest non-zero vector in /A is the vector vtarg — (A/, 9i,... , ρχ], so Hypothesis (Ha) says that |V££I.|2 > |utKg|3 .
Writing Vlll = (AF, Gi, G2,... , Gx], we find that x/A’IFIl + IGxlf-»--.· + |GKlj > Jk+1'nL9>/v/k.
The vector vlll obtained by lattice reduction will have components whose size is more-or-less randomly distributed. In particular, all of the lengths |AF|2 , |Gi |2 ,..., |Gx|a will be approximately the same, so we obtain (approximately)
On the other hand, we can use this and (3) to estimate |φι © Gj + Φ2 ® G2 + · ” + φκ ® όχ + m ® FJoo £ IGi|3 -)-----h ΙΦκΙ2 ' IGxh + Iml2 ' ^2) = ciL$(|Gx|2 h-----1- |G/f|2 + |F|2) >cx(KAl)L^LB/K^N.
So the spurious key will fail with wrapping factor W provided the parameters are chosen to satisfy
Wq < Cl (K + l)L^sKiK+l>*. (7) (This may be compared with the decoding inequality (4).)
§3.3.4 Big lattice attack on an individual message. There is one other sort of lattice attack which must be considered. Rather than looking for a key which decodes every message, an attacker can construct a lattice to search for an individual message. Consider the following lattice, which is similar to the one used in Section 3.3.2. Let M be the lattice generated t>y the columns ol the matr ix ζλί 0 0 0 ·· 0 °\ 0 XI 0 0 ··· 0 0 0 0 XI 0 ... 0 0 0 0 0 XI ··· 0 0 ph2 ph3 phK 'll) SUBSTITUTE SHEET (RULE 26) WO 908323 PCT/US97/15826 39
<img img-format="tif" img-content="drawing" file="IL128552AD000220.tif" id="idf0020" />
This lattice satisfies dim(jVf) = (K + 1)N and Disc(Ad) = \KNqN and contains (using the obvious notation) the vector [λφι,λφι, · · · »λψχ,β — mj. (8)
It contains this vector because the encoded message e was constructed according to the rule ρφϊ @Λι +pfa ® hj + ··· +ρΦκ ® h/f + m = e (mod q).
Clearly (8) is not likely to be a short vector, since the coefficients of e — m (mod ¢) will not be small. However, the attacker knows the value of e, so she can search for a vector in Λ4 which is close to the known non-lattice vector (0,0,... ,0,e). The distance from the sought for lattice vector and tbe known non-lattice vector is the length of the vector
Vurg = [λψι,λ^2,... ,λφκ,—τη].
This is an example of an inhomogeneous lattice problem. Inhomogeneous problems tend to be somewhat harder than homogeneous problems, but to err on the side of caution, we will assume that the attacker can solve Inhomogeneous problems to the exact same degree she can solve homogeneous problems. So we need to see if the attacker can find a vector of length |Vtargl3 = . (Remember that ,m|3 = p|0|2 for every m ζ £m and every φ 6 £¢.) According to Hypothesis (Ha), the attack will fail provided that |v,.rgl > A‘d'm(A4,y^^^Disc(Af)1/d,n,i>M), or in other words, lf L^/KA2^*1) +ρ2λ-2*Ακ+1> > ±_1)Ν 1)
The attacker will minimize the left-hand side by taking λ = p (see Lemma A.l), so the attack will fail provided 9V(X4-D < KIK+WL v<*+n (9)
This may be compared with (6), which it complements. ςΐΐρςττπ itt: cuee-rfotti c -»ca 40 WO 98/08323 PCT/US97/1M26 §3.3.5 Summary of lattice attack parameter constraints. In the preceding parts of this sectiou we have described various lattice attacks and devised constraints on the parameters which prevent these attacks from succeeding. There remains the question of whether there exist any choices of parameters which satisfy all of the constraints. For the convenience of the reader, we list here all of the inequalities from this section, together with the fundamental inequality (4) which is necessary if the owner of the true key J is to be able to decode messages.
CapLejL^(fC + 1) < q.
TteL„ q~ N ' for every 1 <k <K.
Wq <a(K + gi/(K+D < /™ρι/(Κ+υ (4) (5) (6k) (7) (9)
We observe that for any fixed values Ci, c2,p,L^ > 0 and ρ,κ, W > 1, there always exist solutions N, K,Lg,q to these inequalities. We now make a few remarks to assist in finding solutions.
We begin by combining these inequalities in various ways. First combining (4) and (7) gives (after some algebra) μα)
Note we have (essentially) no freedom in choosing clt c3, and n, and that W will be chosen between 5 and 10 depending on the level of security desired. This leaves the choice of p, which will normally be fairly small. The point here is that (10) gives a lower bound for (K + l)N over which we have very little control.
Next we combine (4) and (5) to get
c3p(K + 1)N ire (Π)
In order to have some flexibility in the choice of q, it is a good idea to take Lg to be (say) 1.5 to 2 times larger than this prescribed lower bound.
For example, if and £g are as described in Section 2.2, then «= y/2d and most g € £g aati&amp;iy |p|2 «w Lg = y/N(r2 —1)/12. So after using (11) to choose Lg, we can take r = \Lgy/l2/N), and then most g 6 £g will have L2 norm very close to the desired Lg. Further, since the code creator Dan is the only one who chooses elements from £a, and since these choices only need to be made once, it won’t be hard for him to And the necessary K + 1 polynomials in £g with norm approximately Lg\ and even with the length restriction, the number of such polynomials in £a is astronomically larger than an attacker can check via exhaustive search, since in practice rN tends to be at least 2B0°. SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97/15826
<img img-format="tif" img-content="drawing" file="IL128552AD000221.tif" id="idf0021" />
41 §4 Implementation Considerations §4.1 Security and Wrapping Factors. Recall that the wrapping factor W controls how much wrapping the attacker can expect when she uses a spurious key produced by lattice reduction. If W is too small, for example W = 1.5, then the attacker will be able to recover many (maybe even most) of the coefficients, because their values tend to cluster around the mean. More precisely, the attacker will recover (say) 0.957V linear equations for the N unkown coefficients, and then a brute-force search finishes the attack.
Coppersmith and Shamir [3] have observed that even if W Is a bit larger than this, say W ts 2.5, then the clustering allows the attacker to obtain approximately 0-677V linear equations for the N unknowns. They then observe that if the attacker constructs two independent spurious keys and applies them, she might obtain sufficiently many Independent equations to solve the system. They further note that if W «= 4, then using several ehort vectors might allow the attack to succeed by employing some sort of error-correcting technique, but that if W is as large as 10, then this sort of attack will not succeed. We refer the reader to [3] for details.
Based on these considerations, we will use a wrapping factor of W = 10 to construct sample operating parameters. §4.2 Sample Operating Parameters. In this section we will work out two sets of usable parameters for the NTRU PKCS which are secure under the hypotheses of Section 3. These parameter sets lead to a fairly high message expansion, so we refer the reader to Section 4.3 below for a two-stage version of NTRU which reduces the message expansion to a managable 2-to-l.
We begin with three values forced on us by experimental evidence, and a fourth value chosen to ensure sufficient wrapping to foil a spurious key attack: ci = 0.08, c2 = 0-24, W = 10 κ = 1.5,/l„°° « 1.0040628823.
The values of Ci and c2 have been determined by extensive numerical testing in the desired ranges; but we also have a fairly good idea how to give them a probabilistic justification. The wrapping factor W == 10 was discussed above in Section 4.1. Finally, the choice of the lattice reduction constant κ has already been discussed in the remark in Section 3.3, although to guard against future improvements in lattice reduction technology, the security conscious user might instead take κ = 1.31/100, with minor changes in the other parameters.
We consider first the choice p — 2. The inequality (10) from Section 3.3.5 tells us that we need to take (K + 1)N > 1009.79, so we will let N = 167 and K = 6. (It is convenient, but not necessary, to have N and (N -1)/2 both prime.) This choice will provide sufficient leeway for choosing the remaining coefficients.
We take £Φ as In Section 2.2 with d = 20, so = 1671/201 20! · 127! ss 2,es ”, which provides sufficient security against meet-in-the-middle attacks. Further, = et lorrm rr- «ι- »r»i n r* WO 98/08323 PCT/US97/1S826 42 \/2d « 6.325, and substituting these choices into (11) gives Ls > 414.07. To provide some leeway, we take r = 167, which makes the expected value of Lg equal to 622.98. Finally, our five fundamental inequalities from Section 3.3.5 tell us that q must satisfy 213«934 < q < maX|2H.27eei214.727e(2M.e»a 252.4eij (Of course, the inequality (6k) in Section 3.3.5 is really 6 inequalities, one for each 1 < Λ < 6.) Thus we can take q = 214 - 1 = 16383. (Note that gcd(p,g) = 1 is required.) To recapitulate, assuming the hypotheses of Section 3.3, the following parameters give a secure NTRU PKCS: TV =167, * = 6, q = 16383 = 214 - 1, p = 2, r = 167, d = 20, s = 3, where the sets £^,£g,£m are chosen as described in Section 2.2. For these parameters we have
Public key length ~ Nk log2 q — 14028 bits Private key length = TV log2 pr = 1400 bits Message expansion = log qf log p — 14-to-l
Using a similar analysis, we construct a second set of secure NTRU parameters with a larger value of p. These parameters seem well suited to current microprocessors, since all operations are on numbers smaller than 216, and q is a power of 2, so division by q with remainder is a simple shift operation. We take TV = 167, K = 6, g = 2w, p -3, r = 354, </ = 40, a-7.
These parameters give #£$ = 1671/40! · 401 · 87! ~ 2239·3, and
Public key length = NK loga q — 16032 bite Private key length = TVlog2pr = 1678 bits Message expansion = log g/log p = 10.1-to-l §4.3 Two-Stage NTRU and Improved Message Expansion. The NTRU PKCS’s for the sample parameters presented in Section 4.2 have rather large message expansions. One method to decrease this expansion is to use a larger value of p, but this leads to significantly larger values for (K + 1)TV, which in turn increases both key sizes and decreases computational efficiency.
Another method to decrease message expansion is to use each NTRU message as a sort of one-time-pad to encode the actual message. In this two-stage version of NTRU, the encoder Cathy chooses a random polynomial τη 6 £m, while her actual plaintext message Af is allowed to be any polynomial modulo q. To encode her message, she computes the two quantities κ e e ρφι ® hi + m (mod q) and E = m ® h2 + M (mod q). SUBSTITUTE SHEET (RULE 26) WO 98/08323 43 PCT/US97/15826
Tlie encoded message is the pair (e,E).
The decoding process is similar to before, but with one extra step. Thus the decoder Dan follows the procedure described in Section 1.4 to compute the polynomial m. He then recovers the message by computing E — m®ki (mod q).
We observe that the plaintext message M has length Nlog2g bits, while the encoded message (e, E) has length 2JVlog3g bits, so message expansion is down to 2-to-l.
We make one further remark. Cathy is using the same polynomial and modulus to encode both m and M. We do not believe that this compromises security, but for added security she could compute E = m®H+M (mod Q) for a different (public) polynomial H and modulus Q. §4.4 Theoretical Operating Specifications. In this section we consider the theoretical operating characteristics of the NTRU PKCS. There are four integer parameters (TV, K,p, q), three sets £?,£^,£m determined respectively by integers r.d, s as described in Section 2.2, three experimentally determined constants cltC2, κ, and a wrapping constant W. To ensure security, these parameters must be chosen to satisfy the inequalities listed in Section 3.3.5. The following table summarizes the NTRU PKCS operating characteristics in terms of these parameters.
Plain Text Block N log2 p bits Encoded Text Block TVlog2 q bits Encoding Speed* O(KW’) operations Decoding Speed O(TV2) operations Message Expansion logpg-tol Private Key Length TVlog2pr bits Public Key Length KN log2 q bits * Precioely, 4KNa additions and KN divisions by q with remainder For Two-Stage NTRU as described in Section 4.4, the following items change:
Plain Text Block N logj q bits Encoded Ibxt Block 2TV log2 q bits Message Expansion 2-to-l §4.5 Other Implementation Considerations. We briefly mention some additional factors which should be considered when implementing NTRU. (1) It is important that gcd(g, p) = 1. Although in principle NTRU will work without this requirement, in practice having gcd(g, p) > 1 will decrease security. At the extreme range, if p\q, then (exercise) the encoded message e satisfies e = m (mod p), so it is completely insecure. *·« »r- fni u r 44 WO 98/08323 PCTRJS97/1S826 (2) We want most /*8 to have inverses modulo p and modulo q, since otherwise it will be hard to create keys. A first necessary requirement is that gcd(/(l), p</) = 1, but if this fails for some chosen /, the code creator can instead use, say, f(X) + 1 or f(X) — 1. Assuming gcd(/(l),pg) = 1, virtually all /’s will have the required inverses if we take N to be a prime and require that for each prime P dividing p and q, the order of P in (Ζ/ΑΓΖ)’ is large, say either N — 1 or (N — 1)/2. For example, this will certainly be true if (N — 1)/2 is itself prime (i.e., N is a Sophie Germain prime). Examples of such primes include 107 and 167.
§5 Moderate Security Parameters For NTRU
There are many situations in the real world where high speed and/or low memory requirements axe important and a moderate level of security is acceptable. In this context, we observe that actual lattice reduction methods [11, 12] are extremely CPU intensive and that, in practice, it requires a large expenditure of computer time to perform a lattice reduction on a lattice of dimension 200 to 300. Of course, “large” here is a relative term, but it would probably not be worthwhile to perform a 300 dimensional lattice reduction to steal something worth a fraction of a cent, and it would certainly be very expensive (if not completely infeasible) using current methods to perform such a lattice reduction in a short period of time (say a few minutes). Thus it is worthwhile creating a set of NTRU parameters which can be used in situations where one is willing to allow the possibility of large dimensional lattice attacks.
If we eliminate the parameter constraints coming from lattice attacks, we are left with only the decoding constraint 02ρΒ9Εφ(Κ + 1) < q (4) and the condition that the search spaces for /, g, and φ are large enough to prevent a brute-force (or possibly a meet-ln-the-middle) attack. For simplicity, we will take K = 1. We will take all of f,g,4> to be in the set £¢, which is the set of polynomials with d coefficients equal to 1, d coefficients equal to —1, and the other N — 2d coefficients equal to 0. (More precisely, since we need / to be invertible modulo p und q, we will take / to have an extra 1 coefficient, but this will have little effect on the subsequent analysis, so we will ignore it.) Using c2 = 0.24 as usual, the decoding constraint becomes simply q > 2pd. (4)
Our other constraint is f N λ - > 23g \d,dtN — 2dJ (dl)2(AT - 2d)l “ ’ where a is the desired security level. We note that for moderate security implementations, a security level of around 240 will generally suffice, so we will take σ « 40.
The following table gives some acceptable operating parameters for a moderate security implementation of NTRU. In evaluating the security, we note that available lattice attacks use a lattice of dimension 2N. We also note that the listed value of q is the smallest SUBSTITUTE SHEET (RULE 26) 45 WO 9808323 PCT/US97/IS826
<img img-format="tif" img-content="drawing" file="IL128552AD000222.tif" id="idf0022" />
allowed, but that &amp; somewhat larger q satisfying gcd(p, q) = 1 is acceptable. In particular, especially fast implementations are available by taking q = 64. N d σ V 7 107 9 41.11 2 37 107 9 41.Π 3 55 1Θ7 7 38.98 2 29 167 7 38.98 3 43 263 7 43.72 2 29 263 7 43.72 3 43
Finally, we observe that the key sizes are very small,
Public Key: Nloga(q) bits Private Key: 2Nloga(p) bits
For example, (JV, d,p,q) — (167,7,3,64) gives a system with public and private keys of lengths 1002 bits and 530 bits respectively. §6 Comparison With Other PKCS’s
There are currently a number of public key cryptosystems in the literature, including the system of Rivest, Shamir, and Adelman (RSA [10]) based on the difficulty of factoring, the system of McEliece [9] based on error correcting codes, and the recent system of Goldreich, Goldwasser, and Halevi (GGH [5]) based on the difficulty of finding short almost-orthogonalized bases in a lattice.
The NTRU system has some features in common with McEliece’s system, in that ®-multlplicatlon in the ring R can be formulated as multiplication of matrices (of a special kind), and then encoding in both systems con be written as a matrix multiplication E — AX + Y, where A is the public key. A minor difference between the two systems is that for an NTRU encoding, Y is the message and X is a random vector, while the McEliece system reverses these assignments. But the real difference is the underlying trap-door which allows decoding. For the McEliece system, the matrix A is associated to an error correcting (Goppa) code, and decoding works because the random contribution is small enough to be “corrected” by the Goppa code. For NTRU, the matrix A is a circulant matrix, and decoding depends on the decomposition of A into a product of two matrices having a special form, together with a lifting from mod q to mod p.
As far as we can tell, the NTRU system has little in common with the RSA system. Similarly, although the NTRU system must be set up to prevent lattice reduction attacks, its underlying decoding method is very different from the GGH system, in which decoding is based on knowledge of short lattice bases. In this aspect, GGH actually resembles the McEliece system, since in both cases decoding is performed by recognizing and eliminating a small random contribution. Contrasting this, NTRU eliminates a much largor random contribution via divisibility (i.e., congruence) considerations. diwcrmiTC turn-ro» π c no WO 98/08323 rCT/US97/15826 46
The following table compares some of the theoretical operating characteristics of the RSA, McEliece, GGH, and NTRU cryptosystems. In each case the number N represents a natural security/message length parameter. NTRU RSA McEliece GGH Encoding Speed N2 N2 N2 N2 Decoding Speed N2 N3 N2 N2 Public Key N N N2 N2 Private Key N N N2 N2 Message Expansion 2-1 1-1 2-1 1-1 SUBSTITUTE SHEET (RULE 26) WO 98/08323 PCT/US97/15826 47 appendix A. An Elementary Lemma
The following result Is useful for optimizing lattice attacks.
Lemma A.l. For all A, Β, α, β > 0 with a + /3 = 1, inf Ax° + Bx~0 z>0 A0Ba with the infimum occurring at x — 0BfaA.
Proof. Let f(x} = Ax* + Βχ~β. Then /'(x) = αΑχΛ~ι - 0Bx~p~x = χ?+1(αΑχ - 0B). So the absolute minimum is at x — 0B/aA. (Note that f(x) —» oo as x —► 0+ and as X —» oo.)
References 1. M. Blum, S. Goldwasscr, An efficient probabilistic public-key encryption scheme which hides all partial information, Advances in Cryptology·. Proceedings of CRYPTO 84, Lecture Notes in Computer Science, vol. 196, Springer-Veriag, 1985, pp. 289-299. 2. H. Cohen, A course in computational algebraic number theory, Graduate Texts in Math., vol. 138, Springer Veriag, Berlin, 1993. 3. D. Coppersmith, A. Shamir, Lattice attacks on NTRU, Preprint, April 5, 1997; presented at Eurocrypt 97. 4. W. Diffie, M.E. Heilman, New directions in cryptography, IEEE Trans, on Information Theory 22 (1976), 644-654. 5. 0. Goldreich, S. Goldwasser, S. Halevi, Public-key cryptosystems from lattice reduction problems, MIT - Laboratory for Computer Science preprint, November 1996. 6. S. Goldwasser and A. Micali, Probabilistic encryption, J. Computer and Systems Science 28 (1984), 270-299. 7. J. HofFstein, J: Pipher, J.H. Silverman, NTRU: A new high speed public key cryptosystem, Preprint; presented at the rump session of Crypto 96. 8. A.K. Lenstra, H.W. Lenstra, L. Loviz, Factoring polynomials with polynomial coefficients, Math. Annalen 261 (1982), 515-534. 9. R.J. McEliece, A public-key cryptosystem based on algebraic coding theory, JPL Pasadena, DSN Progress Reports 42—44 (1978), 114-116. 10. R.L. Rivest, A. Shamir, L. Adleman, A method for obtaining digital signatures and public key cryptosystems, Communications of the ACM 21 (1978), 120-126. 11. C.P. Schnorr, Block reduced lattice bases and successive minima, Combinatorics, Probability and Computing 3 (1994), 507-522. 12. C.P. Schnorr, H.H. Hoerner, Attacking the Chor Rivest cryptosystem by improved lattice reduction, Proc. EUROCRYPT 1995, Lecture Notes in Computer Science 921, Springer-Veriag, 1995, pp. 1-12. 13. D. Stinson, Cryptography: Theory and Practice, CRC Press, Boca Raton, 1995. sunsTmtTF «jwfpt ram
Contents6
19 members in 10 offices
Priority claims7
| Document | Office | Kind | Date |
|---|---|---|---|
| 2413396 | United States of America | P | |
| 2413396 | United States of America | P | |
| 9715826 | United States of America | W | |
| 9715826 | United States of America | W | |
| 02413396P | – | – | – |
| US19960024133P | – | – | – |
| WO1997US15826 | – | – | – |
Members19
| Document | Office | Kind | |
|---|---|---|---|
| CA2263588A1 | Canada | A1 | |
| WO9808323A1 | World Intellectual Property Organization (WIPO) | A1 | |
| AU4582897A | Australia | A | |
| EP0920753A1 | European Patent Office (EPO) | A1 | |
| CN1232588A | China | A | |
| IL128552D0 | Israel | D0 | |
| AU716797B2 | Australia | B2 | |
| US6081597A | United States of America | A | |
| HK1021855A1 | Hong Kong, China | A1 | |
| JP2000516733A | Japan | A | |
| US6298137B1 | United States of America | B1 | |
| IL128552AThis record | Israel | A | |
| CN1172474C | China | C | |
| EP0920753A4 | European Patent Office (EPO) | A4 | |
| CA2263588C | Canada | C | |
| EP0920753B1 | European Patent Office (EPO) | B1 | |
| DE69737097D1 | Germany | D1 | |
| DE69737097T2 | Germany | T2 | |
| JP4068664B2 | Japan | B2 |
5 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Patent not in force due to non-payment of renewal feesMM9K | MM9K | |
| Patent renewedKB | KB | |
| Patent renewedKB | KB | |
| Patent renewedKB | KB | |
| Patent grantedGrantedFF | FF |
Numbers
- Publication, DOCDB
- 128552
- Publication, EPODOC
- IL128552
- Application
- 12855297
- Application, DOCDB
- 12855297
- Application, EPODOC
- IL19970128552
Titles
- English
- PUBLIC KEY CRYPTOSYSTEM METHOD AND APPARATUS
Classification
- CPC, 1
- H04L9/3093
- IPC, 2
- H04L9 30
- G09C1 00