Information processing apparatus and information processing method

By performing FFT transformations and adding noise to coefficient vectors, the device securely and efficiently operates on partitioned polynomials, addressing the speed limitations of conventional masking implementations and enhancing cryptographic security.

JP2026184677APending Publication Date: 2026-11-27NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2025081128
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Conventional masking implementations for side-channel attacks are slow due to the difficulty in safely performing operations in the FFT space on multiple polynomials obtained by partitioning, which is necessary for secure cryptographic operations.

Method used

An information processing device performs FFT transformations on divided polynomials, adds noise to each element of the coefficient vectors, and uses a refresh function to ensure the sum of the vectors remains unchanged, combining these operations with inverse FFT to securely transform and restore polynomials.

Benefits of technology

This approach allows safe and efficient operations in the FFT space on partitioned polynomials, bridging the gap between high-speed FFT techniques and masking implementation for enhanced security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026184677000001_ABST
    Figure 2026184677000001_ABST
Patent Text Reader

Abstract

This method safely performs FFT operations on multiple polynomials obtained by partitioning. [Solution] The information processing device includes an operation unit that calculates coefficient vectors of d second polynomials by performing an FFT transformation on each of the d first polynomials obtained by dividing an nth-degree polynomial, and adds noise to each element of each of the d coefficient vectors.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to Fast Fourier Transform (FFT) technology. [Background Art]

[0002] Side-channel attacks are one of the threats to cryptography. A side-channel attack is an implementation-level attack that obtains internal confidential information by physically observing hardware. With the widespread use of IC cards and IoT devices, there are increasing opportunities for direct physical access to cryptographic devices. To use cryptography securely, it is necessary to take measures to prevent important information from being stolen through side-channel attacks.

[0003] A countermeasure technique called masking implementation is known for defending against side-channel attacks. As a masking implementation, the one defined to be secure under Strong Non-Interference (SNI), as disclosed in Non-Patent Document 1, is the mainstream. This masking implementation method divides secret information (such as a polynomial) into d=t+1 pieces, thereby guaranteeing security even if t pieces of information are compromised. [Prior Art Documents] [Non-Patent Documents]

[0004] [Non-Patent Document 1] "Strong Non-Interference and Type-Directed Higher-Order Masking," CCS'16, October 24 - 28, 2016, Vienna, Austria, https: / / dl.acm.org / doi / pdf / 10.1145 / 2976749.2978427 [Summary of Invention] [Problems to be Solved by the Invention]

[0005] While the masking implementation described above is a basic countermeasure against side-channel attacks, it has drawbacks from a practical standpoint, such as slow processing speed. To speed up the calculations in the masking implementation, there is a method that uses the Fast Fourier Transform (FFT), which can perform polynomial multiplication quickly. The FFT is a technique for performing the Discrete Fourier Transform at high speed.

[0006] However, with conventional techniques, it was difficult to safely perform operations in the FFT space on the multiple polynomials created by the partitioning process.

[0007] This invention has been made in view of the above points, and aims to provide a technique for safely performing operations in the FFT space on multiple polynomials obtained by partitioning. [Means for solving the problem]

[0008] According to the disclosed technology, an operation unit calculates the coefficient vectors of d second polynomials by performing an FFT transformation on each of the d first polynomials obtained by dividing an nth-degree polynomial, and adds noise to each element of each of the d coefficient vectors. An information processing device equipped with [this feature] is provided. [Effects of the Invention]

[0009] According to the disclosed technology, it becomes possible to safely perform operations in the FFT space on multiple polynomials obtained by partitioning. [Brief explanation of the drawing]

[0010] [Figure 1] This is a diagram showing the configuration of the information processing device 100. [Figure 2] This figure shows an overview of the process according to this embodiment. [Figure 3] This diagram shows the processing procedure of the information processing device 100. [Figure 4] This is a diagram illustrating an example of use. [Figure 5]This figure shows an example of the hardware configuration of the information processing device 100. [Modes for carrying out the invention]

[0011] Hereinafter, embodiments of the present invention (this embodiment) will be described with reference to the drawings. The embodiments described below are merely examples, and the embodiments to which the present invention is applied are not limited to the embodiments described below.

[0012] This embodiment describes a technique for safely performing operations on the FFT space for multiple polynomials obtained by partitioning, which are necessary operations in masking implementation. Specifically, it describes the transformation to the FFT space using a multiplication-based refresh function of the partitioned polynomials.

[0013] In the following specification text, for convenience of presentation, a standard font is used for characters representing vectors and sets. It is clear from the context that these characters represent vectors and sets.

