Information processing device, sample vector generation method, and program

By employing a split and merge function with noise addition and substitution, the system improves the safety and accuracy of generating sample vectors in the FALCON tree, addressing the challenge of side-channel attacks and maintaining security in the face of potential data breaches.

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

Patent Information

Application Number
JP2025081130
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

The complexity of the FALCON tree structure in the generation of sample vectors using a complete binary tree structure makes it difficult to implement effective countermeasures against side-channel attacks, specifically masking the implementation of the FALCON tree does not yet exist, which is difficult to maintain accuracy due to the inherent noise involved in the structure, and the accuracy is maintained, but safety is not guaranteed.

Method used

The system includes an operation unit that calculates nodes at each level of a complete binary tree using a split function to divide the coefficient vector into two parts with added noise, followed by a substitution process to rearrange nodes, and a merge function to combine them, ensuring safety by making the tree irreversible.

Benefits of technology

This approach enhances the safety of generating sample vectors using a complete binary tree, improving resistance to side-channel attacks by maintaining accuracy and ensuring security even if k-1 intermediate values are compromised.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026184679000001_ABST
    Figure 2026184679000001_ABST
Patent Text Reader

Abstract

Improve safety in generating sample vectors using a complete binary tree. [Solution] The information processing device includes an operation unit that calculates one or more nodes at each level from the top to the bottom of a complete binary tree using a split function that divides the coefficient vector of a polynomial into a first coefficient vector with noise added and a second coefficient vector with noise added, and the operation unit calculates i between the top and bottom levels o In each of the one or more layers below the current layer, a substitution is performed to rearrange multiple nodes, and a sample vector is generated from each of the multiple nodes after the substitution in the lowest layer.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This invention relates to a sample masking technique using the FALCON (Fast-Fourier Lattice-based Compact Signature over NTRU) tree. [Background technology]

[0002] One of the threats to cryptography is side-channel attacks. Side-channel attacks are implementation-based attacks that obtain confidential internal information by physically observing the hardware. With the proliferation of IC cards and IoT devices, there are more situations where it is possible to directly access cryptographic devices. In order to use cryptography securely, measures are needed to prevent important information from being stolen through side-channel attacks.

[0003] A countermeasure known as masking implementation is known against side-channel attacks. The most common masking implementation is the one defined as SNI (Strong Non-Interference) secure, disclosed in Non-Patent Document 1. This masking implementation method guarantees security even if k-1 pieces of information are stolen by dividing the secret information (such as a polynomial) into k parts. Another example of a masking implementation technique is the refresh function. [Prior art documents] [Non-patent literature]

[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 [Non-Patent Document 2] FALCON, https: / / falcon-sign.info / [Overview of the Initiative] [Problems that the invention aims to solve]

[0005] Standardization efforts for post-quantum cryptography, which is difficult to break even with quantum computers, are being led by the US research institution NIST, and several schemes have already been adopted. One of these, FALCON, requires the use of a complete binary tree called a FALCON tree in signature generation to obtain a vector of FFT (Fast Fourier Transformation) representations of lattice points adjacent to a given point by sampling (e.g., discrete Gaussian sampling). Due to the complexity of its structure, a masking implementation does not yet exist. The FALCON tree is a technique for speeding up computations.

[0006] Specifically, if sampling is performed in a divided state, it is difficult to maintain accuracy due to the inherent noise involved. On the other hand, if the divided sample portions are added together before calculation, accuracy is maintained, but safety is not guaranteed.

[0007] This invention has been made in view of the above points, and aims to provide a technique for improving safety in the generation of sample vectors using a complete binary tree. [Means for solving the problem]

[0008] According to the disclosed technology, the system includes an operation unit that calculates one or more nodes at each level from the top to the bottom of a complete binary tree using a split function that divides the coefficient vector of a polynomial into a first coefficient vector with added noise and a second coefficient vector with added noise. The calculation unit is located between the uppermost layer and the lowermost layer i o In each of the one or more layers below the current layer, a substitution is performed to rearrange multiple nodes, and a sample vector is generated from each of the multiple nodes after the substitution in the lowest layer. An information processing device is provided. [Effects of the Invention]

[0009] The disclosed technology makes it possible to improve the safety of generating sample vectors using a complete binary tree. [Brief explanation of the drawing]

[0010] [Figure 1] This is a diagram showing the configuration of the information processing device 100. [Figure 2] This diagram shows the algorithm for "splitk + refresh function". [Figure 3] This diagram shows the algorithm for "mergek + refresh function". [Figure 4] This diagram illustrates the process of generating sample vectors. [Figure 5] This diagram illustrates the operation around the i0 layer. [Figure 6] This is a diagram illustrating an example of use. [Figure 7] 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] In this embodiment, safety is ensured by utilizing the partitioning of the FALCON tree. Specifically, safety is guaranteed by making the tree irreversible by adding a substitution function to the partitioning of the FALCON tree.

