Secret multiplication system, device, method, and program
The secure multiplication system within the CHIKP protocol optimizes communication by employing flag calculations and subshare generation in three secure multiplication devices, addressing the communication overhead challenge in secret multiplication operations and achieving reduced data exchange and multiplications.
Patent Information
- Application Number
- PCT/JP2023/016433
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-26
- Publication Date
- 2024-10-31
AI Technical Summary
Existing secure computation protocols, such as the CHIKP multiplication protocol, face challenges in reducing communication overhead during secret multiplication operations, which is not effectively addressed by existing techniques like those described in Patent Document 1.
A secure multiplication system and method that utilizes three secure multiplication devices (0, 1, and 2) within the CHIKP protocol, employing flag calculations and subshare generation to optimize communication by reducing the number of multiplications and data exchanges, specifically by leveraging the properties of replicated secret sharing and random number share generation to minimize communication requirements.
This approach effectively reduces the amount of communication needed for secret multiplication operations, minimizing the total communication from 3|R| bits to 1/3|R| bits and reducing the number of multiplications, while maintaining secure computation integrity.
Smart Images

Figure JP2023016433_31102024_PF_FP_ABST
Abstract
Description
Secret multiplication system, device, method and program
[0001] The disclosed technology relates to secure computation technology.
[0002] A known protocol for multiplication on a duplicated secret sharing algorithm is the protocol described in Non-Patent Document 1. Given the shares of inputs a and b, this protocol outputs a share of the product c = ab.
[0003] In a secure computation protocol, some sub-shares may be known to all parties, and in this case, it is known that some communication can be reduced (see, for example, Patent Document 1).
[0004] The technology of Patent Document 1 is a technology that reduces communication traffic by using meta-information.
[0005] JP 2017-026788 A
[0006] However, the technique of Patent Document 1 could not be applied to the CHIKP multiplication protocol.
[0007] The disclosed technology aims to provide a secret multiplication system, device, method, and program that is based on the CHIKP multiplication protocol but can reduce the amount of communication.
[0008] A secret multiplication system according to one aspect of the disclosed technology is a secret multiplication system including three secret multiplication devices 0, 1, and 2, where R is an arbitrary ring, a, b∈R, a=a0+a1+a2, b=b0+b1+b2, and a3=a0, a -1 =a2,b3=b0,d3=d0,α 3= α0,α -1= α2,f send-1 =f send2 ,Secret multiplication unit-1 is secret multiplication unit 2, and f ai is a i is a flag indicating whether f is 0 or not. bi is b i is a flag indicating whether f is 0 or not. ai , ai+1 is a i =-a i+1flags indicating whether fai, ai+1, bi, and bi+1 are b i+1 =-a i+1 b i / (a i +a i+1 ), where c=a×b, and each secret multiplication device i (i=0, 1, 2) is a flag indicating whether or not the secret multiplication device i is a aj ∧f aj+1 )∨(f aj , aj+1 ∧f bj )∨faj,aj+1,bj,bj+1} and calculate f sendj The flag calculation part performs the process for j = 0, 1, 2, and the sub-share (α i ,α i+1 ) and a subshare generator f sendj-1 If false, set 0 to α j A first processing unit performs the process of f sendi If is true, then (a i +a i+1 )(b i +b i+1 )-a i b i -α i +α i+1 d i+1 Let f sendi If is false, then -α i +α i+1 d i+1 a second processing unit, sendi-1 If is true then d i is received from the secret multiplication unit i-1, and f sendi-1 If is false, then -α i-1 +α i d i a third processing unit (d i ,d i+1 ) to the share [c] corresponding to the secret multiplication unit i of c i and an output unit that outputs the signal as
[0009] According to the disclosed technology, it is possible to reduce the amount of communication while still being based on the CHIKP multiplication protocol.
[0010] Fig. 1 is a diagram showing an example of the functional configuration of a secure multiplication system. Fig. 2 is a diagram showing an example of the functional configuration of a secure multiplication device. Fig. 3 is a diagram showing an example of the processing procedure of a secure multiplication method. Fig. 4 is a diagram showing an example of a multiplication protocol. Fig. 5 is a diagram showing an example of the functional configuration of a computer.
[0011] [Preparation] R is a ring. An example of R is Z. n (n is an integer equal to or greater than 2). |R| is the number of bits in the ring R.
[0012] Secret sharing is an encryption method in which data is divided into multiple values and distributed to multiple parties. For example, secret sharing can be performed using (k,n) threshold secret sharing. (k,n) threshold secret sharing is a secret sharing method in which data is divided into n random values (called shares), and the original data can be restored by collecting k or more shares, but information about the original data cannot be obtained from shares less than k. For (k,n) threshold secret sharing, the methods described in References 1 and 2 can be used, for example.
[0013] [Reference 1] Mitsuru Ito, Akira Saito, and Takao Nishizeki, "Secret sharing scheme realizing general access structure," Electronics and Communications in Japan (Part III: Fundamental Electronic Science), Vol. 72, No. 9, pp. 56-64, 1989. [Reference 2] Ronald Cramer, Ivan Damgard, and Yuval Ishai, "Share conversion, pseudorandom secret-sharing and applications to secure computation," In Theory of Cryptography Conference, pp. 342-362. Springer, 2005. Replicated Secret Sharing (RSS) is a type of (k,n) threshold sharing scheme. In the embodiment, it is assumed that (2,3)-RSS is used. [a] i Party P i In the embodiment, party p i denotes the secret multiplication unit i.
[0014] In RSS, shares are generated as follows: a is divided into three random values a0, a1, a2∈R such that a=a0+a1+a2, where a i is called a subshare. And, [a] i =(a i ,a i+1 )
[0015] Local operations possible on RSS: Because RSS is additively homomorphic, the following operations can be performed without communication:
[0016] Addition ([a+b] ← [a]+[b]): Given the public value c and the share of a, returns the share of ca.
[0017] Public Value Multiplication ([ca] ← c[a]): Given the public value c and the share of a, returns the share of ca.
[0018] Addition to public value ([c+a]←c+[a]): Given the public value c and the share of a, returns the share of c+a.
[0019] Negation ([-a] ← -[a]): Given a share of a, returns a share of -a.
[0020] The multiplication protocol calls the random number share generation function on RSS as a component. The random number share generation function on RSS takes an id as input and generates a share [α] of a random number α between the parties who input the same id. rand This technology does not depend on the implementation method, but a simple implementation method is to generate one random number for each party and write p i Ga p i+1 There is a way to send it to.
[0021] Specifically, F rand (id) is the share of α that the secret multiplication unit i has when the calculation is performed by the secret multiplication unit i [α] i =(α i ,α i+1 ) is a function that outputs
[0022] [Embodiments] Hereinafter, embodiments of the disclosed technology will be described with reference to the drawings. Note that components having the same functions in the drawings are designated by the same reference numerals, and duplicated descriptions will be omitted.
[0023] An example of the configuration of a secret multiplication system according to an embodiment will be described with reference to FIG. 1 . The secret multiplication system receives shares [a] and [b] as inputs and outputs a share [c] of c = a × b. The secret multiplication system includes three secret multiplication devices 0, 1, and 2. In this embodiment, each of the secret multiplication devices 0, 1, and 2 is connected to a communication network 100. The communication network 100 is a circuit-switched or packet-switched communication network configured to enable connected devices to communicate with each other, such as the Internet, a LAN (Local Area Network), or a WAN (Wide Area Network). Note that the devices do not necessarily need to be able to communicate online via the communication network 100. For example, information to be input to the secret multiplication devices 0, 1, and 2 may be stored on a portable recording medium such as a magnetic tape or a USB memory, and input from the portable recording medium to the secret multiplication devices 0, 1, and 2 offline.
[0024] An example of the configuration of a secret multiplication system and a secret multiplication device i (i=0, 1, 2) included in the secret multiplication system will be described with reference to Fig. 2. The secret multiplication device i included in the secret multiplication system includes, for example, a flag calculation unit i1, a sub-share generation unit i2, a first processing unit i3, a second processing unit i4, and a third processing unit i5, as shown in Fig. 2.
[0025] The secure multiplication device i is a special device configured by loading a special program into a publicly known or dedicated computer having, for example, a central processing unit (CPU), a main memory (RAM), etc. The secure multiplication device i executes each process under the control of, for example, the central processing unit. Data input to the secure multiplication device i and data obtained in each process are stored in, for example, the main memory, and the data stored in the main memory is read out to the central processing unit as needed and used for other processes. At least a portion of each processing unit of the secure multiplication device i may be configured by hardware such as an integrated circuit.
[0026] Each secret multiplication device i performs the processes from step S1 to step S6 described below, which are also shown in FIG.
[0027] <Step S1> [a] and [b], in other words, a0, a1, a2, b0, b1, and b2 are input to the flag calculation unit i1.
[0028] The flag calculation unit i1 is aj ∧f aj+1 )∨(f aj , aj+1 ∧f bj )∨faj,aj+1,bj,bj+1} and calculate f sendj This process is performed for j=0, 1, 2 (step S1).
[0029] The process in step S1 corresponds to the processes from "2:" to "4:" in FIG.
[0030] The generated f sendj is output to the first processing unit i3, the second processing unit i4, and the third processing unit i5.
[0031] where R is any ring, a, b∈R, and a=a0+a1+a2, b=b0+b1+b2.
[0032] In the following process, a3=a0, a -1 =a2, b3=b0, d3=d0, α 3= α0, α -1= α2, f send-1 =f send2 , the secret multiplication device-1 is assumed to be the secret multiplication device 2.
[0033] f ai is a i is a flag indicating whether f is 0. bi is b i is a flag indicating whether f is 0. ai , ai+1 is a i =-a i+1 flags that indicate whether fai, ai+1, bi, bi+1 are b i+1 =-a i+1 b i / (a i +ai+1 ) is a flag indicating whether
[0034] <Step S2> The sub-share generating unit i2 generates a sub-share (α i ,α i+1 ) is generated (step S2).
[0035] Generated alpha i ,α i+1 is output to the second processing unit i4 and the third processing unit i5.
[0036] For example, the sub-share generating unit i2 generates F rand Calculate (id) and (α i ,α i+1 This process corresponds to the process "5:" in Figure 4.
[0037] F rand (id) is a function that generates a share [α] of a random number α between parties who input the same id. Specifically, F rand (id) is the share of α that the secret multiplication unit i has when the calculation is performed by the secret multiplication unit i [α] i =(α i ,α i+1 ) is a function that outputs
[0038] The id is information shared by the secret multiplication units 0, 1, and 2. The id is, for example, a session id.
[0039] <Step S3> The first processing unit i3 receives f sendj-1 is entered.
[0040] f sendj-1 If false, set 0 to α j This process is performed for j=0, 1, 2 (step S3).
[0041] The process in step S3 corresponds to the processes from "6:" to "10:" in FIG.
[0042] Alpha set to 0 j is output to the second processing unit i4 and the third processing unit i5.
[0043] <Step S4> The second processing unit i4 receives fsendi ,a i ,a i+1 ,b i ,b i+1 ,α i ,α i+1 is entered.
[0044] The second processing unit i4 is sendi If is true, then (a i +a i+1 )(b i +b i+1 )-a i b i -α i +α i+1 d i+1 Let f sendi If is false, then -α i +α i+1 d i+1 (step S4).
[0045] The process in step S4 corresponds to the processes from "11:" to "16:" in FIG.
[0046] d i+1 is output to the output section i6. i+1 is output to the third processing unit i+15 of the secure multiplication device i+1 as required.
[0047] <Step S5> The third processing unit i5 receives f sendi-1 ,d i ,α i-1 ,α i is entered.
[0048] The third processing unit i5 is sendi-1 If is true then d i is received from the secret multiplication unit i-1, and f sendi-1 If is false, then -α i-1 +α i d i (step S5).
[0049] The process in step S5 corresponds to the processes from "17:" to "21:" in FIG.
[0050] d i is output to the output section i6.
[0051] <Step S6> The output section i6 contains d i ,d i+1 is entered.
[0052] The output section i6 is (d i ,d i+1 ) to the share [c] corresponding to the secret multiplication unit i of c i (step S6).
[0053] The process in step S6 corresponds to the process "22:" in FIG.
[0054] Each secret multiplication device i performs the processes from step S1 to S6, and outputs shares [c]0, [c]1, and [c]2. As a result, shares [c] of c=a×b are output.
[0055] (a i +a i+1 )(b i +b i+1 )-a i b i If all parties know that ≠ 0, then there is no need to send that information, and the total communication volume can be reduced by one element. In this case, a maximum of two parties will not send, in which case the total communication volume will be reduced from 3|R| bits to 1 / 3, or |R| bits. Multiplications over R are also reduced. Originally, two multiplications over R were required per party, but by applying this technology, two multiplications can be reduced if there are two senders, and four multiplications can be reduced if there is one sender. In other words, the total number of multiplications over R is a minimum of two, and in the worst case scenario where no reduction is possible, it is six.
[0056] (a i +a i+1 )(b i +b i+1 )-a i b i The condition of f = 0 is sendi It corresponds to the f in "3:" in Figure 4. sendj From the definition of f sendj =¬{(f aj ∧f aj+1 )∨(f aj,aj+1 ∧f bj )∨faj,aj+1,bj,bj+1}, so (a i +ai+1 )(b i +b i+1 )-a i b i When f = 0 sendi is false and (a i +a i+1 )(b i +b i+1 )-a i b i When f is not 0 sendi In Figure 4, "11:" and "16:" are true. sendi is false, in other words (a i +a i+1 )(b i +b i+1 )-a i b i When ≠0, the processes of "12:" and "13:" in Figure 4 are not performed. This corresponds to the above explanation that "multiplications on R are also reduced" and "total communication volume is reduced by one element."
[0057] In this way, according to the disclosed technology, it is possible to reduce the amount of communication while still being based on the CHIKP multiplication protocol.
[0058] Furthermore, according to the disclosed technology, since it is based on the CHIKP multiplication protocol, local calculation costs can be reduced compared to the technology described in Japanese Patent Application Laid-Open No. 2017-026788.
[0059] [Modifications] The specific configurations of the embodiments of the disclosed technology are not limited to the configurations described above. The specific configurations of the embodiments of the disclosed technology can be appropriately modified in design, etc., within the scope of the spirit of the embodiments of the disclosed technology.
[0060] The various processes described in the embodiments of the disclosed technology may not only be performed chronologically in the order described, but may also be performed in parallel or individually depending on the processing capacity of the device performing the processes or as needed.
[0061] For example, data exchange between the components of the secure multiplication device i may be performed directly or via a storage unit (not shown).
[0062] [Program, Recording Medium] The processing of each unit of each of the above-mentioned devices may be realized by a computer, in which case the processing content of the functions to be possessed by each device is described by a program. Then, by loading this program into storage unit 1020 of computer 1000 shown in Figure 5 and operating arithmetic processing unit 1010, input unit 1030, output unit 1040, display unit 1060, etc., various processing functions of each of the above-mentioned devices are realized on the computer.
[0063] The program describing the processing contents can be recorded on a computer-readable recording medium, such as a non-transitory recording medium, specifically a magnetic recording device, an optical disk, or the like.
[0064] The program may be distributed, for example, by selling, transferring, lending, etc. a portable recording medium such as a DVD or CD-ROM on which the program is recorded. Furthermore, the program may be stored in a storage device of a server computer, and then transferred from the server computer to another computer via a network, thereby distributing the program.
[0065] A computer executing such a program, for example, first stores the program recorded on a portable recording medium or transferred from a server computer in its own non-transitory storage device, auxiliary storage unit 1050. Then, when executing a process, the computer loads the program stored in auxiliary storage unit 1050, its own non-transitory storage device, into storage unit 1020 and executes processing in accordance with the loaded program. Alternatively, as another form of execution of this program, the computer may load the program directly from a portable recording medium into storage unit 1020 and execute processing in accordance with the program. Furthermore, the computer may execute processing in accordance with the received program each time a program is transferred from a server computer to the computer. Alternatively, the server computer may not transfer the program to the computer, but may instead execute the processing function by issuing an execution instruction and obtaining the results, thereby executing the above-described processing through a so-called ASP (Application Service Provider) type service. Note that, in this embodiment, the program includes information used for processing by a computer that is equivalent to a program (e.g., data that is not a direct instruction to the computer but has properties that define computer processing).
[0066] In this embodiment, the device is configured by executing a predetermined program on a computer, but at least a part of the processing may be realized by hardware. For example, the flag calculation unit i1, the sub-share generation unit i2, the first processing unit i3, the second processing unit i4, and the third processing unit i5 may be configured by a processing circuit.
[0067] It goes without saying that other modifications can be made as appropriate without departing from the spirit of the present invention.
[0068] All publications, patent applications, and technical standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.
Claims
1. A secret multiplication system including three secret multiplication devices 0, 1, and 2, where R is an arbitrary ring, a, b ∈ R, a = a0 + a1 + a2, b = b0 + b1 + b2, a3 = a0, a -1 = a2, b3 = b0, d3 = d0, α 3= α0, α -1= α2, f send-1 = f send2 , the secret multiplication device -1 is the secret multiplication device 2, and f ai is a flag indicating whether a i is 0, and f bi is a flag indicating whether b i is 0, and f ai , ai+1 is a flag indicating whether a i = -a i+1 is true, and fai, ai+1, bi, bi+1 are b i+1 = -a i+1 b i / (a i + a i+1 ) is a flag indicating whether it is true, and c = a × b. Each of the said secret multiplication devices i (i = 0, 1, 2) calculates ¬{(f aj ∧ f aj+1 ) ∨ (f aj , aj+1 ∧ f bj ) ∨ faj, aj+1, bj, bj+1} to obtain f sendj for j = 0, 1, 2 in a flag calculation unit, generates sub-shares (α i , α i+1 ) of the share [α] of the random number α in a sub-share generation unit, and when f sendj-1 is false, performs the process of setting 0 to α j for j = 0, 1, 2 in a first processing unit, and when f sendi is true, sets (a i + a i+1 )(b i + b i+1 ) - a i b i - α i + α i+1 as d i+1 , and when f sendi is false, sets -α i + α i+1 Set it to d i+1 A second processing unit that sets it to f sendi-1 If it is true, receive d i from the secret multiplication device i - 1, and if f sendi-1 is false, then -α i-1 +α i Set it to d i A third processing unit that sets it to (d i , d i+1 ) as the share [c] corresponding to the secret multiplication device i of c i An output unit that outputs it as, and a secret multiplication system including.
2. The secret multiplication device, which is the secret multiplication device i of the secret multiplication system according to claim 1.
3. A secret multiplication method including three secret multiplication devices 0, 1, and 2, where R is an arbitrary ring, a, b ∈ R, a = a0 + a1 + a2, b = b0 + b1 + b2, a3 = a0, a -1 = a2, b3 = b0, d3 = d0, α 3= α0, α -1= α2, f send-1 = f send2 , the secret multiplication device -1 is the secret multiplication device 2, and f ai is a flag indicating whether a i is 0, and f bi is a flag indicating whether b i is 0, and f ai , ai+1 is a flag indicating whether a i = -a i+1 is true, and fai, ai+1, bi, bi+1 are b i+1 = -a i+1 b i / (a i + a i+1 ) is a flag indicating whether it is true, c = a × b, and the flag calculation unit calculates ¬{(f aj ∧ f aj+1 ) ∨ (f aj , aj+1 ∧ f bj ) ∨ faj, aj+1, bj, bj+1} and sets it as f sendj for j = 0, 1, 2 in the flag calculation step, the sub-share generation unit generates sub-shares (α i , α i+1 ) of the share [α] of the random number α in the sub-share generation step, the first processing unit sets 0 as α sendj-1 when f j is false for j = 0, 1, 2 in the first processing step, and the second processing unit calculates (a sendi + a i )(b i+1 + b i ) - a i+1 b i - α i + α i + α i+1 as d i+1 when f sendi is true, and -α when f i +α i+1 as d i+1 in a second processing step, and a third processing unit, where f sendi-1 if true, receives d i from the secret multiplication device i - 1, and if f sendi-1 is false, takes -α i-1 +α i as d i in a third processing step, and an output unit outputs (d i , d i+1 ) as a share [c] corresponding to the secret multiplication device i of c i in an output step, and includes a secret multiplication method.
4. A program for causing a computer to function as each part of the secret multiplication device according to claim 2.