[0014] (Example of device configuration) Figure 1 shows an example of the configuration of the information processing device 100 in this embodiment. As shown in Figure 1, the information processing device 100 includes an input unit 110, an arithmetic unit 120, and an output unit 130.

[0015] The input unit 110 receives the polynomial to be transformed. The calculation unit 120 performs a process that transforms the divided polynomial into another polynomial (a polynomial in the FFT space) by applying noise to ensure safety. The output unit 130 outputs, for example, the transformed polynomial.

[0016] (Summary of the process) In a standardized post-quantum cryptography scheme called FALCON (Fast-Fourier Lattice-based Compact Signatures over NTRU), in masking implementation computation, FFT is performed on multiple polynomials obtained by splitting. However, a standalone algebraic transform such as FFT is not secure against implementation attacks.

[0017] Thus, a computation unit 120 implements processing related to secure masking implementation by combining FFT (referred to as a convert function) and a refresh function (a function using random numbers). That is, the coefficients of the transformed polynomial can be computed by performing sum computation in a masked state realized by combining the convert function and the refresh function.

[0018] The same applies to inverse transform, and the computation unit 120 can safely restore the transformed polynomial to the polynomial in the original space by combining iFFT (inverse fast Fourier transform) as the convert function and the refresh function.

[0019] More specifically, FFT as the convert function according to the present embodiment is a function that performs calculation of substituting an n-th root of unity (ξ n 2j+1 ) into a polynomial in x, and transforms the result of the calculation into a polynomial having the calculated value as a coefficient. In particular, for this function, FFT(a(x))=(a(ξ n 2j+1 )) j holds for polynomial a(x), and the function is homomorphic.

[0020] Furthermore, the refresh function according to the present embodiment is a function that converts distributed values into new distributed values such that the sum of the values does not change. For n values, let the value before conversion be a i and the value after conversion be b i , the refresh function can be expressed as follows.

[0021] {a i} d―>{b i} d However, Σ d i=1 a i =Σ d i=1 b i Figure 2 shows an example of FFT / iFFT conversion when the technology according to this embodiment is applied to FALCON. In Figure 2, the polynomial is a quotient ring (Q[x] / (x n +1)) d The descriptions, such as that it is an element of FALCON, are merely examples of how it applies, and the technology according to the present invention is not limited thereto.

[0022] (a j (x)) j The expression " is the j-th polynomial when a(x) is divided into k polynomials, and by transforming this with an FFT combined with a refresh function, the expression on the right is obtained. A detailed example of the calculation method will be described later.

[0023] Furthermore, by applying iFFT to the transformed expression using a refresh function, "(b j (x) + Σε i,j ·c i,j (x)) j This expression is obtained by combining the refresh function (FFT + iFFT) and yielding "(a j (x)) j This is a polynomial obtained by distributing (anonymizing) "a j (x)) j The sum of " and "(b j (x) + Σε i,j ·c i,j (x)) j This matches the sum of the terms.

[0024] (Processing procedure) Figure 3 shows the processing procedure (algorithm) executed by the arithmetic unit 120. The processing procedure will be explained with reference to Figure 3.

[0025] Here, we divide an n-th degree polynomial a(x) into d n-th degree polynomials, and obtain the d transformed n-th degree polynomials by applying noise to the FFT. Note that n is, for example, an integer power of 2, and d is an integer greater than or equal to 1.

[0026] The i-th polynomial obtained by dividing a(x) into d parts is a i Let (x) be the case here, in Figure 3, "[a i However a i = t (a i,1 ,...,a i,n )∈R q As shown by ", the polynomial is expressed as a vector of coefficients " t (a i,1 ,...,a i,n It is represented as )」. Note that [a i ] is the vector a of the polynomial coefficients i This indicates that it has been divided.

[0027] Furthermore, the coefficient vector c of the i-th polynomial obtained by FFT i The coefficient of the jth (jth order) of is c i,j As shown in Figure 3, "Σ i=1 d c i =FFT(Σ i=1 d a i The statement ") " holds true.

[0028] Let ξ be the nth root of unity. Alternatively, we may use the nth root of -1 as ξ. The n nth roots of unity are distinguished by the superscript of ξ. For example, ξ j This is the j-th "n-th root of unity" out of the n "n-th roots of unity".