[0013] In the present embodiment, an example will be described in which the technology according to the present invention is applied to generation of a sample vector using a FALCON tree, which is used in signature generation of FALCON. However, the scope of application of the technology according to the present invention is not limited to FALCON. The technology according to the present invention is applicable to various fields in which a sample vector is generated using a complete binary tree.

[0014] Note that in the text of the following specification, for convenience of description, normal fonts are used as fonts of characters representing vectors or sets. It is clear from the context that the character represents a vector or a set.

[0015] (Example of Device Configuration) FIG. 1 illustrates a configuration example of an information processing device 100 in the present embodiment. As illustrated in FIG. 1, the information processing device 100 includes an input unit 110, a calculation unit 120, and an output unit 130.

[0016] A polynomial or the like to be processed is input from the input unit 110. The calculation unit 120 executes a process of calculating a sample vector by a process that ensures security by adding noise. The output unit 130 outputs the sample vector obtained by the calculation unit 120.

[0017] (Overview of Processing) Sampling used in FALCON is calculated using a complete binary tree called a FALCON tree. Furthermore, from the property that sampling is performed in the FFT space and the structure of the binary tree, the following two functions are used.

[0018] split k : FFT(Q[x] / (x k +1))→FFT(Q[x] / (x k-1 +1)) 2 merge k : FFT(Q[x] / (x k-1 +1)) 2 →FFT(Q[x] / (x k +1)) After calculating the sample values ​​in the lowest layer of leaves obtained by applying the above split multiple times, the values ​​are merged. Then, a polynomial with integer coefficients is obtained by the inverse FFT. The basic processing outline in this embodiment is as follows.

[0019] In this embodiment, in split, k The function "split" is a function that adds noise from random numbers to the function. k +Refresh function is used in merge, merge k The function "merge" is a function that adds noise from random numbers to a function. k Use the "+refresh function".

[0020] The information processing device 100 receives the input of the split state and then selects "split k The system uses the "+refresh function" to compute a complete binary tree down to the lowest level (the number of levels depends on the parameter). The information processing device 100 applies the Unmask function at the lowest level, returns the values ​​to an unpartitioned state, executes the SamplerZ function to find the sample vector, and then returns to the partitioned state. After that, it uses "merge k The "+refresh function" is used to obtain the output in its divided state.

[0021] Furthermore, in this embodiment, 2 i_0 By applying a substitution process to the i0th layer and beyond that satisfy ≥k, the security of the masking implementation, which assumes that k-1 or fewer intermediate values ​​have been attacked, can be improved.

[0022] The refresh function is a function that transforms distributed values ​​into new distributed values ​​so that their sum does not change. For n values, the value before transformation is a i Let the converted value be b i Therefore, the refresh function can be expressed as follows:

[0023] {a i} d ―>{bi} d However, Σ d i=1 a i =Σ d i=1 b i Below, “split k +refresh function", "merge k This section explains the "+refresh function" and the processes that use these functions.

[0024] ("split k (Regarding the "+refresh function") First, refer to Figure 2 and click "split k The "+refresh function" will be explained. Figure 2 is a diagram showing the processing procedure (algorithm) executed by the arithmetic unit 120. The processing procedure will be explained with reference to Figure 2. The line numbers in Figure 2 will be considered as the step numbers of the processing executed by the arithmetic unit 120.

[0025] "Require:[f i ]∈[FFT k (Q[x] / (x k [f +1)))" i ](i=1~d) is the polynomial quotient ring "Q[x] / (x k This represents a vector obtained by dividing the coefficient vector of the polynomial obtained by FFT transforming the polynomial f of the elements of "(f(ζ),f(ζ)" into d parts. Specifically, if ζ is the kth root of -1, then the coefficient vector of the polynomial obtained by FFT transforming f is "(f(ζ),f(ζ) 2 ),…,f(ζ k-2 ),f i (ζ k-1 ))」 and the partition of this vector is [f i ]

