Safety evaluation device, safety evaluation method, and safety evaluation program
The security evaluation device addresses limitations in cryptographic system design by using fixed moduli q to search for bit security, enabling efficient and secure cryptographic system configuration with reduced key and ciphertext lengths.
Patent Information
- Application Number
- JP2021201850
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-12-13
AI Technical Summary
Existing security evaluation methods based on the SIS problem face limitations in parameter settings, leading to long key lengths and ciphertexts due to increased modulus values, restricting the configuration of cryptographic systems.
A security evaluation device and method that utilize SIS problems with fixed moduli q, employing acquisition units to search for bit security and output evaluation values, allowing for cryptographic system design with weaker restrictions.
Enables efficient cryptographic system design with reduced ciphertext and key lengths, while maintaining security, and supports a wider range of parameter designs for various encryption methods.
Smart Images

Figure 0007566721000012 
Figure 0007566721000001 
Figure 0007566721000002
Abstract
Description
[Technical field]
[0001] The present invention relates to an apparatus, a method, and a program for evaluating the security of a cryptographic method. [Background technology]
[0002] Conventionally, in order to design parameters of a cryptographic scheme based on the SIS (Short Integer Solution) problem, the following Theorem 1 has been used when evaluating its security (computational difficulty) (see, for example, Non-Patent Document 1).
[0003] Theorem 1: β and X ⊆ Z m For any distinct x,x'∈X, gcd(x-x',q)=1 and ∥x-x'∥ ∞ ≦β. Then, for any natural number c, the reduction collision-finding SIS(m c ,n,q c ,β c ) → collision-finding SIS(m,n,q,β) exists.
[0004] Here, reduction A → B means "Solving problem A is reduced to solving problem B," "If problem A is difficult, then problem B is also difficult," or This is the same as saying, "If you can solve problem B, you can also solve problem A."
[0005] Algorithm 1 of the security evaluation method using Theorem 1 is written as follows. As a premise, for a certain c∈N, the computational difficulty of the SIS(m,n,q,β) problem is known. hardness (·) gives bit security λ=f hardness (SIS(m,n,q,β)) is obtained.
[0006] Algorithm 1: Input: SIS(m c,n,q c ,β c )problem Output: Bit security λ (computational complexity O(2 λ )) 1 λ=f hardness (SIS(m,n,q,β)) 2. return λ [Prior art documents] [Non-patent literature]
[0007] [Non-Patent Document 1] Daniele Micciancio and Chris Peikert. "Hardness of SIS and LWE with Small Parameters". In: CRYPTO 2013. Ed. by Ran Canetti and Juan A. Garay. 2013, pp. 21-39. [Non-Patent Document 2] Oded Goldreich. Foundations of Cryptography - I: Basic Tools. Cambridge University Press, 2001. [Non-Patent Document 3] Daniele Micciancio and Petros Mol. "Pseudorandom Knapsacks and the Sample Complexity of LWE Search-to-Decision Reductions". In: CRYPTO 2011. Ed. by Phillip Rogaway. 2011, pp. 465-484. Summary of the Invention [Problem to be solved by the invention]
[0008] However, the security evaluation method based on Algorithm 1 does not guarantee that SIS(m c ,n,q c ,β c) problem can be shown to be computationally intractable, but the number of samples is c While we can increase the modulus q c This resulted in strong practical limitations, as the size of the key length and ciphertext required to construct the encryption method also increased depending on c.
[0009] An object of the present invention is to provide a security evaluation device, a security evaluation method, and a security evaluation program that impose less stringent restrictions on encryption schemes based on the SIS problem. [Means for solving the problem]
[0010] The first safety evaluation device according to the present invention is a probability distribution χ m SIS(m,mn,q,χ) is an unknown computationally difficult m ) problem, and a SIS(l,ln,q,χ l The system comprises an acquisition unit that searches for an SIS problem and acquires the bit security of the searched SIS problem, and an output unit that outputs the acquired bit security as an evaluation value of a cryptographic method that uses the input SIS problem as the basis for its security.
[0011] The second safety evaluation device according to the present invention is a ∞ SIS(m,mn,q,√m·β ∞ ) problem, and a SIS(l,ln,q,√l·β ∞ The system comprises an acquisition unit that searches for an SIS problem and acquires the bit security of the searched SIS problem, and an output unit that outputs the acquired bit security as an evaluation value of a cryptographic method that uses the input SIS problem as the basis for its security.
[0012] A third security evaluation device according to the present invention comprises an input unit that accepts input of a SIS(m, mn, q, β) problem of unknown computational difficulty defined using the L2 norm β, an acquisition unit that searches for a SIS(l, ln, q, β) problem that has a common modulus q with the input SIS problem and has known computational difficulty, and acquires the bit security of the searched SIS problem, and an output unit that outputs the acquired bit security as an evaluation value of a cryptographic method whose security is based on the input SIS problem.
[0013] The first safety assessment method according to the present invention is a method for evaluating a probability distribution χ m SIS(m,mn,q,χ) is an unknown computationally difficult m ) problem, and a SIS(l,ln,q,χ l The computer executes an acquisition step of searching for a SIS problem and acquiring the bit security of the searched SIS problem, and an output step of outputting the acquired bit security as an evaluation value of an encryption method that bases its security on the input SIS problem.
[0014] The second safety evaluation method according to the present invention is to evaluate the infinity norm β ∞ SIS(m,mn,q,√m·β ∞ ) problem, and the input step is a SIS problem that has the same modulus q as the input SIS problem and is known to be computationally difficult (l, ln, q, √l·β ∞ The computer executes an acquisition step of searching for a SIS problem and acquiring the bit security of the searched SIS problem, and an output step of outputting the acquired bit security as an evaluation value of an encryption method that bases its security on the input SIS problem.
[0015] A second security evaluation method according to the present invention is carried out by a computer, comprising the steps of: an input step of accepting an input of a SIS(m,mn,q,β) problem of unknown computational difficulty defined using the L2 norm β; an acquisition step of searching for a SIS(l,ln,q,β) problem that has a common modulus q with the input SIS problem and has known computational difficulty, and acquiring the bit security of the searched SIS problem; and an output step of outputting the acquired bit security as an evaluation value of a cryptographic method whose security is based on the input SIS problem.
[0016] A safety evaluation program according to the present invention causes a computer to function as any one of the first to third safety evaluation devices. Effect of the Invention
[0017] According to the present invention, it is possible to configure a security evaluation device with weaker restrictions for cryptographic schemes based on the SIS problem. [Brief description of the drawings]
[0018] [Figure 1] FIG. 2 is a diagram illustrating a functional configuration of a safety evaluation device according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0019] An example of an embodiment of the present invention will now be described. The security evaluation method of this embodiment evaluates security when designing parameters for a cryptographic scheme based on the SIS problem, and an evaluation device with weaker restrictions than conventional ones is constructed, which enables parameter adjustment with a fixed modulus q for parameters with known security.
[0020] First, Definitions 1 to 6 and Theorem 2 regarding computational indistinguishability are presented below. In addition, poly(n): any polynomial n O(1) A collection of negl(n): any function n less than (1 / polynomial) -ω(1)A set of (ignorable functions) It is.
[0021] Definition 1 (Family of random variables X): Let X be a random variable of length at most poly(n). n Then, the family of random variables is X={X i} i∈N It is defined as follows.
[0022] Definition 2 (computational indiscernibility): Two families of random variables X:={X n} n∈N and Y:={Y n} n∈N is that for any probabilistic polynomial-time (PPT) algorithm D, |Pr[D(X n ,1 n )=1]-Pr[D(Y n ,1 n )=1]|=negl(n), it is called computationally indistinguishable.
number
[0023] Definition 3 (Pseudorandom family of random variables): In particular, we define one of the families of random variables as a uniform random family U:={U i} i∈N When
number
[0024] Definition 4 (Product of ensembles): A family of random variables X:={X n} n∈N For m=poly(n), the m-product of X is the family of random variables X m :={(X n,1 ,…,X n,m )} n∈N Here, Xn,i are X n are copies of (independent identically distributed random variables).
[0025] Definition 5 (Multiple Sample Indistinguishability): Two families of random variables X:={X n} n∈N and Y:={Y n} n∈N is that for any probabilistic polynomial-time (PPT) algorithm D and any m = poly(n), |Pr[D(X m )=1]-Pr[D(Y m )=1]|=negl(n), it is called indistinguishable by polynomial-time sampling,
number
[0026] Definition 6 (Family of efficiently generable random variables): A family of random variables X:={X n} n∈N Given a PPT algorithm S, there is a random variable S(1 n ) and X n If and are equidistributed, then it is said to be polynomial-time-constructible.
[0027] Theorem 2 (Non-patent document 2): Two families of random variables X:={X n} n∈N and Y:={Y n} n∈N If is computationally indistinguishable, then it is computationally indistinguishable over multiple samples. That is,
number
number
[0028] Next, we present Definitions 7-11, Lemma, Theorems 3-4, and Corollary for the LWE problem and its dual problem, the SIS problem.
[0029] Definition 7 (Decision-LWE problem d-LWE(m,n,q,χ m )): Let q be an integer. Uniformly randomly chosen a←U(Z n q ),s←U(Z n q ) and a certain Z q LWE samples calculated using noise e←χ sampling from the probability distribution χ above LWE(1,n,q,χ): (a←U(Z n q ),b:=<a,s> +e mod q)∈Z n q xZ q and a uniformly randomly generated sample (a←U(Z n q ),b←U(Z q ))∈Z n q xZ q The problem is to identify the m-th order of samples, and any m = poly(n) samples can be obtained.
[0030] The d-LWE problem can also be rewritten using matrices as follows. That is, the d-LWE problem is a problem in which, for any m = poly(n), A←U(Z m×n q ),s←U(Z n q ) and a certain Z q m noises e←χ sampled from the probability distribution χ above m The LWE sample calculated using LWE(m,n,q,χ m ): (A←U(Z m×n q ),b:=<A,s> +e mod q)∈Z m×n q xZ m q and a uniformly randomly generated sample (A←U(Z m×n q ),b←U(Z m q ))∈Z m×n q xZ m q The problem is to distinguish between
[0031] Thus, since d-LWE(m,n,q,χ) is the problem of identifying LWE samples from uniformly random samples, the “computational intractability of d-LWE(m,n,q,χ)” is synonymous with the “pseudorandomness of LWE(m,n,q,χ)” (Definition 3).
[0032] Definition 8 (SIS sample): The Short Integer Solution (SIS) sample is defined as follows: SIS(m,n,q,χ m ): (A←U(Z m×n q ),b:=A T x mod q)∈Z m×n q xZ n q , where x←χ m
[0033] In many cases, the probability distribution χ m is a parameter β∈R, and any x,x'←χ m In this case, the SIS sample is denoted as SIS(m,n,q,β). Also, the infinity norm β ∞ :∥x-x'∥ ∞ ≦β ∞If we define (the maximum absolute value of the coefficient of x-x'), then ∥x-x'∥ ≦ √mβ ∞ Since this holds, SIS(m,n,q,√mβ ∞ ) is sometimes defined as
[0034] Definition 9 (Decision-SIS problem): SIS(m,n,q,χ m ):(A,b)∈Z m×n q xZ n q and a uniformly randomly generated sample (A←U(Z m×n q ),b←U(Z n q ))∈Z m×n q xZ n q The problem is to distinguish between
[0035] Definition 10 (inverting SIS problem): SIS(m,n,q,χ m ) (or SIS(m,n,q,β)), one development x(b=A T This is a question asking for x).
[0036] Definition 11 (collison-finding SIS problem): SIS(m,n,q,χ m ) (or SIS(m,n,q,β)), two developments x,x'(b=A T x,b=A T The problem is to find x'.
[0037] Here, the reduction inverting SIS → decision SIS is shown in Non-Patent Document 3. Since the reverse is also true, inverting SIS = decision SIS. Also, collision-finding SIS → inverting SIS is obvious. Furthermore, in Non-Patent Document 3, the equivalence (bidirectional reduction) between the SIS problem and the LWE problem is also shown. Therefore, the following Lemma 1 is obtained from Non-Patent Document 3.
[0038] Lemma 1 (d-SIS=d-LWE): For any n,m≧n+ω(log n),q and any distribution χ on Z, d-SIS(m,mn,q,χ m ) is computationally hard if and only if LWE(m,n,q,χ m ) is difficult to calculate.
[0039] Furthermore, the above Theorem 2 can be expanded as follows. Theorem 3: Two families of random variables X:={X n} n∈N and Y:={Y n} n∈N If is computationally indistinguishable on some (suitable) m = poly(n) sample, then it is computationally indistinguishable on any l = poly(n) sample. That is, for some (suitable) m = poly(n),
number
number
[0040] Theorem 3 can be proven by combining the following two facts. X':=X m ,Y':=Y m Then, by Theorem 2, for any k=poly(n),
number
number
Number
Number
[0041] By applying this Theorem 3 to the d-LWE problem, the following Lemma 2 can be obtained. Lemma 2: For any l, m = poly(n), there exists a reduction d-LWE(m, n, q, χ) → d-LWE(l, n, q, χ).
[0042] Here, from Lemma 1 (equivalence of SIS and LWE), for any m ≥ n + ω(log n), d-SIS(m, m - n, q, χ) = d-LWE(m, n, q, χ) holds. Furthermore, since Lemma 2 is applicable for any l, m = poly(n), it shows a two-way reduction (equivalence) d-LWE(m, n, q, χ) = d-LWE(l, n, q, χ). Then, again from Lemma 1, d-LWE(l, n, q, χ) = d-SIS(l, l - n, q, χ) holds. Therefore, the following Theorem 4 is derived.
[0043] Theorem 4 (Main Theorem): For any l, m = poly(n) ≥ n + ω(log n), q = poly(n), and the probability distribution χ over Z m above, there exists a reduction d-SIS(l, l - n, q, χ l ) → d-SIS(m, m - n, q, χ m ).
[0044] Also, Main Theorem 4 can be applied as follows to the reduction for the SIS problem defined by the L2 norm or the infinity norm, which is widely used in the construction of electronic signature schemes and the like.
[0045] Corollary 1: Any l,m=poly(n)≧n+ω(log n),q=poly(n),Z m For the above probability distribution χ, the reduction d-SIS(l,ln,q,√l·β ∞ ) → d-SIS(m,mn,q,√m β ∞ ) exists.
[0046] Series 2: Any l,m=poly(n)≧n+ω(log n),q=poly(n),Z m For the above probability distribution χ, there exists a reduction d-SIS(l,ln,q,β)→d-SIS(m,mn,q,β).
[0047] The safety evaluation device of this embodiment is configured by these Main Theorem 4, Corollary 1, or Corollary 2. FIG. 1 is a diagram showing a functional configuration of a safety evaluation device 1 in this embodiment. The safety evaluation device 1 is an information processing device (computer) including a control unit 10, a storage unit 20, and various input / output interfaces.
[0048] The control unit 10 is a part that controls the entire safety evaluation device 1, and realizes each function in this embodiment by appropriately reading and executing various programs stored in the storage unit 20. The control unit 10 may be a CPU.
[0049] The storage unit 20 is a storage area for various programs for causing the hardware group to function as the safety evaluation device 1, various data, and the like, and may be a ROM, a RAM, a flash memory, a hard disk drive (HDD), or the like. Specifically, the storage unit 20 stores a program (safety evaluation program) for causing the control unit 10 to execute each function of the present embodiment, as well as a correspondence relationship f between known parameters and safety (computation difficulty). hardness A relational equation or a database showing (·) is stored.
[0050] The control unit 10 includes an input unit 11, an acquisition unit 12, and an output unit 13, and outputs an evaluation value indicating the computational difficulty of the SIS problem, which is the basis for the security of the cryptographic method to be designed, using these functional units.
[0051] The input unit 11 receives an input of an SIS problem of unknown computational difficulty. Here, the input parameters for the SIS problem are the above-mentioned probability distribution χ (m, mn, q, χ m ), infinity norm β ∞ Using (m, mn, q, √m·β ∞ ), or (m,mn,q,β) using the L2 norm β.
[0052] The acquisition unit 12 searches for a SIS problem that has a common modulus q with the input SIS problem and is known to be computationally difficult, and acquires the bit security λ of the searched SIS problem. At this time, the acquisition unit 12 calculates SIS(m, mn, q, χ m ) problem, SIS(l,ln,q,χ l ) problem and SIS(m,mn,q,√m·β ∞ ) problem, SIS(l,ln,q,√l·β ∞ ) problem, and for the SIS(m,mn,q,β) problem, we explore the SIS(l,ln,q,β) problem.
[0053] The output unit 13 outputs the acquired bit security as an evaluation value of the encryption method whose security is based on the input SIS problem.
[0054] The processing procedure by the safety evaluation device 1 is expressed by any one of the following algorithms 2 to 4. As a premise, for some l=poly(n), λ=f hardness (SIS(l,ln,q,χ l )), λ=f hardness (SIS(l,ln,q,√l·β ∞ )), or λ=f hardness Assume that (SIS(l,ln,q,β)) is known.
[0055] Algorithm 2: Input: SIS(m,mn,q,χ m )problem Output: Bit security λ (computational complexity O(2 λ )) 1 For some l=poly(n), λ=f hardness (SIS(l,ln,q,χ l )). 2. return λ
[0056] Algorithm 3: Input: SIS(m,mn,q,√m·β ∞ )problem Output: Bit security λ (computational complexity O(2 λ )) 1 For some l=poly(n), λ=f hardness (SIS(l,ln,q,√l·β ∞ )). 2. return λ
[0057] Algorithm 4: Input: SIS(m,mn,q,β) problem with unknown computational difficulty Output: Bit security λ (computational complexity O(2 λ )) 1 For some l=poly(n), λ=f hardness (SIS(l,ln,q,β)). 2. return λ
[0058] According to this embodiment, the security evaluation device 1 evaluates the security of a cryptographic scheme that bases its security on the computational difficulty of the SIS problem, based on the reduction of computational difficulty with a fixed modulus q, which is a parameter related to processing efficiency. Therefore, even when the parameter m relating to the number of SIS samples is set to a large value, the security evaluation device 1 can evaluate the security to be equivalent to that of a known encryption method having the same magnitude of the modulus q. In other words, the security evaluation device 1 can provide a parameter design method with weaker restrictions than conventional methods, and as a result, it becomes possible to design an efficient encryption method with a guaranteed security while suppressing the ciphertext length and key length, etc.
[0059] In addition, in this embodiment, the distribution χ of the target SIS problem is arbitrary, and therefore more general and versatile than conventional methods, enabling a wider range of parameter design. The encryption method to be evaluated is any cryptographic algorithm whose security is based on the SIS problem, and this embodiment is applicable to various encryption methods, such as symmetric key encryption methods, public key encryption methods, electronic signature methods, other high-performance encryption methods, homomorphic encryption methods, etc.
[0060] Furthermore, by using the security evaluation method of this embodiment, it is possible to search for parameters that satisfy a desired security (bit security λ). For example, the security evaluation device 1 may be configured as a design device that presents candidate combinations of parameters that satisfy the desired bit security λ from within the range of each parameter specified by the user.
[0061] In addition, the above-mentioned embodiment makes it possible to design, for example, a secure and efficient encryption method, which can contribute to Goal 9 of the United Nations-led Sustainable Development Goals (SDGs), which is to "build resilient infrastructure, promote sustainable industrialization and foster innovation."
[0062] Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments. Furthermore, the effects described in the above-described embodiments are merely a list of the most preferable effects resulting from the present invention, and the effects of the present invention are not limited to those described in the embodiments.
[0063] The safety evaluation method by the safety evaluation device 1 is realized by software. When realized by software, a program constituting this software is installed in an information processing device (computer). Moreover, these programs may be recorded on a removable medium such as a CD-ROM and distributed to users, or may be distributed by being downloaded to the user's computer via a network. Furthermore, these programs may be provided to the user's computer as a Web service via a network without being downloaded. [Explanation of symbols]
[0064] 1. Safety evaluation equipment 10 Control section 11 Input section 12 Acquisition Department 13 Output section 20 Memory section
Claims
1. probability distribution χ m SIS (m, m-n, q, χ m ) an input unit for accepting input of a question; The input SIS problem has the same modulus q as the input SIS problem, and the computational difficulty is known. l an acquisition unit for searching for a SIS problem and acquiring bit security of the searched SIS problem; and an output unit that outputs the acquired bit security as an evaluation value of a cryptographic method that bases its security on the input SIS problem.
2. Infinity norm beta ∞ SIS (m, m-n, q, √m・β ∞ ) an input unit for accepting input of a question; The input SIS problem has the same modulus q as the input SIS problem, and the computational difficulty is known to be SIS (l, l-n, q, √l・β ∞ an acquisition unit for searching for a SIS problem and acquiring bit security of the searched SIS problem; and an output unit that outputs the acquired bit security as an evaluation value of a cryptographic method that bases its security on the input SIS problem.
3. an input unit that receives an input of a SIS(m, m-n, q, β) problem of unknown computational difficulty defined using an L2 norm β; an acquisition unit that searches for an SIS (l, l-n, q, β) problem that has a common modulus q with an input SIS problem and is known to be computationally difficult, and acquires the bit security of the searched SIS problem; and an output unit that outputs the acquired bit security as an evaluation value of a cryptographic method that bases its security on the input SIS problem.
4. probability distribution χ m SIS (m, m-n, q, χ m ) an input step for accepting input of a question; The input SIS problem has the same modulus q as the input SIS problem, and the computational difficulty is known. l ) a step of searching for a problem and obtaining the bit security of the searched SIS problem; an output step of outputting the acquired bit security as an evaluation value of a cryptographic method the security of which is based on the input SIS problem.
5. Infinity norm beta ∞ SIS (m, m-n, q, √m・β ∞ ) an input step for accepting input of a question; The input SIS problem has the same modulus q as the input SIS problem, and the computational difficulty is known to be SIS (l, l-n, q, √l・β ∞ ) a step of searching for a problem and obtaining the bit security of the searched SIS problem; an output step of outputting the acquired bit security as an evaluation value of a cryptographic method the security of which is based on the input SIS problem.
6. An input step of accepting an input of a SIS(m, m-n, q, β) problem of unknown computational difficulty defined using an L2 norm β; an acquisition step of searching for an SIS(l, l-n, q, β) problem that has a common modulus q with the input SIS problem and is known to be computationally difficult, and acquiring bit security of the searched SIS problem; an output step of outputting the acquired bit security as an evaluation value of a cryptographic method the security of which is based on the input SIS problem.
7. A safety evaluation program for causing a computer to function as the safety evaluation device according to claim 1.
8. A safety evaluation program for causing a computer to function as the safety evaluation device according to claim 2.
9. A safety evaluation program for causing a computer to function as the safety evaluation device according to claim 3.
Citation Information
Patent Citations
More efficient post-quantum signatures
US20220045865A1
