This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2010-275160, filed on Dec. 9, 2010; the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a decompressing apparatus and a compressing apparatus for elements over a finite field.
Some of public key encryptions are configured by use of a subset of a finite field (a set of numbers; the four arithmetic operations are possible by only the elements in the set). Assuming that the number of elements in the subset is A and the number of elements in the finite field is B, A≦B is given. For example, A=2^160 and B=2^1024 are used for the public key encryptions. Generally, the number of bits required for expressing X elements is log—2X bits. However, although only A elements in the subset are used for the existing public key encryptions, some encryption systems require log—2B bits for expressing the elements.
Elements in a subset of a finite field, which is called algebraic torus, can be expressed with a small number of bits. There is known that when the order of an extension field to which the algebraic torus belongs is a product of powers of two prime numbers p and q, n=(p^m)×(q^w), at most, a compression rate (=the number of bits after compression/the number of bits before compression) is φ(n)/n. Herein, φ is Euler's function.
There is also known a method for realizing the compression rate of 1/4 and the compression rate of 1/6. According to the method, further compression is performed by obtaining data D1 in which the elements in an algebraic torus subset are compressed, and obtaining data D2, which is the partly deleted data D1, and an additional bit. Then, multivariable simultaneous equations obtained by a conditional equation of the algebraic torus subset and a relationship between the data D1 and the data D2 are solved so that candidates of the data D1 corresponding to the data D2 are obtained and the compressed data D1 is determined by using the additional bit.
In general, according to one embodiment, a decompressing apparatus includes an input unit, a calculating unit, a first selecting unit, and a decompressing unit. The input unit inputs additional data, which is obtained based on trace expression data in which an element in a subgroup of a multiplicative group of a finite field is trace-expressed and affine expression data in which the trace expression data is affine-expressed, and the trace expression data. The calculating unit calculates a plurality of solutions of simultaneous equations derived by the trace expression data. The first selecting unit selects any of a plurality of items of affine expression data in which the element is affine-expressed based on the additional data, the affine expression data being found from the solutions. The decompressing unit decompresses the selected affine expression data to the element.
Exemplary embodiments of a decompressing apparatus will be described below in detail with reference to the accompanying drawings.
First Embodiment
Limitations different from those of the conventional technique are imposed on modulus polynomials so that a compressing apparatus and a decompressing apparatus according to a first embodiment are efficiently configured. In the present embodiment, an element of a finite field expression of algebraic torus is expressed by a trace expression and an additional bit to compress the expression, and the compressed expression is decompressed to the element of the finite field expression of the algebraic torus by the solutions of multivariable simultaneous equations determined by the trace expression and the additional bit. When the multivariable simultaneous equations are solved, a plurality of elements of the finite field expression of the algebraic torus, which are candidates to be decompressed, are obtained so that the additional bit is used to determine the element before the compression.
(1) Structure of Algebraic Torus
First, terms and notations used in the respective embodiments will be explained. Fpm indicates a finite field having p^m elements, and is called an m-th degree extension field of Fp. For example, F3m indicates an m-th degree extension field of a finite field F3 having three elements. In the case of a0, a1, . . . , an ε Fq, the polynomial F(x)=a0+a1×x+ . . . +an×x^n is called a polynomial over Fq. The polynomial over Fq may be expressed as F(x)=a0+a1×x+ . . . +an×x^n over Fq. Herein, “a^b” indicates the b-th power of a. In the following, the b-th power of a may be expressed as ab.
Assuming that n is an odd number of n≡5 (mod 12) and q=3^n is given, a finite field Fq will be considered. At this time, q≡5 (mod 7) is obtained. By using Φ7=x^6+x^5+x^4+x^3+x^2+x+1 as a modulus polynomial, a sixth degree extension field of the finite field Fq is considered. The modulus polynomial is not limited to the above-described one, and may be another polynomial such as Φ9=x^6+x^3+a1.
In this case, x^q=x^5, x^{q^2}=x^4, x^{q^3}=x^6, x^{q^4}=x^2, x^{q^5}=x^3 are established over Fq6. The algebraic torus T6 (Fq) over the sixth degree extension field Fq6 has a subgroup having the order of q−√(3q)+1. Since q is an odd-number-th power of 3, √(3q) is an integer. Here, it is assumed √(3q)=t.
The trace map Tr:Fq6→Fq is defined in the equation (1). Tr(g) is called a trace expression of g.
Tr(g)=g+g^q+g^{q^2}+g^{q^3}+g^{q^4}+g^{q^5} (1)
An affine transform map Af:Fq6→Fq3 and an affine transform inverse map Af^{−1}:Fq3→Fq6 are defined in the equation (2).
Af(g)=(G1+1)/G2,
Af^{−1}(Af(g))=(Af(g)+z)/(Af(g)+z^q) (2)
where z:=x+x^{q^2}+x^ {q^4}=x+x^2+x^4 and g:=a0+a1×x+a2×x^2+a3×x^3+a4×x^4+a5×x^5=(a0+a3×x^3+a5×x^5)+(a1×x+a2×x^2+a4×x^4)=G1+G2×z (where, G1, G2εFq3). Af(g) is called an affine expression of g.
(2) Structure of Compressing Apparatus
An exemplary structure of the compressing apparatus and the decompressing apparatus according to the first embodiment will be described.
The input unit 101 is directed for inputting an element in an algebraic torus subset to be compressed. The first transforming unit 102 transforms the input element into trace expression data expressed in a trace expression. In the following, the trace expression data will be simply called trace expression. The first transforming unit 102 transforms the input element into the trace expression by the trace map Tr.
The second transforming unit 103 transforms the input element into affine expression data expressed in an affine expression. In the following, the affine expression data will be simply called affine expression. The second transforming unit 103 transforms the input element into the affine expression by the affine transform map Af.
The additional bit deciding unit 104 decides an additional bit based on the trace expression data in which the element in the subgroup of the multiplicative group of the finite field (the algebraic torus of the finite field expression) is trace-expressed and the affine expression data in which the element in the subgroup of the multiplicative group of the finite field is affine-expressed. The additional bit deciding unit 104 decides additional data (hereinafter referred to as additional bit below) for finding the affine expression from the solutions of predetermined simultaneous equations based on the trace expression and the affine expression. In other words, the additional bit is decided based on the candidates of the affine expression obtained by decompressing the trace expression data in which the element in the subgroup of the multiplicative group of the finite field (the algebraic torus of the finite field expression) is trace-expressed and the affine expression data in which the element in the subgroup of the multiplicative group of the finite field (the algebraic torus of the finite field expression) is affine-expressed.
The output unit 105 outputs the trace expression and the additional bit. The storing unit 121 stores information used for finding previously-derived equations to be used for deciding the additional bit.
Subsequently, compression processing by the compressing apparatus 100 with the above structure according to the first embodiment will be described with reference to
The input unit 101 inputs an element g in an algebraic torus subgroup (step S101). The first transforming unit 102 inputs g into the trace map to calculate the trace expression Tr(g) (step S102). The second transforming unit 103 inputs g into the affine map to calculate the affine expression of (α+1, β+1, γ+1)εFq3 (step S103). The additional bit deciding unit 104 decides multivariable simultaneous equations derived by the conditions for the trace expression and the algebraic torus and the condition for the finite field (step S104). The additional bit deciding unit 104 solves the multivariable simultaneous equations to decide the additional bit (step S105). Specifically, the additional bit deciding unit 104 solves the multivariable simultaneous equations to obtain six solutions {(ai, bi, ci)}_{i=1, . . . , 6}, arranges the six solutions in descending order to decide the i-th element coincident with the affine expression of g, and consequently decides i as the additional bit. The output unit 105 outputs the trace expression and the additional bit (Tr(g), i) (step S106). Any method that can discriminate the six solutions may be used for deciding the additional bit not only by arranging and deciding the six solutions in descending order but also by arranging and deciding them in ascending order.
In the present embodiment, the compression at the compression rate of 1/6 can be realized by the trace map Tr:Fq6→Fq. i can be expressed by three bits due to 1≦i≦6. In other words, the additional bit i rarely affects the compression rate of 1/6.
The method for deriving the multivariable simultaneous equations (step S104) and the method for solving the multivariable simultaneous equations (step S105) can be achieved with the same structure as a decompressing apparatus 200. The respective processing will be described in detail along with the structure of the decompressing apparatus 200.
(3) Structure of Decompressing Apparatus
The input unit 201 inputs the trace expression and the additional bit output from the compressing apparatus 100. The calculating unit 210 derives the multivariable simultaneous equations from the input trace expression and calculates the solutions of the multivariable simultaneous equations. The calculating unit 210 comprises a first equation deriving unit 211, a first solution finding unit 212, a second equation deriving unit 213, a second solution finding unit 214, a third equation deriving unit 215 and a third solution finding unit 216.
The first equation deriving unit 211 derives the first equation obtained by inputting the input trace expression data into a preset coefficient in a previously-found k1-th (k1 is a preset integer of 1 or more) degree equation over the finite field Fq. An example in which the first equation as a quadric equation (k1=2) is derived will be described below. The first solution finding unit 212 finds the solutions of the first equation.
The second equation deriving unit 213 derives the second equation obtained by inputting at least one of the solutions found by the first solution finding unit 212 into a preset coefficient in a previously-found k2-th (k2 is a preset integer of 1 or more) degree equation over the finite field Fq. An example in which the second equation as a cubic equation (k2=3) is derived will be described below. The second solution finding unit 214 finds the solutions of the second equation.
The third equation deriving unit 215 derives the third equation obtained by inputting at least one of the solutions found by the first solution finding unit 212 and the solutions found by the second solution finding unit 214 into a preset coefficient in a previously-found k3-th (k3 is a preset integer of 1 or more) degree equation over the finite field Fq. An example in which the third equation as a linear equation (k3=1) is derived will be described below. The third solution finding unit 216 finds the solutions of the third equation.
The first selecting unit 202 finds a plurality of affine expressions from the plurality of solutions calculated by the calculating unit 210 and selects any affine expression corresponding to the additional data from among the found affine expressions. The decompressing unit 203 decompresses the selected affine expression to the element in the algebraic torus subgroup before the compression. The decompressing unit 203 transforms the affine expression into the pre-compression element by the affine transform inverse map Af^{−1}. The output unit 204 outputs the decompressed element in the algebraic torus subgroup.
The storing unit 221 stores information for finding previously-derived equations used for deciding the additional bit as the storing unit 121 in the compressing apparatus 100 does. The storing unit 121 and the storing unit 221 may be configured of any generally-used storage medium such as HDD (Hard Disk Drive), optical disk, memory card or RAM (Random Access Memory).
Decompression processing by the decompressing apparatus 200 with the above structure according to the first embodiment will be described with reference to
The input unit 201 inputs the trace expression TεFq and the additional bit jεF2^3 (step S201). The calculating unit 210 derives the multivariable simultaneous equations from the input trace expression and calculates the solutions of the multivariable simultaneous equations (step S202). The calculation processing by the calculating unit 210 will be detailed below.
The first selecting unit 202 selects (decides) the affine expression based on the calculated solutions and the input additional bit (step S203). The decompressing unit 203 decompresses the affine expression to the element g in the algebraic torus subgroup (step S204). The output unit 204 outputs the element g in the algebraic torus subgroup which is obtained by the decompression (step S205).
The calculation processing by the calculating unit 210 in step S202 will be detailed below.
First, the first equation deriving unit 211 derives the quadric equation A(x) expressed in the equation (3) (step S202).
A(x):x^2+(T^{t−2}+1)^{−1}=0over Fq (3)
The first equation deriving unit 211 reads the information for finding the above A(x) from the storing unit 221, for example. The information contains relationships between coefficients and variables and information for specifying a preset coefficient for inputting the trace expression. The first equation deriving unit 211 inputs the trace expression input into the preset coefficient to decide A(x) with reference to the information. The first equation deriving unit 211 sends the decided A(x) to the first solution finding unit 212.
Assuming that a desired affine expression is (α+1, β+1, γ+1), the quadric equation A(x) has the root of α+β+γ. A procedure of deriving the quadric equation A(x) will be described later.
When A(x) is input, the first solution finding unit 212 uses the Berlekamp algorithm or the like to factorize A(x) over Fq, and consequently finds the solutions a1 and a2 for A(x)=0. The first solution finding unit 212 sends the found solutions a1 and a2 to the second equation deriving unit 213 and the third equation deriving unit 215.
When the solutions a1 and a2 are input, the second equation deriving unit 213 derives the cubic equations B(x) and C(x) expressed by the equations (4) and (5).
B(x):x^3−a1×x^2−(a1^2−1)x−Z(a1)=0 over Fq (4)
C(x):x^3−a2×x^2−(a2^2−1)x−Z(a2)=0 over Fq (5)
where Z(x)=x^3−Y(x)+(x×Y(x)−Y(x)^2−1)/x^3 over Fq and Y(x)=(−1−x^2)/x^t−x over Fq.
The second equation deriving unit 213 sends B(x) and C(x) to the second solution finding unit 214.
Assuming that a desired affine expression is (α+1, β+1, γ+1), one of the cubic equations has the root of β. Procedures of deriving the cubic equations B(x) and C(x) will be described later.
When B(x) and C(x) are input, the second solution finding unit 214 uses the Berlekamp algorithm or the like to factorize B(x) and C(x) over Fq, and consequently finds the solutions b1, b2, b3 for B(x)=0 and the solutions c1, c2, c3 for C(x)=0. The second solution finding unit 214 sends the solutions (b1, b2, b3) and (c1, c2, c3) to the third equation deriving unit 215.
When (a1, a2), (b1, b2, b3) and (c1, c2, c3) are input, the third equation deriving unit 215 derives the linear equations D(x), E(x), F(x), G(x), H(x) and I(x) expressed in the equations (6) to (11).
D(x):(−b1^{2}+(a1+(1/a1))×b1)×x+Z(a1)+(−a1+(1/a1))×b1^2−(Y(a1)/a1)×b1=0 over Fq (6)
E(x):(−b2^{2}+(a1+(1/a1))×b2)×x+Z(a1)+(−a1+(1/a1))×b2^2−(Y(a1)/a1)×b2=0 over Fq (7)
F(x):(−b3^{2}+(a1+(1/a1))×b3)×x+Z(a1)+(−a1+(1/a1))×b3^2−(Y(a1)/a1)×b3=0 over Fq (8)
G(x):(−c1^{2}+(a2+(1/a2))×c1)×x+Z(a2)+(−a2+(1/a2))×c1^2−(Y(a2)/a2)×c1=0 over Fq (9)
H(x):(−c2^{2}+(a2+(1/a2))×c2)×x+Z(a2)+(−a2+(1/a2))×c2^2−(Y(a2)/a2)×c2=0 over Fq (10)
I(x):(−c3^{2}+(a2+(1/a2))×c3)×x+Z(a2)+(−a2+(1/a2))×c3^2−(Y(a2)/a2)×c3=0 over Fq (11)
The third equation deriving unit 215 sends D(x), E(x), F(x), G(x), H(x) and I(x) to the third solution finding unit 216.
Assuming that a desired affine expression is (α+1, β+1, γ+1), one of the linear equations has the root of γ. Procedures of deriving the linear equations D(x), E(x), F(x), G(x), H(x) and I(x) will be described later.
When D(x)=0, E(x)=0, F(x)=0, G(x)=0, H(x)=0 and I(x)=0 are input, the third solution finding unit 216 finds the solutions d, e, f, g, h and i. The third solution finding unit 216 sends six combinations of solutions (a1−b1−d, b1, d), (a1−b2−e, b2, e), (a1−b3−f, b3, f), (a2−c1−g, c1, g), (a2−c2−h, c2, h) and (a2−c3−i, c3, i) from the above solutions and the solutions b1, b2, b3, c1, c2, c3 of the cubic equations B(x) and C(x) to the first selecting unit 202.
When the six combinations of solutions and the additional bit j (1≦j≦6) are received, the first selecting unit 202 calculates (a1−b1−d+1, b1+1, d+1), (a1−b2−e+1, b2+1, e+1), (a1−b3−f+1, b3+1, f+1), (a2−c1−g+1, c1+1, g+1), (a2−c2−h+1, c2+1, h+1) and (a2−c3−i+1, c3+1, i+1), each element in the six combinations of solutions being added with 1. The first selecting unit 202 arranges the calculated six solutions according to a predetermined rule. The solutions are arranged in descending order in the following, but the rule is not limited to that.
The first selecting unit 202 selects the j-th largest value from among the six arranged solutions. The value corresponds to the desired affine expression. The first selecting unit 202 sends the selected value (affine expression) to the decompressing unit 203.
The decompressing unit 203 transforms the received affine expression into the finite field expression of the algebraic torus subgroup by the affine transform inverse map Af^{−1}, and outputs the finite field expression.
In this way, the compressing apparatus and the decompressing apparatus according to the first embodiment can be efficiently realized for the modulus polynomials which cannot efficiently configure a decompressed map in the conventional method. In the compressing apparatus and the decompressing apparatus according to the present embodiment, Tr(g′) can be calculated not by decompressing the trace expression Tr(g) but by operating the additional bit by use of the property that the trace expressions Tr(g) and Tr(g′) are identical for a certain element g over the algebraic torus subgroup and an element g′ obtained by calculating a Frobenius map.
Second Embodiment
A decompressing apparatus according to a second embodiment uses part of additional bits to narrow equations to be solved. Thus, compression and decompression can be more efficiently performed. The structure of algebraic torus is the same as that of the first embodiment and thus an explanation thereof will be omitted.
(1) Structure of Compressing Apparatus
The second embodiment is different from the first embodiment in the function of the additional bit deciding unit 104-2. Other structures and functions are the same as those of the compressing apparatus 100 according to the first embodiment illustrated in the block diagram of
Additional bit decision processing by the additional bit deciding unit 104-2 according to the second embodiment will be described below.
When the first transforming unit 102 and the second transforming unit 103 calculate the trace expression Tr(g) and the affine expression (α+1, β+1, γ+1) (step S102, step S103 in
Then, the additional bit deciding unit 104-2 derives the cubic equation based on the trace expression, the sums of elements in the affine expression, the condition for the torus, and the condition for the finite field. The additional bit deciding unit 104-2 derives the linear equation based on the solutions of the cubic equation and finds three candidates for the affine expression. The additional bit deciding unit 104-2 arranges the found candidates in descending order, compares them with the affine expression of g, and when the candidate coincides with i2-th (1≦i2≦3) element, decides i2 as the additional bit 2. The output unit 105 outputs the additional bits i1 and i2 together with the trace expression.
The methods for deriving the quadric equation, the cubic equation and the linear equation and finding their solutions can be realized in the same structure as that of a decompressing apparatus 200-2 described below.
(2) Structure of Decompressing Apparatus
The second embodiment is different from the first embodiment in the functions of the calculating unit 210-2 and the first selecting unit 202-2. The other structures and functions are the same as those of the decompressing apparatus 200 according to the first embodiment illustrated in the block diagram of
The calculating unit 210-2 further comprises a second selecting unit 217. The functions of the first equation deriving unit 211 and the first solution finding unit 212 are the same as those in the first embodiment, and thus are denoted by the same reference numerals and an explanation thereof will be omitted.
The second selecting unit 217 uses the additional bit 1 (i1) among the input additional bits to select the i1-th solution when the solutions obtained by the first solution finding unit 212 are arranged in descending order.
The second equation deriving unit 213-2 uses the solution selected by the second selecting unit 217 to derive the second equation. The second solution finding unit 214-2 finds the solutions of the second equation. The third equation deriving unit 215-2 derives the third equation obtained by inputting at least one of the solution selected by the second selecting unit 217 and the solutions found by the second solution finding unit 214-2. The third solution finding unit 216-2 finds the solutions of the third equation.
The first selecting unit 202-2 is different from the first selecting unit 202 according to the first embodiment in that the additional data i2 among the items of additional data is used to select a solution.
Calculation processing by the calculating unit 210-2 according to the second embodiment will be described below in detail.
When the trace expression TεFq and the additional bit (i1, i2)εF2×F2^2 are input, the input unit 201 sends the trace expression T to the first equation deriving unit 211. The first equation deriving unit 211 derives the quadric equation A(x) by the above processing, and sends it to the first solution finding unit 212. The first solution finding unit 212 factorizes A(x) over Fq to find the solutions a1 and a2 for A(x)=0, and sends the solutions a1 and a2 to the second selecting unit 217.
When the solutions a1, a2 and the additional bit 1(i1) are input, the second selecting unit 217 arranges the solutions a1 and a2 in descending order, selects the i1-th element as a and sends it to the second equation deriving unit 213-2 and the third equation deriving unit 215-2.
When the solution a is input, the second equation deriving unit 213-2 derives the cubic equation B(x) expressed in the equation (12). Z(x) and Y(x) are as noted above.
B(x):x^3−a×x^2−(a^2−1)x−Z(a)=0 over Fq (12)
The second equation deriving unit 213-2 sends B(x) to the second solution finding unit 214-2. When B(x) is input, the second solution finding unit 214-2 uses the Berlekamp algorithm or the like to factorize B(x) over Fq, and consequently finds the solutions b1, b2 and b3 for B(x)=0. The second solution finding unit 214-2 sends the solution (b1, b2, b3) to the third equation deriving unit 215-2.
When (a) and (b1, b2, b3) are input, the third equation deriving unit 215-2 derives the linear equations D(x), E(x) and F(x) expressed in the equations (13) to (15).
D(x):(−b1^{2}+(a+(1/a))×b1)×x+Z(a)+(−a+(1/a))×b1^2−(Y(a)/a)×b1=0 over Fq (13)
E(x):(−b2^{2}+(a+(1/a))×b2)×x+Z(a)+(−a+(1/a))×b2^2−(Y(a)/a)×b2=0 over Fq (14)
F(x):(−b3^{2}+(a+(1/a))×b3)×x+Z(a)+(−a+(1/a))×b3^2−(Y(a)/a)×b3=0 over Fq (15)
The third equation deriving unit 215-2 sends the linear equations D(x), E(x) and F(x) to the third solution finding unit 216-2.
When D(x)=0, E(x)=0 and F(x)=0 are input, the third solution finding unit 216-2 finds their solutions d, e and f. The third solution finding unit 216-2 sends three combinations of solutions (a−b1−d, b1, d), (a−b2−e, b2, e) and (a−b3−f, b3, f) to the first selecting unit 202-2.
When the three solutions and the additional bit i2 (1≦i2≦3) are received, the first selecting unit 202-2 calculates (a−b1−d+1, b1+1, d+1), (a−b2−e+1, b2+1, e+1) and (a−b3−f+1, b3+1, f+1), each element in the three combinations of solutions being added with 1. The first selecting unit 202-2 arranges the three calculated solutions in descending order. The first selecting unit 202-2 selects the i2-th largest solution among the three arranged solutions. The value corresponds to the desired affine expression. The first selecting unit 202-2 sends the selected value (affine expression) to the decompressing unit 203. The decompressing unit 203 transforms the received affine expression into the finite field expression of the algebraic torus subgroup and outputs the resulting finite field expression.
In this way, the compressing apparatus and the decompressing apparatus according to the second embodiment can separately calculate the additional bits i1 and i2 and can use the additional bit i1 to early narrow the equations to be solved. Thereby, the compression and the decompression can be more efficiently performed.
Third Embodiment
In a third embodiment, an example in which the same method as that of the first embodiment is applied to the compression at the compression rate of 1/4 will be described.
(1) Structure of Algebraic Torus
Consider a finite field Fq with q≡2 (mod 5), q=2^n and p|(√(2q)). And consider a fourth degree extension field Fq4 of the finite field Fq by use of the modulus polynomial Φ5=x^4+x^3+x^2+x+1. In this case, x^q=x^2, x^{q^2}=x^4, x^{q^3}=x^3, and x^{q^4}=x are established over Fq4.
At this time, the algebraic torus T4(Fq) over the fourth degree extension field Fq4 has a subgroup with the order of q−√(2q)+1. Herein, n is an odd number from q≡2 (mod 5) and thus √(2q) is an integer. Here, it is assumed √(2q)=t. The trace map Tr:Fq4→Fq is defined in the equation (16).
Tr(g)=g+g^q+g^{q^2}+g^{q^3} (16)
The affine transform map Af:Fq4→Fq2 and the affine transform inverse map Af^{−1}:Fq2→Fq4 are defined in the equation (17).
Af(g)=(G+1)/G2εFq2,
Af^{−1}(Af(g))=(Af(g)+z)/(Af(g)+z^q)εFq4 (17)
where z:=x+x^q=x+x^2 and g:=a0+a1×x+a2×x^2+a3×x^3=(a0+a3×x^3)+(a1×x+a2×x^2)=G1+G2×z (where, G1, G2εFq).
(2) Structure of Compressing Apparatus
The first transforming unit 102-3 transforms the element g input from the trace map Tr in the equation (16) into the trace expression Tr(g). The second transforming unit 103-3 transforms the element g input from the affine transform map Af in the equation (17) into the affine expression (α, β)εFq×Fq. The additional bit deciding unit 104-2 decides the least significant bit of α as the additional bit 1 and the least significant bit of β as the additional bit 2.
(3) Structure of Decompressing Apparatus
The calculating unit 210-3 comprises a first equation deriving unit 211-3, a first solution finding unit 212-3, a second equation deriving unit 213-3 and a second solution finding unit 214-3.
The first equation deriving unit 211-3 derives the first equation as a different quadric equation from the first embodiment. The first solution finding unit 212-3 finds the solutions of the first equation. The second equation deriving unit 213-3 derives the second equation as a quadric equation, unlike the first embodiment. The second solution finding unit 214-3 finds the solutions of the second equation. The first selecting unit 202-3 selects any solution corresponding to the additional data from among the solutions calculated by the calculating unit 210-3.
Now, the calculation processing by the calculating unit 210-3 according to the third embodiment will be described in detail.
When the trace expression TεFq and the additional bits (i1, i2)εF2×F2 are input, the first equation deriving unit 211-3 derives the quadric equation A(x) expressed in the equation (18) and sends it to the first solution finding unit 212-3.
A(x):x^2+x+1−T^{q−t}=0 over Fq (18)
When A(x) is input, the first solution finding unit 212-3 uses the Berlekamp algorithm or the like to factorize A(x) over Fq and to find the solutions a1 and a2 for A(x)=0, and sends the solutions a1 and a2 to the second equation deriving unit 213-3. The first solution finding unit 212-3 may transform the term of x^2 into a linear term by using a Frobenius map, thereby solving the transformed linear equation.
When the solutions a1 and a2 are input, the second equation deriving unit 213-3 derives the quadric equations B(x) and C(x) expressed in the equations (19) and (20) and sends them to the second solution finding unit 214-3.
B(x):x^2+x+a1^2+a1^t×T^{q−t}=0 over Fq (19)
C(x):x^2+x+a2^2+a2^t×T^{q−t}=0 over Fq (20)
When B(x) and C(x) are input, the second solution finding unit 214-3 uses the Berlekamp algorithm or the like to factorize B(x) and C(x) over Fq, thereby finding the solutions b1 and b2 for B(x)=0 and the solutions c1 and c2 for C(x)=0. The second solution finding unit 214-3 sends the solutions b1, b2, c1 and c2 to the first selecting unit 202-3.
When the solutions b1, b2, c1, c2, the additional bit 1 and the additional bit 2 are received, the first selecting unit 202-3 finds four combinations of solutions (a1−b1, b1), (a1−b2, b2), (a2−c1, c1) and (a2−c2, c2). The first selecting unit 202-3 compares the least significant bit of the first component in each combination (a1−b1, a1−b2, a2−c1, a2−c2) with the additional bit 1, compares the least significant bit of the second component in each combination (b1, b2, c1, c2) with the additional bit 2, and selects the coincident pair. The value of the pair corresponds to the desired affine expression. The first selecting unit 202-3 sends the selected value (affine expression) to the decompressing unit 203-3. The decompressing unit 203-3 transforms the received affine expression into the finite filed expression of the algebraic torus subgroup and outputs it.
In this way, the third embodiment can realize the compression at the compression rate of 1/4 and the decompression similar to the first embodiment.
Fourth Embodiment
In a fourth embodiment, an example in which the same method as that of the second embodiment is applied to the compression at the compression rate of 1/4 will be described. The structure of the algebraic torus is the same as that of the third embodiment and thus an explanation thereof will be omitted. A compressing apparatus according to the fourth embodiment is the same as the compressing apparatus 100-3 according to the third embodiment.
(1) Structure of Decompressing Apparatus
The second selecting unit 217-4 uses the additional bit 1(i1) and the additional bit 2(i2) among the input additional bits to compare the least significant bit of the solutions obtained by the first solution finding unit 212-3 with the sum of the additional bit 1(i1) and the additional bit 2(i2) over F2, thereby selecting the coincident solution. The second equation deriving unit 213-4 uses the solution selected by the second selecting unit 217-4 to decide the second equation. The second solution finding unit 214-4 finds the solutions of the second equation.
The calculation processing by the calculating unit 210-4 according to the fourth embodiment will be described below in detail.
When the trace expression TεFq and the additional bits (i1, i2)εF2×F2 are input, the first equation deriving unit 211-3 derives the quadric equation A(x) expressed in the equation (18) and sends it to the first solution finding unit 212-3.
When A(x) is input, the first solution finding unit 212-3 uses the Berlekamp algorithm or the like to factorize A(x) over Fq, thereby finding the solutions a1 and a2 for A(x)=0. The first solution finding unit 212-3 sends the solutions a1 and a2 to the second selecting unit 217-4. A Frobenius map may be used to transform the term of x^2 into a linear term to solve the transformed linear equation.
When the solutions a1, a2, the additional bit 1(i1) and the additional bit 2(i2) are input, the second selecting unit 217-4 compares the sum of the additional bit 1(i1) and the additional bit 2(i2) over F2 with the least significant bit of the solutions a1, a2, and selects the coincident solution as the solution a. The second selecting unit 217-4 sends the selected solution a to the second equation deriving unit 213-4.
When the solution a is input, the second equation deriving unit 213-4 derives the quadric equation B(x) expressed in the equation (21) and sends it to the second solution finding unit 214-4.
B(x):x^2+x+a^2+a^t×T^{q−t}=0 over Fq (21)
When B(x) is input, the second solution finding unit 214-4 uses the Berlekamp algorithm or the like to factorize B(x) over Fq, thereby finding the solutions b1 and b2 for B(x)=0. The second solution finding unit 214-4 sends the solutions b1 and b2 to the first selecting unit 202-4.
When the solutions b1, b2 and the additional bit 2(i2) are received, the first selecting unit 202-4 compares the additional bit 2(i2) with the least significant bit of the solutions b1, b2, and selects the coincident solution as the solution b. The first selecting unit 202-4 sends (a−b, b)εFq×Fq obtained from the solutions a and b to the decompressing unit 203-3. (a−b, b) corresponds to the desired affine expression.
The first selecting unit 202-4 may be configured to find two combinations of solutions (a−b1, b1) and (a−b2, b2) and to select a combination of solutions whose second component coincides with the additional bit 2(i2) (=the desired affine expression).
The decompressing unit 203-3 transforms the received affine expression into the finite field expression of the algebraic torus subgroup and outputs it.
In this way, the fourth embodiment can realize the compression at the compression rate of 1/4 and the decompression similar to the second embodiment.
The compressing apparatus and the decompressing apparatus according to each of the above embodiments can be provided inside an apparatus for encoding and decoding a public key encryption, for example. For example, the compressing apparatus may be provided in an information processing apparatus (encoding apparatus) for transmitting the data encoded by the public key encryption and the decompressing apparatus may be provided in an information processing apparatus (decoding apparatus) for receiving and decoding the encoded data. A compressing/decompressing apparatus including both the compressing apparatus and the decompressing apparatus according to each of the above embodiments may be configured.
A procedure of deriving the linear to cubic equations used in each of the above embodiments will be described. At first, the procedure of deriving the equations used at the compression rate of 1/6 (in the first and second embodiments) will be described.
(1) 1/6 Compression
T6(Fq) is assumed as torus and the torus subgroup takes a trace expression for compressing the expression. The order of T6(Fq) is the cyclotomic polynomial Φ6=q2−2+1. The cyclotomic polynomial Φ6 can be factorized into Φ6=q2−q+1=(q+√(3q)+1) (q−√(3q)+1), therefore, if (q+√(3q)+1) and (q−√)3q)+1) are each an integer, T6(Fq) can be divided into the subgroup having the order (q+√(3q)+1) and the subgroup having the order (q−√(3q)+1). In other words, when q is raised to the odd-number-th power of 3, the subgroups can be compatibly configured by the above factorization.
The subgroup having the order (q+√(3q)+1) is assumed as G+ and the subgroup having the order (q−√(3q)+1) is assumed as G_. Since the mapping from the element in the subgroup of T6(Fq) into the element in the trace expression is not bijective, a plurality of elements for T6(Fq) are present for an inverse map of a certain element in the trace expression. Since six elements are present for T6(Fq) corresponding to one trace expression, at least three additional bits are required for identifying the six elements. Since the bit length required for the expression is log—2(q)+3 bits including the three additional bits for both G+ and G_, G_ as a smaller group than q is not necessarily required but G_ is taken as a subgroup here.
Hereinafter, a relationship between the trace expression and the affine expression will be made clear and a method for enabling the decompression from the trace expression to the affine expression will be described. The following operations are all over F(3^n)^6 unless otherwise noted.
(2) Preparation
(2.1) Condition for Extension Field
The extension field Fq6 obtained by six-order decompressing the finite field Fq by the modulus polynomial Φ7 is assumed and the compression/decompression map for the elements in the subgroup G_ of T6(Fq) is configured. The conditions for the algebraic torus, the modulus polynomial Φ7 and q are expressed in the equation (22).
Φ7=1+x+x2+x3+x4+x5+x6,x7=1,
q=5 mod 7,
q=3n,(nεZ),
(n=5 mod 12) (22)
In this case, the modulus polynomial Φ7 is expressed in the equation (23) due to q=5 mod 7.
Φ7=1+x+xq
The basic fields Fq2 and Fq3 are assumed for Fq6 formed of the modulus polynomial Φ7 and the base y of Fq2 and the base z of Fq3 are decided as in the equation (24).
y=x+xq
z=x+xq
The equations (25) and (26) are obtained as relations for y and z from the conditions for the modulus polynomial Φ7 and q.
It is considered that n must be an odd number but the condition of n=5 mod 12 is not necessarily required. For simplified calculation, the following condition is employed for forming yt=y and zt=zq.
FεFq3 can be expressed in the equation (27) by use of the base y of Fq2 and δ1, δ2, δ3εFq. Further, ft is expressed in the equation (28).
f=δ1y+δ2yq+δ3yq
ft=δ1ty+δ2tyq+δ3yq
(2.2) Trace Map and Affine Map
The trace map of Fq6, Tr:Fq6→Fq, can be defined in the equation (29).
Tr(g)=g+gq+gq
The affine map φ:T6(Fq)\{1}→Fq3 is defined for g=σo+σ1zεT6(Fq) in the equation (30). Herein, 1 is a unit element of the multiplication of Fq6.
The affine inverse map φ−1:Fq3→T6(Fq)\{1} is defined in the equation (31).
In this case, the equation (32) is known to be established.
ψ−1(ψ(g))=gεT6(Fq)⊂Fq
The equation (29) corresponds to the trace map Tr in the equation (1). The equations (30) and (31) correspond to the affine transform map Af and the affine transform inverse map Af^{−1} in the equation (2).
(3) Calculation of T6(Fq) Trace
In order to derive the relationship between the trace expression Tr(g) for g and the affine expression for g (f in the equation (27)), the elements in the affine expression are used to express the elements in the trace expression. It is expressed in the equation (33).
where, if h=f2−f−1, A1y+A2yq+A3y{q^3}=h−1 are assumed, the equation (34) is obtained.
Thus, it can be seen that Tr(g) is expressed by the sum of elements in h−1. h is expressed in the equation (35).
Thus, h−1 is calculated and the sum of its elements is taken so that Tr(g) is obtained. When it is developed into an equation, the denominator of Tr(g) is expressed in the equation (36). Since the numerator will be described later and is omitted here.
(4) Conditional Equation of G_in T6(Fq)
f^{q+1} is expressed in the equation (37).
Since the order of G_ is q−t+1, the element of G_ is raised to the (q−t+1)-th power to be 1. That is, the equation (38) is obtained.
Thus, gq+1=gt is obtained. gq+1=gt is arranged and then the equation (39) is obtained.
The conditional equation of G_ is expressed in the equation (40). As expressed in the equation (40), the same equation can be derived from either condition.
z:fq+t+fq+1−ft+1−fq+2=0,
zq:fq+t+fq+1−ft+1−fq+2=0 (40)
The equation is further developed by use of f in the equation (27) and then the equations (41) to (43) are obtained.
y:δ1t(δ3−δ2)+δ3t(δ1+δ2+δ3)+2δ3δ1+δ1δ2+δ12+δ22−δ3=2, (41)
yq:δ2t(δ1−δ3)+δ1t(δ1+δ2+δ3)+2δ1δ2+δ2δ3+δ22+δ32−δ1=2, (42)
yq
(4.1) Conditional Equation of T2(Fq)
The conditional equation for T2(Fq3) is also arranged due to T2(Fq3)εT6(Fq)εG_. Since the order of T2(Fq3) is q2−q+1, g^(q2−q+1)=1 is established. The conditional equation for δ1, δ2, and δ3 is arranged from the above equation. It is expressed in the equation (44).
Thus, the equation (45) is obtained.
fq
When the transform is continued by use of the equation (27), the relationship in the equation (46) is obtained. The equation is used for the subsequent transform of equations.
fq
→{(fq+1)q
→{(δ12+δ22+2δ1δ3+δ1δ2)+(δ22+δ32+2δ1δ2+δ2δ3)+(δ32+δ12+2δ2δ3+δ1δ3)}(y+yq+yq
→{(2δ12+2δ22+2δ32)−(δ1+δ2+δ3)}(y+yq+yq
→{(δ12+δ22+δ32)+(δ1+δ2+δ3)}−1=0,
→{(δ12+δ22+δ32)+(δ1+δ2+δ3)}=1 (46)
(5) Affine Expression Having the Same Trace Value
The trace value of an element is the same as the trace value of the q-th power of the element. From the property, at least six affine expressions having the same trace value are present. The relationship between the affine expressions will be considered. In the case of fεFq3, the relational equation is expressed in the equation (47).
Since the q2-th power in the affine expression leads to the rearrangement of elements and thus a difference in the affine expression at the q3-th power of an element is considered. Since the equation (48) is established, when an element is raised to the q3-th power, the affine expression has a value obtained by subtracting 1 from the doubled element.
When the combinations of elements having the same trace value are derived in consideration of the equation (27) and the first equation in the equation (25) (y+yq+y^(q2)=−1), the following six combinations are obtained.
It can be seen that the elements are rearranged due to the q2-th power. In the case of α=δ1−1, β=δ2−1, and γ=δ3−1, the equation (49) is obtained.
f=(α+1)y+(β+1)yq+(γ+1)yq
The q3-th power of f is expressed in the equation (50).
When α, β and γ are expressed as described above, the q-th power can be considered as the doubling and the elements' rearrangement. 2×2=1 (mod 3) has also to be paid attention. In the following, the equation transform is performed by replacing δ1, δ2 and δ3 with α+1, β+1 and γ+1, respectively.
(5.1) Calculation of T6(Fq) Trace (Version 2)
The transform of the trace equation by α, β and γ is assumed. The equation (36) is transformed into the equation (51). The numerator is expressed in the equation (52).
(5.2) Conditional Equation of T2(Fq) (Version 2)
The equation (46) is transformed by use of α, β and γ into the equation (53).
α2+β2+γ2=1 (53)
(5.3) Conditional Equation of G_ in T6(Fq) (Version 2)
The equations (41) to (43) are transformed by use of α, β and γ into the three equations, respectively.
αt(γ−β)+γt(α+β+γ)−αγ+αβ+α2+β2=1
βt(α−γ)+αt(α+β+γ)−βα+βγ+β2+γ2=1
γt(β−α)+βt(α+β+γ)−γβ+γα+γ2+α2=1
The terms with the t-th power in the equations are expressed in the equation (54).
The equation (55) is obtained by the equation (53).
From the equations, the relationship expressed in the equation (56) is also obtained.
(5.4) Calculation of T6(Fq) Trace (Version 3)
The equations (51) and (52) are transformed by the equation (53). The two kinds of finally symmetrical equations (α+β+γ) and αβγ, and an asymmetrical equation (αβ2+βγ2+γα2) are used as many times as possible. The equations are also simplified here by use of A=α+β+γ, B=αβ2+βγ2+γα2, C=αβγ.
First, the relationship expressed in the equation (57) is obtained.
The relationship expressed in the equation (58) is obtained.
The equation (59) is obtained from the equations (57) and (58).
Thus, the equation (60) is obtained.
(α30 β+γ)6−{(α+β+γ)−(α+β+γ)3}(αβ2+βγ2+γα2)+(αβ2+βγ2+γα2)2,
=−1−(α+β+γ)6−αβγ(α+β+γ)3,
→(αβ2+βγ2+γα2)2=(α+β+γ)6+{(α+β+γ)−(α+β+γ)3}(αβ2+βγ2+γα2)−αβγ(α+β+γ)3−1
→B2=A6−A3(B+C)+AB−1 (60)
The equations (61) and (62) are obtained for C.
Tr(g) is deformed to obtain the equations (63) and (64) from the equations (51) and (52).
Common factors are present in the denominator and numerator and thus are cancelled to obtain the equations (65) and (66).
The equations are continuously deformed by the equation (56) to obtain the equation (67).
(6) Transform from Trace into Torus
It can be seen that Tr(g) can be written with A=α+β+γ and C=αβγ. C can be written with A and B=αβ2+βγ2+γα2 and B can be written with A so that Tr(g) is written with A. The equation (68) is obtained from the equation (65).
Both sides are raised to the t−2-th power and thus the equation (69) is obtained. The equation (70) is obtained from the equation (69). Thereby, A=α+β+γ can be obtained from Tr(g).
(7) Method for Deriving Cubic Equation
There will be described the method for obtaining β from A=α+β+γ and other relational equations. The relational equations obtained so far are as follows (the equations (71) to (74)).
A=α+β+γ (71)
B=αβ2+βγ2+γα2 (72)
C=αβγ (73)
α2+β2+γ2=1 (74)
The equation (71) is deformed to obtain the equation (75).
α=A−β−γ (75)
The equation (75) is substituted into the equations (72), (73) and (74) for rearrangement to obtain the equations (76) to (78).
−β3+γ3+Aβ2+Aβγ+Aγ2+A2γ−B=0 (76)
−β2γ−βγ2+Aβγ−C=0 (77)
−β2−βγ−γ2+Aβ+Aγ+A2−1=0 (78)
The equation (78) is multiplied by β to obtain the equation (79).
−β3−β2γ−βγ2+Aβ2+Aβγ+(A2−1)β=0 (79)
The equation obtained by subtracting the equation (77) from the equation (79) is multiplied by −1 to obtain the equation (80).
β3−Aβ2−(A2−1)β−C=0 (80)
Since B=((−1−A2)/At)−A is obtained from the equation (56) and C=A3−B+(AB−B2−1)/A3 is obtained from the equation (61), C can be written with A. Thus, the following cubic equation having the root of β is obtained. The equation is solved to obtain β.
x3−Ax2−(A2−1)x−C=0
(8) Method for Deriving Linear Equation
A method for obtaining γ from A=α+β+γ and other relational equations. The equation (78) is multiplied by γ to obtain the equation (81).
−β2γ−βγ2−γ3+Aβγ+Aγ2+(A2−1)γ=0 (81)
Subtracting equation (77) from the equation (81) obtains the equation (82).
−γ3+Aγ2+(A2−1)γ+C=0 (82)
Further, subtracting the equation (80) from the equation (76) and then adding the equation (82) obtains the equation (83).
Aβγ−Aγ2+(−A2+1)β+(−A2−1)γ−B=0 (83)
The equation obtained by multiplying the equation (83) by β and the equation obtained by multiplying the equation (77) by A are the equations (84) and (85), respectively.
Aβ2γ−Aβγ2+(−A2+1)β2+(−A2−1)βγ−Bβ=0 (84)
−Aβ2γ−Aβγ2+A2βγ−AC=0 (85)
Subtracting the equation (85) from the equation (84) obtains the equation (86).
−Aβ2γ+(−A2+1)β2+(A2−1)βγ−Bβ+AC=0 (86)
The equation (86) is divided by A and arranging for γ to obtain the equation (87).
(−β2+(A−(1/A))β)γ+(−A+(1/A)β2−Bβ/A+C=0 (87)
Since A, B, C and β are the constant values from the solutions of quadric equations and the cubic equations previously found, the linear equation (88) having the root of γ is obtained.
(−β2+(A−(1/A))β)x+(−A+(1/A))β2−Bβ/A+C=0 (88)
When β and γ are found, α is found from the equation (71).
(9) Summary
There is given the method for obtaining the affine expression (α+1, β+1, γ+1) from the trace expression Tr(g) of the elements in the algebraic torus subgroup by solving the equation (89).
x2=−[{Tr(g)}t−2+1]−1
−x3+Ax2+(A2−1)x+C=0
(−Aβ2+(A2−1)β)x+(−A2+1)β2−Bβ+AC=0 (89)
The specific procedure is as follows.
Since a total of six (α, β, γ) are obtained from the above, an additional bit is used to specify a correct (α, β, γ).
A method for deriving an equation used at the compression rate of 1/4 (in the third and fourth embodiments) will be described below.
(1) 1/4 Compression
T4(Fq) is assumed as torus and the trace (trace expression) is taken as a subgroup. Since the cyclotomic polynomial Φ4 is factorized to obtain Φ4=q2+1=(q+√(2q)+1)(q−√(2q)+1), if the terms take an integer, the torus can be divided into the subgroups. Specifically, when q is raised to the odd-number-th power of 2, the subgroups can be compatibly configured by the factorization.
It is assumed that the subgroup having the order of (q+√(2q)+1) is G+ and the subgroup having the order of (q−√(2q)+1) is G_. Since the mapping from an element in the subgroup in the torus into an element in the trace is not bijective, there are multiple elements of the torus to be mapped from elements of a trace. Since four elements in a trace corresponding to the elements in one trace are present (see the trace expression for details), two additional bits are required for identifying the four elements. In the following, a relationship between the trace and the affine expression will be made clear and the method for decompressing the trace to the affine expression will be described. The following operations are over F(2^n)^4 unless otherwise noted.
(2) Preparation
(2.1) Arrangement of Conditions
T=√(2q) is assumed.
The definition expressed in the equation (90) and the condition of q≡t≡2 (mod 5) are set for preventing a contradiction between the torus and the trace to be considered and for easily deforming the equations.
Under the definition and the condition, the substitutions such as x=x1, xq=x2, x^q2=x4, x^q3=x3 are possible. Under the definition and the hypothesis, the conditional equation expressed in the equation (91) is obtained.
(2.2) Frequently-used Relational Equations
First, the equation (92) collectively describes the relational equations of f used for deforming the equations in the following.
(3) Trace Expressed in Components of Torus
The value of the trace is calculated by use of the coefficients used in the affine expression. The definition equation of the trace expression Tr(g) for T4 is Tr(g)=g+gq+g^q2+g^q3 (corresponding to the equation (16)). The equation (93) indicates the calculation process.
(4) Condition for G—
The condition for gq+1=gt, which is the condition for G_, is derived here. The deformed equation expressed in the equation (94) is obtained.
In the following, t≡q (mod 5) ≡2 (mod 5) is assumed. In this case, t is based on the condition of t=24k+1(kεZ (set of integers)) and is not incompatible with the above hypothesis. It can be also configured with other parameter. The deformed equation expressed in the equation (95) is possible from the equation (94).
→fq+t(z+zq
→fq+t+fq+1+ft+1+fqy+ftyq+(1+xq+1+xq
→fq+t+fq+1+ft+1+fqy+ftyq+yq=0 (95)
f=δ1y+δ2y
The conditional equations for G_ are rearranged with the above equations to be written in the equation (97).
→fq+t+fq+1+ft+1+fqy+ftyq+yq=0,
→(δ1t+1y+δ2t+1yq+δ1tδ2+δ1δ2t)+(δ12+δ1δ2+δ22)+δ1t+1+δ2t+1+δ1tδ2y+δ1δ2tyq)+(δ1+δ2yq)+(δ1ty+δ2t)+yq=0,
→(δ2t+1+δ1δ2t+δ1t)y+(δ1t+1+δ1tδ2+δ2+1)yq+(δ12+δ1δ2+δ22+δ1+δ2t)=0 (97)
From the above, the condition for fεG_ is expressed in the equation (98).
y:δ2t+1+δ1δ2t+δ1t+(δ12+δ1δ2+δ22+δ1+δ2t)=0,
yq:δ1t+1+δ1tδ2+δ2+1+(δ12+δ1δ2+δ22+δ1+δ2t)=0 (98)
The conditional equations are additionally arranged to obtain the equation (99).
δ1t+1+δ1δ2t+δ1t+δ2t+1+δ1tδ2+δ2+1=0,
→δ1t+1+δ2t+1+δ1tδ2+δ1δ2t+δ1t+δ2+1=0,
→(δ1+δ2)t+1+δ1t+δ2+1=0. (99)
At least the equation (99) has to be met for the elements of G_.
(5) Change by q-th Power
Since the definition equation of the trace expression Tr(g) for T4 is Tr(g)=g+gq+g^q2+g^q3, the relational equations Tr(gq)=gq+g^q2+g^q3+g, Tr(g^q2)=g^q2+g^q3+g+gq and Tr(g^q3)=g^q3+g+gq+g^q2 are established. In other words, the trace of the element which is obtained by raising the element g of a torus to the q-th power has the same value of the original trace. Since it is clear that even the element of the torus belonging to G_ is raised to the q-th power, the resultant has the same value as the element of G_, the property should be maintained even when a conditional equation is raised to the q-th power. A change, which occurs to the coefficient when the element of the torus is raised to the q-th power, is observed and the change is applied to the following deformed equations.
Since the equations can be deformed as expressed in the equation (100), it can be seen that the coefficient changes as (δ1, δ2)→(δ2+1, δ1) in consideration of f=δ1y+δ2yq. The change causes a change neither in the conditional equation for G_ nor in the transformed equation from the torus to the trace. Actually, the change is applied to the conditional equation for G_ to be the original equation, and thus the conditional equation for G_ does not change due to the change. In the following, the relationship between the equations, which are obtained by changing the coefficient due to the q-th power, is called q-th power symmetric relationship.
(6) Decompression from Trace to Torus
There will be attempted to derive the transformed equation from the trace to the torus by use of the transformed equation from the torus to the trace and the conditional equation for G_.
(6.1) Preparation
In the following, necessary relational equations are derived before transforming the trace to the torus. There is attempted to create the relational equation between δ12+δ2 and δ1+δ22 from the equation (99), which is the conditional equation for G_. The conditional equation for G_ is arranged to be (δ1+δ2)t+1=δ1t+δ2+1. The arranged conditional equation is raised to the (t−1)-th power in consideration of t2=2 to obtain the equation (101).
(δ1+δ2)=(δ1t+δ2+1)t−1,
→(δ1+δ2)(δ1t+δ2+1)=(δ1t+δ2+1)t,
→(δ1+δ2)(δ1t+δ2+1)=δ12+δ2t+1 (101)
The equation (101) is not q-th power symmetrical. Since the relationship needs to be maintained even when the coefficient is changed as (δ1, δ2)→(δ2+1, δ1) in order to meet the q-th power symmetry, the equation (102) obtained by making the equation (101) q-th power symmetric should be met simultaneously.
(δ1+δ2+1)(δ1+δ2t)=δ1t+δ22 (102)
On the other hand, the equation (101) is added with δ1+δ12 and then multiplied by (δ1+δ2+1) to obtain the equation (103).
(δ1+δ2)(δ1t+δ2+1)=δ12+δ2t+1,
→δ1+δ2t=δ1t(δ1+δ2)+δ1δ2+δ22+δ1+δ2+δ12+δ1+1,
→δ1+δ2t=δ1t(δ1+δ2)+δ1δ2+δ22+δ2+δ12+1,
→(δ1+δ2t)(δ1+δ2+1)={δ1t(δ1+δ2)+δ1δ2+δ22+δ2+δ12+1}(δ1+δ2+1),
→(δ1+δ2t)(δ1+δ2+1)=δ1t(δ1+δ2)2+δ1t(δ1+δ2)+(δ1+δ2+1)2δ2+(δ12+1)(δ1+δ2+1),
→(δ1+δ2t)(δ1+δ2+1)=δ1t(δ12+δ22+δ1+δ2)+δ13+δ23+δ12+δ1+1=0 (103)
The equation (102) is substituted into the left side of the equation (103) to obtain the equation (104).
→δ1t+δ22=δ1t(δ12+δ22+δ1+δ2)+δ13+δ23+δ12+δ1+1,
→δ1t(δ12+δ22+δ1+δ2+1)+δ13+δ23+δ12+δ22+δ1+1=0 (104)
The equation is changed in the coefficient as (δ1, δ2)→(δ2+1, δ1) in consideration of the q-th power symmetric relationship to obtain the equation (105).
δ1t(δ12+δ22+δ1+δ2+1)+δ13+δ23+δ12+δ22+δ1+1=0,
→(δ2t+1)(δ12+δ22+δ1+δ2+1)+(δ2+1)3+δ13+(δ2+1)2+δ12+(δ2+1)+1=0,
→δ2t(δ12+δ22+δ1+δ2+1)+(δ12+δ22+δ1+δ2+1)+(δ23+δ22+δ2+1)+δ13+(δ22+1)+δ12+(δ2+1)+1=0,
→δ2t(δ12+δ22+δ1+δ2+1)+δ13+δ23+δ22+δ1+δ2+1=0 (105)
The two equations (the equations (104) and (105)) are added to be the equation (106), and consequently the equation (107) is obtained.
(δ1t+δ2t)(δ12+δ22+δ1+δ2+1)+δ12+δ2=0 (106)
δ12+δ2=(δ1t+δ2t)(δ12+δ22+δ1+δ2+1) (107)
The equation is changed in the coefficient as (δ1, δ2)→(δ2+1, δ1) in consideration of the q-th power symmetry to obtain the equation (108) and consequently the relational equation between δ12+δ2 and δ1+δ22 is obtained.
δ1+δ22+1=(δ1t+δ2t+1)(δ12+δ22+δ1+δ2+1),
δ1+δ22=(δ1t+δ2t+1)(δ12+δ22+δ1+δ2+1)+1 (108)
(6.2) Deformation of Trace Equation
The trace equation is expressed with δ1 and δ2 to obtain the equation (109).
The equation is a little arranged to obtain the equation (110).
(δ14+δ12δ22+δ24+δ13+δ23+δ1δ2+δ22+δ2+1){Tr(g)}=(δ12+δ22+δ1+δ2+1),
→δ14+δ12δ22+δ24+δ13+δ23+δ1δ2+δ22+δ2+1=(δ12+δ22+δ1+δ2+1){Tr(g)}−1 (110)
The equation (110) is deformed by use of δ12δ22+δ23=δ22(δ12+δ2) and δ13+δ1δ2=δ1(δ12+δ2) to obtain the equation (111).
δ14+δ12δ22+δ24+δ13+δ23+δ1δ2+δ22+δ2+1=(δ12+δ22+δ1+δ2+1){Tr(g)}−1,
→(δ14+δ24)+(δ22+δ1)(δ12+δ2)+(δ22+δ12)+(δ12+δ2)+1=(δ12+δ22+δ1+δ2+1){Tr(g)}−1,
→(δ1+δ2)4+(δ1+δ2)2+1+(δ12+δ2)(δ22+δ1+1)=(δ12+δ22+δ1+δ2+1){Tr(g)}−1 (111)
The equations (107) and (108) are substituted into the equation (111) to be the equation (112), and consequently a quadric equation with two unknowns is obtained.
(δ1+δ2)4+(δ1+δ2)2+1+(δ12+δ2)(δ22+δ1+1)=(δ12+δ22+δ1+δ2+1){Tr(g)}−1,
→(δ1+δ2)4+(δ1+δ2)2+1+(δ1t+δ2t)(δ1t+δ2t+1)(δ12+δ22+δ1+δ2+1)2=(δ12+δ22+δ1+δ2+1){Tr(g)}−1,
→(δ12+δ22+δ1+δ2+1)2+(δ1t+δ2t)(δ1t+δ2t+1)(δ12+δ22+δ1+δ2+1)2=(δ12+δ22+δ1+δ2+1){Tr(g)}−1,
→(δ12+δ22+δ1+δ2+1)+(δ1t+δ2t)(δ1t+δ2t+1)(δ12+δ22+δ1+δ2+1)={Tr(g)}−1,
→(δ12+δ22+δ1+δ2+1){(δ1t+δ2t)(δ1t+δ2t+1)+1}={Tr(g)}−1,
→(δ12+δ22+δ1+δ2+1)[{(δ1+δ2)(δ1+δ2+1)}t+1]={Tr(g)}−1,
→(δ12+δ22+δ1+δ2+1){(δ12+δ22+δ1+δ2)t+1}={Tr(g)}−1,
→(δ12+δ22+δ1+δ2+1)(δ12+δ22+δ1+δ2+1)t={Tr(g)}−1,
→(δ12+δ22+δ1+δ2+1)t+1={Tr(g)}−1,
→δ12+δ22+δ1+δ2+1=[{Tr(g)}−1]t−1,
→δ12+δ22+δ1+δ2+1={Tr(g)}1−t,
→δ12+δ22+δ1+δ2+1={Tr(g)}q−t (112)
With δ1+δ2=X, the equation (112) is replaced with the quadric equation with one unknown in the equation (113).
X2+X+1={Tr(g)}q−t (113)
Although the formula for solving the quadric equation with two unknowns is not present, the field is specifically configured to find the solutions. If X is specifically found, the left side of the equation (107) can be replaced with δ12+δ2=(X−δ2)2+δ2=δ22+δ2+X2 so that the equation (114) is solved for δ2 to find δ1 and δ2.
δ22+δ2=X2+(X2+X+1)Xt(=X2+{Tr(g)}q−tXt) (114)
Since the equations (113) and (114) each have two solutions, 2×2=4 solutions should be found. The four solutions are obtained from the same trace value and the additional bit is used for specifying which solution of the four solutions expresses the element of the original torus.
The four solutions are in the q-th power symmetric relationship. In other words, the relationship of (δ1, δ2)→(δ2+1, δ1)→(δ1+1, δ2+1)→(δ2+1, δ1)(→(δ1, δ2)) is obtained. The arrow goes to the right each time the q-th power is raised and returns to the origin with the q4-th power. From the relationship, for example, when the least significant bits for δ1, δ2 for a solution are paid attention, in the q-th power symmetric relationship in the case of (0, 0), the relationship of (0, 0)→(0, 1)→(1, 1)→(1, 0)(→(0, 0)) is obtained and each should be raised to the first power, the q-th power, q2-th power and q3-th power. Therefore, if the least significant bits for δ1, δ2 are employed as the additional bits, the element of the original correct torus can be specified from the element of the trace.
(6.3) Exemplary Specific Structure
The method for transforming the affine expression of the torus into the trace and the method for transforming the trace into the affine expression of the torus will be briefly described by way of example.
(From Torus to Trace)
1. Tr(g) is found from the equation (109).
2. b0 is assumed as the least significant bit of δ1 and b1 is assumed as the least significant bit of δ2 to output Tr(g), (b0, b1).
(From Trace to Torus)
1. X2+X+1={Tr(g)}q−t is solved to find X0 and X1.
2. δ22+δ2+X02+X0t{Tr(g)}q−t=0 is solved to find δ2a and δ2b.
3. δ1a is found from X0=δ1a+δ2a.
4. The least significant bit of (δ1a, δ2a) is compared with (b0, b1), and when they are not coincident with each other, the procedure proceeds to 5, and when they are coincident, the procedure proceeds to 6.
5. The equation is reset to (δ1a, δ2a)=(δ2a+1, δ1a) and the procedure returns to 4.
6. (δ1, δ2)=(δ1a, δ2a) is assumed and (δ1, δ2) is output.
(7) Summary
The specific method for recovering the element of the T4 torus from the element of the trace by adding the additional bit has been described above. The expression can be compressed only to ⅓ relative to the size of the finite field in the conventional torus, but the expression can be gradually compressed to ¼ with the embodiments.
As described above, according to the first to fourth embodiments, the compressing apparatus and the decompressing apparatus can be efficiently realized for the modulus polynomials which cannot efficiently configure the decompressed map in the conventional method.
A hardware structure of the decompressing apparatus and the compressing apparatus according to the first to fourth embodiments will be described below with reference to
The decompressing apparatus and the compressing apparatus according to the first to fourth embodiments comprise a control device such as a CPU (Central Processing Unit) 51, storage devices such as ROM (Read Only Memory) 52 and RAM (Random Access Memory) 53, a communication I/F 54 connected to a network for making communication, and a bus 61 for interconnecting the respective units.
The programs to be executed by the decompressing apparatus and the compressing apparatus according to the first to fourth embodiments are previously incorporated in the ROM 52 or the like to be provided.
The programs to be executed by the decompressing apparatus and the compressing apparatus according to the first to fourth embodiments may be recorded in a computer-readable recording medium such as CD-ROM (Compact Disk Read Only Memory), flexible disk (FD), CD-R (Compact Disk Recordable) or DVD (Digital Versatile Disk) in an installable form or executable form to be provided as a computer program product.
The programs to be executed by the decompressing apparatus and the compressing apparatus according to the first to fourth embodiments may be stored on a computer connected to a network such as the Internet and may be downloaded via the network to be provided. The programs to be executed by the decompressing apparatus and the compressing apparatus according to the first to fourth embodiments may be provided or distributed via the network such as Internet.
The programs to be executed by the decompressing apparatus and the compressing apparatus according to the first to fourth embodiments can cause a computer to function as each unit in the decompressing apparatus and the compressing apparatus. The computer may read and execute a program from a computer-readable recording medium on a min storage device.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2010-275160 | Dec 2010 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
8233616 | Muratani et al. | Jul 2012 | B2 |
8311215 | Akiyama et al. | Nov 2012 | B2 |
8438205 | Yonemura et al. | May 2013 | B2 |
8533243 | Yonemura et al. | Sep 2013 | B2 |
8543630 | Yonemura et al. | Sep 2013 | B2 |
8548162 | Joye | Oct 2013 | B2 |
8675874 | Muratani et al. | Mar 2014 | B2 |
20090207999 | Yonemura et al. | Aug 2009 | A1 |
20100046741 | Isogai et al. | Feb 2010 | A1 |
20100046742 | Muratani et al. | Feb 2010 | A1 |
20100046743 | Muratani et al. | Feb 2010 | A1 |
20100046745 | Hanatani et al. | Feb 2010 | A1 |
20100046746 | Yonemura et al. | Feb 2010 | A1 |
20100049777 | Yonemura et al. | Feb 2010 | A1 |
20100063986 | Yonemura et al. | Mar 2010 | A1 |
20100226496 | Akiyama et al. | Sep 2010 | A1 |
20130246489 | Yonemura et al. | Sep 2013 | A1 |
Number | Date | Country |
---|---|---|
WO 2010145983 | Dec 2010 | WO |
WO 2011010383 | Jan 2011 | WO |
WO 2011030468 | Mar 2011 | WO |
WO 2011033672 | Mar 2011 | WO |
Entry |
---|
K. Rubin and A. Silverberg, compression in finite fileds and torus-based cryptography, 2000, Mathematic subject classification, p. 1-28. |
Karl Rubin, et al., “Torus-Based Cryptography,” CRYPTO 2003, LNCS 2729, 2003, 17 pages. |
Koray Karabina, “Torus-Based Compression by Factor 4 and 6,” Cryptology ePrint Archive, Report 2010/525, 20 pages. |
Office Action issued Oct. 2, 2012 in Japanese Patent Application No. 2010-275160 with English language translation. |
Marc Joye, On Cryptographic Schemes Based on Discrete Logarithms and Factoring, Lecture Notes in Computer Science, 2009, vol. 5888, pp. 41-52 with cover page. |
Number | Date | Country | |
---|---|---|---|
20120150931 A1 | Jun 2012 | US |