[0026] "Ensure:[(g i,0 ,g i,1 )]∈[FFT(Q[x] / (x k-1 +1)) 2 In ], the polynomial residue ring "(Q[x] / (x k-1 +1)) 2The two polynomials g0 and g1, which are elements of ", are each subjected to an FFT transformation, and the vector of the coefficients of these polynomials is divided into d parts, resulting in g i,0 ,g i,1 (i=1~d)

[0027] Specifically, for example, the coefficient vectors of the polynomials obtained by FFT transforming g0 and g1 respectively are "(g0(1), g0(ζ 2 ),…,g0(ζ 2(k-3) ),g0(ζ 2(k-2) ))'', (g1(ζ),g1(ζ 3 ),…,g1(ζ 2(k-2)-1 ),g1(ζ 2(k-1)-1 ))」」 and the partitioning of these vectors is [(g i,0 ,g i,1 )]

[0028] Here, if we denote the polynomial whose coefficients are each element of the coefficient vector f as f(X), then "f i (X=g i,0 (X 2 ) + Xg i,1 (X 2 There is a relationship between "f i (-X) = g i,0 (X 2 )-Xg i,1 (X 2 From ) the following equation can be obtained.

[0029] g i,0 (X 2 )=(f i (X)+f i (-X)) / 2 g i,1 (X 2 )=(f i (X)-f i (-X)) / 2X These correspond to steps 6 and 7 of the algorithm.

[0030] The arithmetic unit 120 executes S2 to S16 for each of the k k roots ζ of -1 in the loop S1 (step 1) to S17 of the algorithm.

[0031] In the loop S3 to S16, the arithmetic unit 120 executes S4 to S15 for each of the d divided elements.

[0032] The calculation unit 120 executes S5 to S14 for each j from j=i to d in the loop S4 to S15. The calculation unit 120 executes S6 and S7 only when i=j. The calculation unit 120 performs FFT(Q[x] / (x) in S9 for each j where i≠j. k-1 Generate random numbers r0, r0 which are elements (coefficient vectors) of +1).

[0033] The calculation unit 120 calculates the g at that time in S10. i,0 g is obtained by adding a random number (vector) r0 to (ζ′). i,0 Let (ζ′). In S11, the calculation unit 120 calculates the g at that time. j,0 (ζ′) minus r0 is g j,0 Let (ζ′). Since the sum of the added r0s and the sum of the subtracted r0s are the same, their sum becomes 0. Thus, a refresh function is realized that converts the dispersed (partitioned) values ​​into new dispersed values ​​so that their sum does not change.

[0034] The same applies to S12 and S13. In S12, the calculation unit 120 calculates the g at that time. i,1 (ζ′) plus a random number (vector) r1 gives g i,1 Let (ζ′). In S13, the calculation unit 120 calculates the g at that time. j,1 (ζ′) minus r1 is g j,1 Let it be (ζ′).

[0035] ("merge k (Regarding the "+refresh function") Next, refer to Figure 3 and see "merge k The "+refresh function" will be explained. Figure 3 is a diagram showing the processing procedure (algorithm) executed by the arithmetic unit 120. The processing procedure will be explained with reference to Figure 3. The line numbers in Figure 3 will be considered as the step numbers of the processing executed by the arithmetic unit 120.

[0036] In the "merge k + refresh function", the "[f k " that was input in the "split i + refresh function" k k (Q[x] / (x k +1))]" becomes the output, which is denoted as [g i

[0037] Furthermore, the "(g k " that was output in the "split i,0 + refresh function" i,1 ,g k )]∈[FFT k-1 (Q[x] / (x 2 +1))]" becomes the input, which is denoted as [(f i,0 ,f i,1 )]

[0038] The arithmetic unit 120 executes S2 to S13 for each of the k-th roots ζ of -1 in the loops of S1 to S14 of the algorithm.

[0039] The arithmetic unit 120 executes S4 to S12 for each of the d divided elements in the loops of S3 to S13.

[0040] The arithmetic unit 120 executes S5 to S11 for each j from i to d in the loops of S4 to S12. The arithmetic unit 120 executes S6 only when i=j. In S6, "f i,0 (ζ′)+ζf i,1 (ζ′)" is set as g i (ζ).

[0041] For each j where i≠j, the arithmetic unit 120 generates a random number r, which is an element (coefficient vector) of FFT(Q[x] / (x k +1)), in S8.

