Safety evaluation device, safety evaluation method, and safety evaluation program

The security evaluation device addresses the larger noise and modulus issue in discrete Gaussian LWE problems by evaluating security using a rounded Gaussian LWE problem, ensuring equivalent security without enlarging ciphertext and key sizes.

JP2024146417AActive Publication Date: 2024-10-15KDDI CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023059297
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

Cryptographic schemes based on the discrete Gaussian LWE problem require larger noise and modulus, leading to larger ciphertext and key sizes due to the larger standard deviation of the discrete Gaussian LWE problem compared to the rounded Gaussian LWE problem.

Method used

A security evaluation device and method that evaluates security using a rounded Gaussian LWE problem with the same error distribution, providing a security bit calculation to ensure equivalent security for discrete Gaussian LWE problems, reducing the need for larger noise and modulus.

Benefits of technology

Enables valid security evaluation for cryptographic systems using discrete Gaussian LWE problems, ensuring equivalent security without increasing ciphertext and key sizes, thus optimizing system design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024146417000001_ABST
    Figure 2024146417000001_ABST
Patent Text Reader

Abstract

To provide a safety evaluation device, a safety evaluation method, and a safety evaluation program capable of evaluating safety of cryptographic schemes using a discrete Gaussian LWE problem with guaranteed correctness, on the basis of rounding Gaussian LWE problems with the same error dispersion.SOLUTION: A safety evaluation device 1 includes: an input part 11 for receiving parameters m, n, q, and r of a discrete Gaussian LWE problem LWE (m, n, q, DZq,r); an acquisition part 12 for acquiring a security bit of a rounding Gaussian LWE problem with a common parameter; a calculation part 13 for calculating a value by subtracting (πm / 4r2) from the acquired security bit as a security bit for the discrete Gaussian LWE problem; and an output part 14 for outputting the calculated security bit.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

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] In Non-Patent Document 1, the computational difficulty of the continuous Gaussian LWE (Learning with Errors) problem (= the LWE problem where the error distribution is a continuous Gaussian distribution) is proven. It is also shown that this leads trivially to the difficulty of the rounded Gaussian LWE problem (= the LWE problem where the error distribution is a rounded Gaussian distribution), and a public key cryptosystem with a security proof based on this problem is proposed. Subsequently, in Non-Patent Document 2 and the like, a more sophisticated encryption method (attribute-based encryption) has been proposed, which is based on the discrete Gaussian LWE problem (= LWE problem with an error distribution of a discrete Gaussian distribution).

[0003] In Non-Patent Document 3, it was shown that the discrete Gaussian LWE problem is more difficult than the rounded Gaussian LWE problem, that is, the rounded Gaussian LWE problem is reduced to the discrete Gaussian LWE problem (written as "rounded Gaussian LWE problem → discrete Gaussian LWE problem"). Since the computational difficulty of the discrete Gaussian LWE problem has also been proven, the security of the method in Non-Patent Document 2 has also been proven.