[0029] As shown in "Require" in Figure 3, first, d polynomials a(x) are partitioned from a(x). i (x)(i=1~d) corresponds to [a i The input is sent from the input unit 110 to the calculation unit 120. Hereafter, the line numbers in Figure 3 will be considered as the step numbers of the processes executed by the calculation unit 120.

[0030] In steps S1 (Step 1) to S3, the arithmetic unit 120 executes the process in S2 while increasing i by 1 from i=1 to d. In S2, the arithmetic unit 120 calculates the coefficient vector c of the polynomial obtained by FFT transforming the polynomial a(X). i Calculate the value. Specifically, "c i = t (c i,1 ,..,c i,n )∈C n " and also, "c i,j =a(ξ j )”

[0031] In S4 to S13, the arithmetic unit 120 executes the processes of S5 to S12 while increasing i by 1 from i=1 to d-1.

[0032] In S5 to S12, the arithmetic unit 120 executes the processes of S6 to S11 while increasing j by 1 from j=1+1 to d.

[0033] In S6, the arithmetic unit 120 performs a permutation σ that rearranges the order of the elements {1,...,n}. i,j Prepare the following. Note that each substitution σ i,j The arithmetic unit 120 may have the substitution σ to be used at that time stored in a memory or other storage unit beforehand, or in S6, the substitution σ to be used at that time may be stored in a memory or other storage unit. i,j You may generate this.

[0034] In S7 to S11, the arithmetic unit 120 executes the processes of S8 to S10 while increasing k by 1 from k=1 to n.

[0035] In S8, the arithmetic unit 120 generates a rational random number r. The random number r is generated, for example, by a uniform distribution.

[0036] In Figure 3, in S9 and S10, the symbol with a plus sign inside a circle indicates addition in partitioning, and the symbol with a double square inside a circle indicates multiplication in partitioning. However, for convenience of description, in the text of the specification, the symbol with a plus sign inside a circle in S9 and S10 is represented by a plus sign, and the symbol with a double square inside a circle is represented by a double square.

[0037] In S9, the calculation unit 120 says, "c i,k +r·ζ σ_i,j(k) Calculate this and use it as the new c i,k Let's assume that "σ_i,j(k)" is "σ i,j (k) is intended. i,j "(k)" is the k-th value after substitution of {1,···,n}. σ_i,j(k) " is "σ i,j It is the (k)th nth root of unity.

[0038] In S10, the calculation unit 120 says, "c j,k -r·ζ σ_i,j(k) Calculate this and use it as the new c j,k Let's assume that.

[0039] The above process results in the coefficient vector c of each division. i Noise is added to each element. For each element, the sum of the noise added is equal to the sum of the noise subtracted, so "Σ i=1 d c i =FFT(Σ i=1 d a i )”

[0040] More specifically, in the loop S5-S12 in Figure 3, at S9, where j = i+1-d, the value of j is "r·ζ σ_i,j(k) " is the dividing element c i,k It is added to. Also, in S10 in the loop S5~S12, the j of j=i+1~d is "r·ζ σ_i,j(k) " is the dividing element c j,k It is subtracted from. Therefore, the partition element c i,k(i=i~d), the sum of added noise is equal to the sum of subtracted noise. Since this process is performed for each i, the sum of coefficient vectors after FFT before noise addition is equal to the sum of coefficient vectors after FFT after noise addition.

[0041] For the inverse transform (iFFT) of the transform shown in FIG. 3, the coefficient vector c obtained by transforming with the algorithm of FIG. 3 i is regarded as a polynomial having a i (x) in FIG. 3, and the input to a i (x) is set to "reciprocal of n-th root of unity", and the obtained value (coefficient of the polynomial) is multiplied by 1 / n.

[0042] (Usage example) The technology according to the present embodiment may be used for any application. For example, the technology according to the present embodiment can be used for the above-described FALCON.

[0043] In the conventional FALCON, FFT is used to speed up polynomial multiplication, but there has been no SNI-safe masking implementation. In contrast, by using the technology according to the present embodiment, it is possible to implement masking in a part of FALCON (thick frame part in FIG. 4). In FALCON, n-th root of -1 is substituted instead of n-th root of unity.

[0044] (Hardware configuration example) The information processing apparatus 100 described in the present embodiment can be realized by causing a computer to execute a program, for example. This computer may be a physical computer or a virtual machine on the cloud.

[0045] In other words, the information processing device 100 can be realized by using hardware resources such as the CPU and memory built into the computer to execute a program corresponding to the processing performed by the information processing device 100. The above program can be recorded on a computer-readable recording medium (such as portable memory), saved, and distributed. It is also possible to provide the above program via a network such as the Internet or email.

[0046] Figure 5 shows an example of the hardware configuration of the computer described above. The computer in Figure 5 has a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, etc., all of which are interconnected by a bus BS. The computer may also be equipped with a GPU.

[0047] The program that enables processing on the computer is provided, for example, on a recording medium 1001 such as a CD-ROM or memory card. When the recording medium 1001 containing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001; it may also be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files and data.

[0048] The memory device 1003 reads and stores a program from the auxiliary storage device 1002 when a program startup command is received. The CPU 1004 implements the functions related to the information processing device 100 according to the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network, etc. The display device 1006 displays a GUI (Graphical User Interface) etc., generated by a program. The input device 1007 consists of a keyboard and mouse, buttons, or a touch panel, etc., and is used to input various operation commands. The output device 1008 outputs the calculation results.

[0049] Furthermore, the functions of the elements disclosed herein may be implemented using circuits or processing circuitry that include general-purpose processors, special-purpose processors, integrated circuits, ASICs (Application Specific Integrated Circuits), FPGAs (Field Programmable Gate Arrays), conventional circuits, and / or combinations thereof that are programmed using one or more programs stored in one or more memories, or otherwise configured to perform the disclosed functions. A processor is considered processing circuitry or circuitry because it includes transistors and other circuits. A processor may be a programmed processor that executes programs stored in memory. In this disclosure, a circuit, unit, or means is hardware that performs the enumerated functions, or hardware programmed to perform the enumerated functions. Hardware may be any hardware disclosed herein that is programmed or configured to perform the enumerated functions.

[0050] The system includes memory for storing computer programs, which include computer instructions. These computer instructions provide logic and routines that enable hardware (e.g., processing circuitry or circuitry) to perform the methods disclosed herein. The computer programs can be implemented in commonly known forms, such as computer-readable storage media, computer program products, memory devices, recording media such as CD-ROMs and DVDs, and / or memory in FPGAs and ASICs.

[0051] (Effects of the embodiment) As described above, the technology described in this embodiment makes it possible to safely perform operations in the FFT space on multiple polynomials obtained by partitioning.

[0052] More specifically, when applying this technology to FALCON, it can efficiently bridge the gap between the use of FFT, a high-speed technique, and masking implementation, which enhances safety.

[0053] The following additional information is disclosed regarding the embodiments described above.

[0054] <Note> (Additional note 1) This calculation unit performs an FFT transformation on each of the d first polynomials obtained by dividing an n-th degree polynomial, calculates the coefficient vectors of d second polynomials, and adds noise to each element of each of the d coefficient vectors. An information processing device equipped with the following features. (Additional note 2) The calculation unit performs noise application such that the sum of the coefficient vectors of the d polynomials before noise application is equal to the sum of the coefficient vectors of the d polynomials after noise application. The information processing device described in Appendix 1. (Additional note 3) The calculation unit adds multiple noises to the elements of the coefficient vector of the second polynomial in a given partition, and performs noise addition such that the sum of the noises subtracted from the elements of each subsequent partition equals the sum of the multiple noises. The information processing device described in Appendix 2. (Additional note 4) An information processing method performed by an information processing device, By performing an FFT transform on each of the d first polynomials obtained by dividing an n-th degree polynomial, the coefficient vectors of the d second polynomials are calculated, and noise is added to each element of each of the d coefficient vectors. Information processing methods. (Additional note 5) A non-temporary storage medium that stores a program for causing a computer to function as an information processing device as described in any one of the appendices 1 to 3.

[0055] Although this embodiment has been described above, the present invention is not limited to this specific embodiment, and various modifications and changes are possible within the scope of the gist of the invention as described in the claims. [Explanation of Symbols]

[0056] 100 Information Processing Devices 110 Input Section 120 Arithmetic section 130 Output section 1000 drive unit 1001 Recording media 1002 Auxiliary storage 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input device 1008 Output device

Claims

1. This calculation unit performs an FFT transformation on each of the d first polynomials obtained by dividing an nth-degree polynomial, calculates the coefficient vectors of d second polynomials, and adds noise to each element of each of the d coefficient vectors. An information processing device equipped with the following features.

2. The calculation unit performs noise application such that the sum of the coefficient vectors of the d polynomials before noise application is equal to the sum of the coefficient vectors of the d polynomials after noise application. The information processing apparatus according to claim 1.

3. The calculation unit adds multiple noises to the elements of the coefficient vector of the second polynomial in a given partition, and performs noise addition such that the sum of the noises subtracted from the elements of each subsequent partition equals the sum of the multiple noises. The information processing apparatus according to claim 2.

4. An information processing method performed by an information processing device, By performing an FFT transformation on each of the d first polynomials obtained by dividing an n-th degree polynomial, the coefficient vectors of the d second polynomials are calculated, and noise is added to each element of each of the d coefficient vectors. Information processing methods.