[0042] In S9, the arithmetic unit 120 adds a random number (vector) r to the current g i (ζ) to obtain g iLet (ζ). In S10, the calculation unit 120 calculates the g at that time. j (ζ) minus r is g j Let (ζ). Since the sum of the added r and the sum of the subtracted r are the same, their sum becomes 0. Thus, a refresh function is realized that converts the dispersed (partitioned) values ​​into new dispersed values ​​so that their sum does not change.

[0043] (Process related to the generation of sample vectors) Next, the process of generating sample vectors using the FALCON tree will be explained with reference to Figures 4 and 5.

[0044] The upper tree structure in Figure 4 (a complete binary tree) is "split k This represents the process using the "+refresh function," and the lower tree structure in Figure 4 (the tree structure where the vertex node is below) is "merge k This represents the process using the "+refresh function". In the upper tree structure, the topmost node is at level 0, and the levels are counted downwards. In the lower tree structure, the lowest node is at level 0, and the levels are counted upwards. Figure 5 is a diagram to explain the operation around level i0 in the upper tree structure.

[0045] The node at the top of the upper tree structure in Figure 4 is "split k The first [f in the refresh function] i ] corresponds to, [f i ] vs "split k [g i,0 ]……g i,1 ] is the two nodes directly below the top layer (for example, the left one is [g i,0 ], the right side is [g i,1 This corresponds to ]).

[0046] The calculation unit 120 calculates each of the two nodes directly below the top layer [f i ] is considered as "split kApplying the "+refresh function" creates four nodes. This process is then repeated a number of times equal to the height of the FALCON tree.

[0047] The calculation unit 120 counts from the top layer of the upper tree structure and calculates each i layer (i≧i0(2 i_0 >k)) In this case, substitution σ between multiple nodes created by split i,j ∈S 2^i Perform this process k times (1 ≤ j ≤ k). Each permutation is performed on the 2nd level of the ith hierarchy. i This is a permutation that rearranges the number of nodes. k is the number of divisions in the masking. In other words, it swaps the order of multiple divided nodes at the same hierarchical level. Permutation σ for each i,j i,j This is something that must be determined in advance.

[0048] In the i0 hierarchy, each node is divided into k subdivisions as a masking mechanism, separate from the FALCON tree, and these masked subdivisions are moved as a set by replacement.

[0049] For masking safety, the number of divisions (nodes) of the FALCON tree at the i0 level must exceed the masking order k. While efficiency decreases as i0 increases, safety against attacks using brute-force search for permutations improves.

[0050] As shown in Figure 5, the arithmetic unit 120 performs unmask (the process of adding up the parts that have been divided by sum as masking) after substitution in the i0 hierarchy. In Figure 5, double circles indicate that the data has been divided into k parts by masking, and single circles indicate that the data has not been masked.

[0051] The arithmetic unit 120 performs a "split" operation on each unmasked node. k +Refresh function (however, this applies only to undivided elements) is applied to the hierarchy (i=i0+1) after the substitution σ i,j This will replace the node.

[0052] For example, suppose the above process is performed up to hierarchy i=i0+3. The process from hierarchy i0 to i0+3 (the lowest level) is performed in an unmasked state.

[0053] Next, the arithmetic unit 120 calculates each sample vector using the function SamplerZ, which calculates a sample vector using the values ​​of each node in hierarchy i=i0+3 as input.