[0004] In addition, in Non-Patent Document 4, etc., a specific security bit λ for the LWE problem (the computational complexity of decryption is 2 λ A method for generating the exponent of However, since this method is based on the hypothesis that the difficulty of the LWE problem is determined only by the variance of the error, when used for problems other than the rounded Gaussian LWE problem, the security bit is not a parameter value whose correctness is guaranteed by a security proof. [Prior art documents] [Non-patent literature]

[0005] [Non-Patent Document 1] Oded Regev. "On Lattices, Learning with Errors, Random Linear Codes, and Cryptography". In: J. ACM 56.6 (Sept. 2009). [Non-Patent Document 2] Sergey Gorbunov, Vinod Vaikuntanathan, and Hoeteck Wee. "Attribute-Based Encryption for Circuits". In: J. ACM 62.6 (Dec. 2015). [Non-Patent Document 3] Chris Peikert. "An Efficient and Parallel Gaussian Sampler for Lattices". In: CRYPTO 2010. 2010, pp. 80-97. [Non-Patent Document 4] Martin R. Albrecht, Benjamin R. Curtis, Amit Deo, Alex Davidson, Rachel Player, Eamonn W. Postlethwaite, Fernando Virdia, and Thomas Wunderer. "Estimate All the {LWE, NTRU} Schemes!" In: SCN 2018. 2018, pp. 351-367. [Non-Patent Document 5] Thomas Prest. "Sharper Bounds in Lattice-Based Cryptography Using the Renyi Divergence". In: ASIACRYPT 2017. 2017, pp. 347-374. Summary of the Invention [Problem to be solved by the invention]

[0006] Non-patent document 3 reduces the rounded Gaussian LWE problem to the discrete Gaussian LWE problem.

number

[0007] The present invention aims to provide a security evaluation device, a security evaluation method, and a security evaluation program that can evaluate the security of a cryptographic scheme using the discrete Gaussian LWE problem with guaranteed correctness, based on the rounded Gaussian LWE problem with uniform error variance. [Means for solving the problem]

[0008] The safety evaluation device according to the present invention solves the discrete Gaussian LWE problem LWE(m,n,q,D Zq,r An input unit that receives input of parameters m, n, q, and r of the rounded Gaussian LWE problem having the common parameters, and an acquisition unit that acquires a security bit of the rounded Gaussian LWE problem having the common parameters, and calculates (πm / 4r 2 a calculation unit that calculates a value obtained by subtracting 1 from 2 as a security bit for the discrete Gaussian LWE problem, and an output unit that outputs the security bit calculated by the calculation unit.

[0009] The security evaluation method according to the present invention is a method for solving the discrete Gaussian LWE problem LWE(m,n,q,D Zq,r An input step of receiving parameters m, n, q, and r of the rounded Gaussian LWE problem having the common parameters, an acquisition step of acquiring a security bit of the rounded Gaussian LWE problem having the common parameters, and a security bit of (πm / 4r 2) as a security bit for the discrete Gaussian LWE problem; and an output step of outputting the security bit calculated in the calculation step.

[0010] A safety evaluation program according to the present invention causes a computer to function as the safety evaluation device. Effect of the Invention

[0011] According to the present invention, for a cryptosystem using the discrete Gaussian LWE problem, the security can be evaluated with guaranteed correctness based on the continuous or rounded Gaussian LWE problem with the same error variance. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram illustrating a relationship in security between a discrete Gaussian LWE problem and a continuous Gaussian LWE problem and a rounded Gaussian LWE problem in an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a functional configuration of a safety evaluation device according to an embodiment. [Diagram 3] FIG. 2 is a diagram showing an algorithm of a safety evaluation program executed by a safety evaluation device in an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] An example of an embodiment of the present invention will now be described. The security evaluation device of this embodiment outputs a security bit indicating security when designing parameters for the LWE cryptosystem whose error distribution is a discrete Gaussian distribution.

[0014] FIG. 1 is a diagram showing the relationship of security between the discrete Gaussian LWE problem, the continuous Gaussian LWE problem, and the rounded Gaussian LWE problem in this embodiment. As mentioned above, the reduction of the continuous Gaussian LWE problem to the rounded Gaussian LWE problem is trivial. As mentioned above, the reduction of the continuous Gaussian LWE problem to the discrete Gaussian LWE problem was also shown only under the condition that the parameter r (standard deviation of the error) increases.

[0015] In other words, unless a cryptosystem based on the discrete Gaussian LWE problem uses a standard deviation larger than that of the continuous Gaussian LWE problem or the rounded Gaussian LWE problem, the same level of security is not guaranteed. In this embodiment, we show the relationship between the rounded Gaussian LWE problem and the discrete Gaussian LWE problem with the same parameter values, i.e., the reduction of the rounded Gaussian LWE problem with the same standard deviation parameter to the discrete Gaussian LWE problem, and based on this, we configure a security evaluation device for a cryptographic scheme that uses the discrete Gaussian LWE problem, which is guaranteed to be more difficult to calculate than conventional methods.

[0016] [Definition] In what follows, the following notation is used: ·R + is the set of positive real numbers. ·The probability density function of probability distribution D is written as D(x). ·U(X) represents the uniform distribution on the set X. Z q All matrix or vector multiplications of the above values ​​are performed mod q.

[0017] Definition 1 (Gaussian function): A one-dimensional Gaussian function with center c∈R and parameter s is

number

[0018] Definition 2 (Rounding R / qZ → Z q): For a probability density function φ of a probability distribution on [0,q) with modulus q∈N, Z rounded to an integer q Let the above distribution be  ̄φ, and define its probability density function as follows:

number

[0019] Definition 3 (Periodic continuous Gaussian distribution on R / qZ): r∈R + ,q∈N, and the continuous normal distribution N(0,r 2 / 2π) mod q to obtain a probability distribution on [0,q) called Ψ q,r It is written as Ψ q,r The probability density function of is:

number

[0020] Definition 4 (Rounded Gaussian distribution): Ψ q,r Let be a continuous Gaussian distribution on R / qZ (Definition 3). The distribution obtained by rounding this distribution according to Definition 2 is called  ̄Ψ q,r and is called the rounded Gaussian distribution.

[0021] Definition 5 (Discrete Gaussian distribution on an integer lattice): A discrete Gaussian distribution D on an integer lattice with parameter r Z,r The probability density function of is defined as follows:

number

[0022] Definition 6 (LWE): m, n, q ≥ 2 are integers, and χ is Z q Let the error distribution be the above. Secret vector s~U(Z n q ) LWE sample LWE s (m,n,q,χ) is (A,As+e), and A~U(Zm×n q ),e~χ m The LWE problem is the problem of finding a secret vector s from a given LWE sample.

[0023] Definition 7 (Max-log distance): The Max-log distance between probability distributions D1 and D2 with the same support (S = Supp(D1) = Supp(D2)) is defined as follows:

number

[0024] This also leads to the following relationship:

number

[0025] Definition 8 (Smoothing parameter): For a lattice L, any real number ε>0, the smoothing parameter η ε (L) is defined as follows:

number

[0026] [theorem] In this embodiment, the safety evaluation device 1 is configured using a system 10 derived from the following theorem 9.

[0027] Theorem 9: n∈N,r≧η ε For (Z), ε>0, q:=2tr, t=Ω(√n), the following holds:

number

[0028] Proof: From Lemma 13 and 15 below,

number

[0029] Corollary 10: For any ε = negl(n), m = poly(n), the following holds:

number

[0030] Lemma 11: For any ε>0,r≧η ε For (Z), the following holds:

number

[0031] Proof: From Non-Patent Document 1, for any ε>0,r≧η ε For (Z), ρ r (Z)∈(1±ε)r. Therefore, for ∀x∈Z,

number

number

number

number

number

[0032] Lemma 12:

number

number

[0033] Proof:

number

number

[0034] Lemma 13: For n∈N,q:=2tr,t=Ω(√n), the following holds.

number

[0035] Proof: By definition,

number

number

[0036] Lemma 14: For any ε>0, r≧η ε (Z), and for any t>0,

number

[0037] Proof: From non-patent document 1, ρ r (Z)=(1±ε)r. Therefore,

number

[0038] Lemma 15: n∈Z,r≧η εFor (Z), ε>0, q:=2tr, t=Ω(√n), the following holds:

number

[0039] Proof: For any x∈Z q In contrast,

number

[0040] [Safety attribution] First, Δ ML We define the Renyi divergence, which is a distance measure between similar probability distributions, and Δ ML Explain the relationship between and RD, and the nature of RD.

[0041] Definition 16 (Renyi divergence): For probability distributions D1, D2 such that S:=Supp(D1)⊆Supp(D2), the Renyi divergence of order a≧1 is defined as follows.

number

[0042] Here, R a (D1∥D1)=1, and R a The closer (D1∥D2) is to 1, the more similar the distributions of D1 and D2 are. The most important property of Renyi divergence is that it can be applied to computational complexity reduction.

[0043] Lemma 17 (see Non-Patent Document 5): Let λ∈N be a security parameter. For any function (algorithm) f, P f (resp. Q f ) is the distribution when y~P (resp. y~Q) is sampled and f(y) is output. For any (probabilistic polynomial time: PPT) algorithm f, there exists an event E ⊆ Supp(Q f) occurs.

number

number

[0044] Also, Δ ML can be confirmed to give an upper bound on the Renyi divergence of any order, so R a To find the upper bound of Δ ML It is sufficient to find an upper bound on , i.e.,

[0045] Lemma 18(Renyi<Δ ML ): Let D1,D2 be probability distributions on S=Supp(D1)=Supp(D2). For any a∈[1,∞],

number

[0046] Next, we present a definition of λ-safety for the LWE problem (Definition 6). Definition 19 (λ-safety): For any probabilistic polynomial time (PPT) algorithm f, if f is an LWE sample (A, b) ← LWE s The probability of the event E of outputting s from (m,n,q,χ) is

number

[0047] From the above, we can derive the following theorem. Theorem 20:

number

[0048] Proof:

number

number

number

number

number

number

[0049] [Function configuration] In this embodiment, the safety evaluation device 1 is configured based on the above-mentioned Theorem 20. FIG. 2 is a diagram showing the functional configuration of the 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.

[0050] 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.

[0051] 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.

[0052] The control unit 10 includes an input unit 11, an acquisition unit 12, a calculation unit 13, and an output unit 14, and outputs an evaluation value indicating the computational difficulty (security of the encryption) of the discrete Gaussian LWE problem adopted by the encryption scheme to be designed using these functional units.

[0053] The input unit 11 is a discrete Gaussian LWE problem LWE(m, n, q, D Zq,r ) parameters m, n, q, and r are accepted as input.

[0054] The acquisition unit 12 acquires a security bit λ′ for the rounded Gaussian LWE problem in which the parameters received by the input unit 11 are common. The security bit of the rounded Gaussian LWE problem can be obtained by a known method such as that shown in Non-Patent Document 4. The calculated value may be stored in a database in association with the parameter.

[0055] The calculation unit 13 calculates (πm / 4r 2 ) is subtracted from the security bit λ of the discrete Gaussian LWE problem.

[0056] The output unit 14 outputs the security bit λ calculated by the calculation unit 13 as a security evaluation value of the encryption.

[0057] FIG. 3 is a diagram showing an algorithm of a safety evaluation program executed by the safety evaluation device 1 in this embodiment. This algorithm takes parameters m, n, q, and r as input and outputs a security bit λ for the discrete Gaussian LWE problem.

[0058] In step 1, the security evaluation device 1 obtains a security bit λ′ of the rounded Gaussian LWE problem corresponding to the input parameters. In step 2, the safety evaluation device 1 calculates λ:=λ'-(πm / 4r 2 ) to calculate

[0059] According to this embodiment, in a discrete Gaussian LWE problem with the same error variance, the loss of security bits (πm / 4r 2 ), but r 2 When is sufficiently large with respect to m, the computational difficulty equivalent to that of the rounded Gaussian LWE problem, that is, the security of the cryptosystem, is guaranteed. As a result, unlike security based on conventional hypotheses (Non-Patent Document 4), the security evaluation device 1 can evaluate the security of a cryptosystem using the discrete Gaussian LWE problem with guaranteed correctness based on the rounded Gaussian LWE problem with common parameters. As a result, in the past, in order to achieve the same computational difficulty as the rounded Gaussian LWE problem, it was necessary to use a discrete Gaussian LWE problem with a large error variance (about twice as large).However, it is now possible to design an encryption scheme using the discrete Gaussian LWE problem with the same variance, that is, without changing the size of the ciphertext and key, and with the same guaranteed security.

[0060] In the present embodiment, the security proof uses the constraint (πm / 4r 2 ) security bits are lost, so r 2 ≧m, etc., r 2 is preferably used when is sufficiently large with respect to m.

[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 Sustainable Development Goals (SDGs) led by the United Nations, 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 Calculation section 14 Output section 20 Memory section

Claims

1. Discrete Gaussian LWE problem LWE(m,n,q,D Zq,r An input unit that accepts input of parameters m, n, q, and r of the An acquisition unit that acquires a security bit of a rounded Gaussian LWE problem having the same parameters; From the security bit acquired by the acquisition unit, (πm / 4r 2 a calculation unit that calculates a security bit for the discrete Gaussian LWE problem by subtracting an output unit that outputs the security bit calculated by the calculation unit.

2. Discrete Gaussian LWE problem LWE(m,n,q,D Zq,r An input step of accepting input of parameters m, n, q, and r of the obtaining a security bit for a rounded Gaussian LWE problem with common parameters; From the security bit acquired in the acquisition step, (πm / 4r 2 a calculation step of calculating a value obtained by subtracting an output step of outputting the security bit calculated in the calculation step,

3. A safety evaluation program for causing a computer to function as the safety evaluation device according to claim 1.

Citation Information

Patent Citations

  • Design device, design method and design program

    JP2022170070A

  • Design device, method for designing, and design program

    JP2023005134A