[0054] Subsequently, the calculation unit 120 performs an inverse substitution σ to reverse the substitution at that level. i,j -1 ∈S 2^i Perform the "merge" command. k + Perform a refresh function (but only for items that haven't been split), go up one level, perform a reverse substitution to undo the substitution, and then "merge k Perform the refresh function (processing for undivided nodes). Once you reach hierarchy i0, perform masking (division by sum) on each node. Then, merge the nodes up to the top level while they are still divided. k The "+refresh function" is repeated. This allows the calculation unit 120 to obtain the desired sample vector.

[0055] (Example of use) The technology according to this embodiment can be used for any purpose, but for example, it can be used in the aforementioned FALCON.

[0056] While FALCON did not have SNI-safe masking implementation, the technology described in this embodiment makes it possible to perform masking implementation on the sample portion of FALCON (the thick-bordered area in Figure 6).

[0057] (Example hardware configuration) The information processing device 100 described in this embodiment can be realized, for example, by having a computer execute a program. This computer may be a physical computer or a virtual machine on the cloud.

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

[0059] Figure 7 shows an example of the hardware configuration of the computer described above. The computer in Figure 7 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.

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

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

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

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

[0064] (Effects of the embodiment) As described above, the technology described in this embodiment makes it possible to implement a method for enhancing the safety (masking) of samples using the FALCON tree, which is a technique for speeding up FALCON.

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

[0066] <Note> (Additional note 1) The system includes an operation unit that uses a split function to divide the coefficient vector of a polynomial into a first coefficient vector with added noise and a second coefficient vector with added noise, and then calculates one or more nodes at each level from the top to the bottom of a complete binary tree. The calculation unit is located between the uppermost layer and the lowermost layer i o In each of the one or more layers below the current layer, a substitution is performed to rearrange multiple nodes, and a sample vector is generated from each of the multiple nodes after the substitution in the lowest layer. Information processing device. (Additional note 2) The calculation unit is located at the top layer, i o Computation of a complete binary tree up to the hierarchy, and the i o Perform the permutation in the hierarchy while keeping the coefficient vector split for masking purposes. The information processing device described in Appendix 1. (Additional note 3) The aforementioned i o The number of nodes in the hierarchy is greater than or equal to the number of divisions for the masking. The information processing device described in Appendix 2. (Additional note 4) The calculation unit is the i o After the hierarchical substitution, an unmask is performed to restore the split state. The information processing device described in Appendix 2. (Additional note 5) The calculation unit uses a merge function that converts the first coefficient vector and the second coefficient vector into a single coefficient vector with added noise, performs calculations from the lowest to the highest level of the complete binary tree, and outputs a sample vector. The information processing device described in Appendix 1. (Additional note 6) The calculation unit performs the calculation of the complete binary tree in the FFT space. The information processing device described in Appendix 1. (Additional note 7) A method for generating sample vectors that is executed by an information processing device, The method includes a calculation step that uses a split function to divide the coefficient vector of a polynomial into a first coefficient vector with added noise and a second coefficient vector with added noise, thereby calculating one or more nodes at each level from the top to the bottom of a complete binary tree. In the calculation step, i between the uppermost layer and the lowermost layer o In each of the one or more layers below the current layer, a substitution is performed to rearrange multiple nodes, and a sample vector is generated from each of the multiple nodes after the substitution in the lowest layer. Method for generating sample vectors. (Additional note 8) A non-temporary storage medium storing a program for causing a computer to function as the arithmetic unit in any one of the appendices 1 to 6.

[0067] 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]

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

Claims

1. The system includes an operation unit that calculates one or more nodes at each level from the top to the bottom of a complete binary tree using a split function that divides the coefficient vector of a polynomial into a first coefficient vector with added noise and a second coefficient vector with added noise. The calculation unit is located between the uppermost layer and the lowermost layer i o In each of the one or more layers below the current layer, a substitution is performed to rearrange multiple nodes, and a sample vector is generated from each of the multiple nodes after the substitution in the lowest layer. Information processing device.

2. The calculation unit is located at the top layer, i o Calculation of a complete binary tree up to the hierarchy, and the i o Perform the permutation in the hierarchy while keeping the coefficient vector split for masking purposes. The information processing apparatus according to claim 1.

3. The i o The number of nodes in the hierarchy is greater than or equal to the number of divisions for the masking. The information processing apparatus according to claim 2.

4. The calculation unit is the i o After the hierarchical substitution, an unmask is performed to restore the split state. The information processing apparatus according to claim 2.

5. The calculation unit uses a merge function that converts the first coefficient vector and the second coefficient vector into a single coefficient vector with added noise, performs calculations from the lowest to the highest level of the complete binary tree, and outputs a sample vector. The information processing apparatus according to claim 1.

6. The calculation unit performs the calculation of the complete binary tree in the FFT space. The information processing apparatus according to claim 1.

7. A method for generating sample vectors that is executed by an information processing device, The method includes a calculation step that uses a split function to divide the coefficient vector of a polynomial into a first coefficient vector with added noise and a second coefficient vector with added noise, thereby calculating one or more nodes at each level from the top to the bottom of a complete binary tree. In the calculation step, i between the uppermost layer and the lowermost layer o In each of the one or more layers below the current layer, a substitution is performed to rearrange multiple nodes, and a sample vector is generated from each of the multiple nodes after the substitution in the lowest layer. Method for generating sample vectors.

8. A program for causing a computer to function as an arithmetic unit in an information processing device according to any one of claims 1 to 6.