Confidential MSB normalization system, distributed processing device, confidential MSB normalization method, and program
The distributed processing system addresses the challenge of maintaining accuracy during MSB alignment in secret computations by using bit decomposition and shift units, achieving efficient and precise MSB normalization.
Patent Information
- Application Number
- JP2022556803
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-16
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-10-16
AI Technical Summary
In secret sharing-based secret computations, maintaining accuracy during MSB alignment is challenging, especially when shifting the MSB to the right, as it can result in loss of digits and reduced precision for small inputs.
A distributed processing system involving n distributed processing devices with bit decomposition, logical OR acquisition, shift amount acquisition, and shift units to perform MSB normalization while maintaining accuracy, using (k,n)-secret shared shares and bitwise operations.
Enables accurate MSB alignment without losing precision, ensuring high computational efficiency in secret computations.
Smart Images

Figure 0007540501000007 
Figure 0007540501000013 
Figure 0007540501000015
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for aligning a most significant bit (hereinafter also referred to as "MSB (Most Significant Bit)") to a predetermined bit position in secure computation (hereinafter also referred to as "MSB alignment"). [Background technology]
[0002] In plaintext, multiply-and-accumulate operations are repeated additions, but in secret sharing-based secure computation, parallel processing is required to improve calculation efficiency (see Non-Patent Documents 1 and 2). In addition, when considering accuracy, it is necessary to configure special operations for sums and multiply-and-accumulate. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] Takashi Nishide, Takuma Amada, "Multi-party computation for floating-point arithmetic with reduced communication," Transactions of Information Processing Society of Japan, Vol. 60, No.9, pp. 1433- 1447, 2019. [Non-Patent Document 2] Randmets, J.,"Programming Languages for Secure Multiparty Computation Application Development", PhD thesis. University of Tartu. 2017. Summary of the Invention [Problem to be solved by the invention]
[0004] Because the output of multiply-and-accumulate is high-bit, we want to keep the MSB constant at the time of input; however, if we simply shift it to the right, there is an issue that small inputs will be truncated, resulting in a loss of precision.
[0005] The present invention aims to provide a confidential MSB normalization system, distributed processing device, confidential MSB normalization method, and program that can align the MSB while maintaining accuracy by shifting the entire vector simultaneously (called vector MSB normalization) so as to align the MSB of the data with the largest absolute value among the elements contained in the vector (called vector MSB) to a specified bit position. [Means for solving the problem]
[0006] In order to solve the above problem, according to one aspect of the present invention, a secret MSB normalization system includes n distributed processing devices. Each of the n distributed processing devices includes a bit decomposition unit, a logical sum acquisition unit, a shift amount acquisition unit, and a shift unit. The n bit decomposition units obtain a (k,n)-secretly shared share vector [[ → a]] P Bit-decompose and convert it to vector [[ → a]] P Bit representation of [[ → a]] 2^L The n logical OR acquisition units are then used to obtain the bit representation [[ → a]] 2^L For each bit position of the vector [[ → a i ]], the logical sum of all elements [[A i ]] 2 The n shift amount acquisition units are obtained by ORing [[A 0 ]] 2 ,…,[[A L-1 ]] 2 The amount of shift ρ required to shift the most significant bit of p The n shift parts are the vector [[ → a]] p The vector [[2 ρ→ a]] p Request.
[0007] In order to solve the above problem, according to another aspect of the present invention, a distributed processing device is included in a secret MSB normalization system. The distributed processing device, together with (n-1) distributed processing devices, processes a (k,n)-secretly shared vector of shares [[ → a]] P Bit-decompose and convert it to vector [[ → a]] P Bit representation of [[ → a]] 2^L and (n-1) distributed processors to obtain the bit representation [[ → a]] 2^L For each bit position of the vector [[ → a i ]], the logical sum of all elements [[A i ]] 2 A logical sum acquisition unit that acquires the logical sum [[A 0 ]] 2 ,…,[[A L-1 ]] 2 The amount of shift ρ required to shift the most significant bit of p A shift amount acquisition unit that calculates the vector [[ → a]] p The vector [[2 ρ→ a]] p and a shifting section for obtaining Effect of the Invention
[0008] According to the present invention, it is possible to advantageously perform MSB alignment while maintaining accuracy. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a confidential MSB normalization system according to the first, second, and third embodiments. [Diagram 2] FIG. 2 is a diagram showing an example of a processing flow of the confidential MSB normalization system according to the first embodiment. [Diagram 3]FIG. 2 is a functional block diagram of the distributed processing device according to the first embodiment. [Figure 4] FIG. 11 is a diagram showing an example of a processing flow of a confidential MSB normalization system according to the second embodiment. [Diagram 5] FIG. 11 is a functional block diagram of a distributed processing device according to a second embodiment. [Figure 6] FIG. 13 is a diagram showing an example of a processing flow of a confidential MSB normalization system according to the third embodiment. [Figure 7] FIG. 13 is a functional block diagram of a distributed processing device according to a third embodiment. [Figure 8] FIG. 13 shows the results of an actual experiment. [Figure 9] FIG. 13 is a diagram showing an example of the configuration of a computer to which the present technique is applied. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention will be described. In the drawings used in the following description, components having the same functions and steps performing the same processes are denoted by the same reference numerals, and duplicated explanations will be omitted. In the following description, the symbols " → " etc. should be written directly above the character that immediately follows, but due to limitations in text notation, they are written immediately before the character in question. Within formulas, these symbols are written in the correct position. Furthermore, unless otherwise specified, processing performed on each element of a vector or matrix applies to all elements of that vector or matrix.
[0011] First Embodiment First, the notation used in this embodiment will be described.
[0012] <Notation> k: secret sharing threshold, for example 2.
[0013] n: The number of shares in the secret sharing, in other words, the number of parties in the secret calculation. For example, let us set it to 3.
[0014] P: Prime number. In this embodiment, it is Mersenne prime 2 61We aim to improve processing efficiency by assuming -1.
[0015] ◎ p: The number of bits of P. If P is a Mersenne prime, it is also a prime number, 61.
[0016] ◎ Q: Order of the quotient ring. It means a general order including P, p, and the order used for the exponent part of a floating-point number. When used for the share of the exponent part of a floating-point number, it is especially important to use 2 13 Assume -1.
[0017] L: The maximum bit length of the data to be stored. It is assumed to be smaller than p.
[0018] ◎ λ: The maximum bit length of the exponent to be stored. It is assumed to be 10 or less.
[0019] ◎ [[x]] y :mod y The (k,n)-secretly shared share of element x.
[0020] ◎ <x> y :mod y is the (k,k)-additive secret sharing share of element x.
[0021] ◎ < <x>> y :mod y The share of (k,n)-replicated secret sharing of element x. Note that since this is (k,n)-secret sharing, [[x]] y Any protocol that applies to shares of the form is also applicable to this share. In this notation, this means that we are taking advantage of the properties of replica secret sharing in particular.
[0022] ◎[[x]] 2^m :[[x]] 2 A share consisting of m shares of the form. It can also be considered as a bit representation of a number. Note that the subscript A^B is A. B , A_B is A B means...
[0023] ◎ ρ○ → a: vector → A vector with a rotation ρ. Since a rotation is both a number and a permutation, the element-wise multiplication ρ → Distinguish from a.
[0024] ◎ x ≒ y: x and y are equal as real numbers on a computer. In other words, the difference is within a certain error range.
[0025] ◎ a / d: Integer division with decimal point truncation. In particular, integer division by a power of 2 is equivalent to a right shift.
number
[0026] ◎ {Proposition}: 1 if the proposition is true, 0 if it is not true.
[0027] Next, two secret sharing methods, (k,n)-secret sharing and (k,k)-additive secret sharing, used in this embodiment will be described.
[0028] <(k,n)-secret sharing> (k,n)-secret sharing is a security technology in which an input plaintext is divided into n pieces (called shares), each of which is distributed to n different subjects (called parties), and the plaintext can be restored if any k of the shares are collected, and no information about the plaintext can be obtained with less than k-1 shares. Examples include Shamir's secret sharing and cloning secret sharing. In this embodiment, the set of all shares distributed by (k,n)-secret sharing, in which the plaintext has a certain value x (also called a (k,n)-secret sharing value), is represented as [[x]]. Each share is represented as follows: Party r's share is represented as [[x]] y r Here, r = 0, ..., n-1. The secret sharing value is usually distributed to each party, so it is virtual and no one possesses it. Also, if the sequence of (k, n)-secret sharing values is a sequence of plaintext, → The column that is x is [[ → It is written as x]].
[0029] <(k,k)-additive secret sharing> (k,k)-secret sharing is the case where n=k in (k,n)-secret sharing. It cannot be restored unless the shares of all parties are collected. (k,k)-secret sharing by replication secret sharing is particularly called additive secret sharing, and is the simplest method in which the plaintext can be restored by simply adding k shares. In this embodiment, the plaintext is distributed by (k,k)-additive secret sharing under modulus y, and the set of all shares for which the plaintext has a certain value x (also called the (k,k)-additive secret sharing value) is <x> y and the share of party r is <x> y r In addition, if the sequence of (k,k)-additive secret sharing values is a sequence of plaintexts, → The column that is x is < → x> P It is written as follows.
[0030] First, some protocols used in the confidential MSB normalization system according to the first embodiment will be described.
[0031] <Multiplicative Rotation Protocol> Input: (k,n)-secretly shared numerical share [[a]] P , the rotation amount ρ is replicated and shared as a secret share <<ρ>> P Output: (k,n)-secret shared share [[2 ρ a]] P Processing: Number share [[a]] P Share with <<ρ>> P Using the above, the value a is rotated by ρ bits to get 2 ρ a is the (k,n)-secretly shared share [[2 ρ a]] P In this example, k = 2, n = 3. The process will be described in detail below.
[0032] 1: Round 1 2: Numerical share [[a]] P The (k,k)-additive secret sharing share P In this example, parties 0 and 1 share p The conversion from (k,n)-secret sharing to (k,k)-additive secret sharing can be performed by a known technique. For example, the technique described in Reference 1 can be used.
[0033] (Reference 1) Kikuchi, R., Ikarashi, D., Matsuda, T., Hamada, K. and Chida, K., "Efficient Bit-Decomposition and Modulus-Conversion Protocols with an Honest Majority", Information Security and Privacy - 23rd Australasian Conference, ACISP 2018, Wollongong, NSW, Australia, July 11-13, 2018, Proceedings (Susilo, W. and Yang, G., eds.), Lecture Notes in Computer Science, Vol. 10946, Springer, pp. 64-82 (online). 3: Party 0 and 1 use random number r 01 , Party 1 and Party 2 are r 12 The random numbers may be generated by one of the parties sharing the random numbers and passed to the other party, or may be generated by a third party and passed to the corresponding party, or may be shared using a token or the like.
[0034] 4: Party 0 is
number
[0035] 5: Party 1
number
[0036] 6: Round 2 7: Party 0 is
number
[0037] 8: Party 2
number
[0038] 9: Round 3 10: (k,k)-additive secret sharing shares <c> P The (k,n)-secret sharing share [[c]] P where c=2 ρ a holds. Conversion from (k,k)-additive secret sharing to (k,n)-secret sharing can be performed by a known technique. For example, reference 1 is used.
[0039] <Flag string to numerical share conversion protocol> Input: A bit-share vector of length p, [[ → f]] 2 .however → There is only one 1 in f.
[0040] output: → mod p share of 1's in f[[b]] p Processing: Bitshare vector [[ → f]] 2 Using → The position b of 1 in f is the (k,n)-secretly shared share [[2 ρ a]] P The details of the process are explained below.
[0041] 1: Share <<ρ>> obtained by sharing a uniform random number ρ mod p with (k,n)-replicated secrets p Generate.
[0042] 2: The public value output rotation protocol rotates the public value ρ○ → Calculate f, where ρ is a uniform random number and → Since f is determined to be 1 in only one place, ρ○ → f is a uniform random number on a rotation with the number expressed as a bit position, and it is safe to make it public. The public output rotation protocol is a (k,n)-secret shared vector of shares [[ → a]] and the share of the (k,n)-replicated secret-shared rotation amount ρ, <<ρ>> Q With input and, the vector → ρ○ obtained by rotating a by ρ → This is a protocol for obtaining a (public value), and can be realized by known techniques. For example, the space of random permutations in the public value output random permutation protocol of Reference 2 can be restricted to random rotations. (Reference 2) Dai Igarashi, Hiroki Hamada, Ryo Kikuchi, and Koji Senda, "Improvements to secure radix sorting for statistical processing of one-second Internet environment response," SCIS 2014 The 31st Symposium on Cryptography and Information Security.
[0043] 3:ρ○ → Find the position of 1 in f and call it b'. b' is the original position b of 1, so b'=b+ρ.
[0044] 4:< > p =b'-<<ρ>> p Calculate and output. Note that the input bit share vector [[ → f]] 2 If the length of is shorter than p, the upper bits are still [[0]]. 2 This protocol can be applied by padding the
[0045] The vector MSB normalization realized in this embodiment will now be described.
[0046] <Vector MSB normalization protocol> Input: vector of shares [[ → a]] P Parameters: Maximum number of bits of input L, vector length m Output: [[2 ρ→ a]] P , <<ρ>> p , but 2 ρ→ The MSB of vector a is the L-1th bit.
[0047] Processing: Vector [[ → a]] P The vector [[ is used to align the MSB (vector MSB) of the data with the largest absolute value among the elements in → a]] P Shift the whole vector and the shifted vector [[2 ρ→ a]] P and the shift amount <<ρ>> p The details of the process are described below.
[0048] 1: Bit decomposition gives [[ → a]] P Bit representation of [[ → a]] 2^L The bit decomposition can be performed by a known technique, for example, using the technique described in Reference 1.
[0049] 2:[[ → a]] 2^L For each bit position \(0\leq i < L\) of the vector → a i 2 take the OR of all elements. → Let the \(s\)-th element of \(a\) be \(a\) s where \(s = 0, 1,\cdots, m - 1\), and let the bit representation of [[a s be [[a s 2^L and let the share of the \(i\)-th bit position of [[a s 2^L be [[(a i ) s 2 Then the vector → a i = ([[(a i ) 0 2 , \(\cdots\), [[(a i ) m-1 2 ) and the logical OR to be obtained is [[A i 2 := [[(a i ) 0 2 OR \(\cdots\) OR [[(a i ) m-1 2 That is.
[0050] 3 - 1: Inductively for \(0\leq i < L - 1\), [[f i 2 := [[f i+1 \(\vee\) A i 2 where [[f L-1 2 := [[A L-1 2 Up to here, the bit representation \(f=(f L-1, f L-2 ,\cdots,f 0 ) is in the form where 01 is arranged with the MSB as the boundary, like 0, 0, 0, 1, 1, \(\cdots\), 1.
[0051] 3 - 2: Insert the maximum \(p - L\) number of [[1]] 2 into the lower bits, and \(([[f' 0 2 ,\cdots,[[f' L'-1 ]] 2 ):=([[1]] 2 ,…,[[1]] 2 ,[[f 0 ]] 2 ,…[[f L-1 ]] 2 ) L' is the [[1]] inserted into L. 2 This process results in → The MSB position is defined even when all elements of a are 0. 3-3: 0≦i <L'-1で、[[x i ]] 2 :=[[f' i xor f' i+1 ]] 2 Here, [[x L'-1 ]] 2 :=[[A L-1 ]] 2 So far, the bit representation x=(x L'-1, x L'-2 ,…,x 0 ) is a flag where only the MSB position is 1, such as 0,0,0,1,0,...,0.
[0052] 4: According to the above-mentioned <flag string → numeric share conversion protocol>, [[x L'-1 ]] 2 ,[[x L'-2 ]] 2 ,…,[[x 0 ]] 2 <<ρ>> p Note that this is in descending order.
[0053] 5: The above multiplicative rotation gives us the share vector [[ → a]] P and the rotation amount of the secret shared copy <<ρ>> P From the (k,n)-secret shared share [[2 ρ→ a]] P However, the multiplicative rotation may be performed by other known techniques.
[0054] A vector MSB normalization system for implementing the above-mentioned vector MSB normalization will now be described.
[0055] <Vector MSB normalization system according to the first embodiment> FIG. 1 shows an example of the configuration of a vector MSB normalization system 1 according to the first embodiment, and FIG.
[0056] The vector MSB normalization system 1 includes n distributed processing devices 100-r, where n is an integer equal to or greater than 3, and r=0, 1, ..., n-1. The n distributed processing devices 100-r can communicate with each other via a communication line 2.
[0057] Vector MSB normalization system 1 is the vector modulo P → Each element a of a s The (k,n)-secretly shared share [[a s ]] P Vector of [[ → a]] P The input is vector MSB normalized, and the vector after vector MSB normalization is [[2 ρ→ a]] P and the shift amount <<ρ>> p and output it. Share[[a s ]] P The maximum bit length L of the vector [[ → a]] P The vector length m is a parameter.
[0058] The distributed processing device 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 storage device (RAM), etc. The distributed processing device executes each process under the control of the central processing unit, for example. Data input to the distributed processing device and data obtained in each process are stored in, for example, the main storage device, and the data stored in the main storage device is read out to the central processing unit as necessary and used for other processes. At least a part of each processing unit of the distributed processing device may be configured by hardware such as an integrated circuit. Each storage unit of the distributed processing device may be configured by, for example, a main storage device such as a RAM (Random Access Memory), or middleware such as a relational database or a key-value store. However, each storage unit does not necessarily need to be provided inside the distributed processing device, and may be configured by an auxiliary storage device configured by a semiconductor memory element such as a hard disk, optical disk, or flash memory, and may be configured to be provided outside the distributed processing device.
[0059] <Distributed processing device 100-r> FIG. 3 shows an example of a functional block diagram of the distributed processing device 100-r.
[0060] The distributed processing device 100 - r includes a bit decomposition unit 101 , a logical sum acquisition unit 103 , a shift amount acquisition unit 105 , and a shift unit 107 .
[0061] The processing of each unit will be described below with reference to FIG.
[0062] <Bit decomposition unit 101> The n bit decomposition units 101 divide the (k,n)-secret shared share vector [[ → a]] P Received Bit decomposition gives the vector [[ → a]] P Bit representation of [[ → a]] 2^L Obtain it (S101).
[0063] <Logical sum acquisition unit 103> The n logical sum acquisition units 103 perform bitwise operations on the → a]] 2^L received, and for each vector at bit position 0 ≦ i < L → a i , obtain the logical sum [[A i 2 . However, the s-th element of the vector → a is a s , where s = 0, 1, …, m - 1, [[a s 's bit representation is [[a s 2^L , and the share of the i-th bit position of [[a s 2^L is [[(a i ) s 2 . Then the vector → a i = ([[(a i ) 0 2 , …, [[(a i ) m-1 2 ), and the logical sum to be obtained is [[A i 2 := [[(a i ) 0 2 OR … OR [[(a i ) m-1 2 .
[0064] <Shift amount acquisition unit 105> The n shift amount acquisition units 105 receive the logical sum [[A i 2 (0 ≦ i < L), and using the maximum number of bits L ≦ p - 1 as a parameter, the vector → A]] 2 = ([[A 0 2 , …, [[A L-1 2 Shift amount <<ρ>> for shifting the MSB of p is obtained (s105).
[0065] For example, the shift amount <<ρ>> p is obtained as follows.
[0066] First, the n shift amount acquisition units 105 set [[f L-1 2 :=[[A L-1 2 and, inductively for 0 ≦ i < L - 1, [[f i 2 :=[[f i+1 ∨A i 2 By this process, the bit representation f = (f L-1, f L-2 , …, f 0 ) becomes a form in which 0s and 1s are arranged with the MSB as the boundary, such as 0, 0, 0, 1, 1, …, 1.
[0067] Next, the n shift amount acquisition units 105 set [[x L-1 2 :=[[A L-1 2 and, for 0 ≦ i < L - 1, [[x i 2 :=[[f i xor f i+1 2 By this process, the bit representation x = (x L-1, x L-2 , …, x 0 ) becomes a flag in which only the MSB position is 1, such as 0, 0, 0, 1, 0, …, 0.
[0068] Finally, the n shift amount acquisition units 105 use the above <flag sequence → numerical share conversion protocol> to obtain a sequence of length p [[x L-1 2 ,[[x L-2 2 , …, [[x 0 2 ,[[1]] 2 , …, [[1]] 2 as <<ρ>> p Convert to.
[0069] <Shift section 107> The n shift units 107 are [[ → a]] p and <<ρ>> p and [[ → a]] p The vector [[2 ρ→ a]] p For example, the share vector [[ → a]] P and the rotation amount of the secret shared copy <<ρ>> P From this, the (k,n)-secret shared share [[2 ρ a]] P Request.
[0070] <Effects> With this configuration, it is possible to perform MSB alignment while maintaining precision.
[0071] Second Embodiment The following description will focus on the differences from the first embodiment.
[0072] In the second embodiment, a fixed-point vector multiplication and accumulation using the vector MSB normalization of the first embodiment will be described. First, several protocols used in the fixed-point vector multiplication and accumulation according to the second embodiment will be described.
[0073] <Left-right shift protocol that conceals the shift amount> Input: Number share [[a]] P , the share of left shifts <<ρ>>, which can be positive or negative Q , Parameter: Upper limit M of possible input MSB positions max , the maximum MSB position M that the share allows lim Output: ρ bit-shifted value [[s]] P 1: First, u:=M lim -M max +1 and so on.
number
[0074] 2: <<ρ>> by modulus transformation using quotient transition p The modulus transformation using the quotient transformation can be performed by known techniques, for example using the technique described in Reference 1.
[0075] 3: By comparing the size, [[f 0 ]] 2 :=[[{ρ≧-M max +1}]] 2 , [[f 1 ]] 2 :=[[{ρ≧-M max +1+u}]] 2 ,…, [[f d-1 ]] 2 :=[[{ρ≧-M max +1+(d-1)u}]] 2 , [[f L ]] 2 :=[[{ρ≧0}]] 2 Calculate f L , f d-1 , f d-2 Note that, , ... are transitive flags.
[0076] 4: By mod 2 → mod p conversion, [[f 1 ]] 2 , [[f 2 ]] 2 , …, [[f d-1 ]] 2 , [[f L ]] to < <f 1 >> p , < <f 2 >> p , …, < <f d-1 >> p , < <f L >> p Calculate, where < <f 0 >> p Note that mod 2 → mod P conversion can be performed by a known technique. For example, reference 1 is used.
[0077] 5:<<ρ'>> p :=<<ρ>> p +M max -1-uΣ 1≦i<d < <f i >> p +((d-1)uM max +1)< <f L >> p Calculate.
[0078] 6: [[a]] P and <<ρ'>> p and [[b]] by the <multiplicative rotation protocol> P :=[[2ρ'a]] P However, a known technique may be used as the multiplicative rotation protocol.
[0079] 7: Bulk shift amount disclosure Right shift, [[c 0 ]] P :=[[2 ρ' a / 2 M_(max)-1 ]] P , [[c 1 ]] P :=[[2 ρ' a / (2 M_(max)-1-u )] P ,…, [[c d-1 ]] P :=[[2 ρ' a / (2 M_(max)-1-(d-1)u )] P Calculate.
[0080] 8: mod 2 → mod P transformation gives [[f 0 ]] P ,[[f 1 ]] P ,…,[[f d-1 ]] P ,[[f L ]] P Here, we calculate [[f 0 ]] P is necessary.
[0081] 9: [[s]]:=[[c 0 ]] P [[f 0 ]] P +([[c 1 ]]-[[c 0 ]]) P [[f 1 ]] P +…+([[c d-1 ]]-[[c d-2 ]]) P [[f d-1 ]] P +([[b]] P -[[c d-1 ]] P )[[f L ]] P Note that this expression is a selection gate for the transitive flags.
[0082] The fixed-point vector multiplication and accumulation realized in this embodiment will be described below.
[0083] <Fixed-point vector multiply-accumulate protocol> Input: fixed-point vector [[ → a]] P , [[ → b]] P Parameter: Vector length m Output: [[c]] P , but Σ 0≦i<m a i b i ≒c 1: According to the vector MSB normalization protocol of the first embodiment, the fixed-point vector [[ → a]] P , [[ → b]] P The vectors are normalized by MSB, and the vectors with the MSB position adjusted and the shift amount, ([[ → 2 ρ_a→ a]] P ,<<ρ a >> p ), ([[2 ρ_b→ b]] P ,<<ρ b >> p ) is obtained.
[0084] 2:<<ρ a >> p ,<<ρ b >> p From the mod p→mod Q transformation, [[ρ a ]] Q ,[[ρ b ]] Q Here, the mod p→mod Q transformation can be performed by a known technique. For example, Reference Document 1 is used. Also, a modulus transformation other than that in Reference Document 1 may be used. For example, the technique in Reference Document 1 requires that there be a predetermined number of free bits (hereinafter also referred to as the condition for quotient transition), but a modulus transformation that does not satisfy the condition for quotient transition may be used. Below, a modulus transformation that does not satisfy the condition for quotient transition will be described. <Non-quotient transposition modulus conversion protocol> Input: (k,n)-secretly shared shares [[a]] p Parameter: Number of bits in p |p| Output: (k,n)-secret shared shares [[a]] with different modulus Q Q 2-1: Share [[a]] p (k,k)-additive secret sharing < / c> p Let k=2, and party p 0 ,p 1 Shared by p The conversion from (k,n)-secret sharing to (k,k)-additive secret sharing can be performed by a known technique. For example, the technique described in Reference 1 can be used.
[0085] 2-2: Party P 0 a' 0 := p 0 +(2 |p| -p) by addition over Z without mod p, and a' 0 Each bit of a is secretly shared by (k,n)- 0 ]] 2^|p| The bit decomposition can be performed by a known technique, for example, using the technique described in Reference 1.
[0086] 2-3: Party P 1 teeth p 1 Each bit of is secretly shared by (k,n)- 1 ]] 2^|p| get.
[0087] 2-4: a' by the addition circuit 0 +a 1 The bit representation of the share [[a' 0 +a 1 ]] 2^(|p|+1) Here, after the addition circuit calculation, the bit length increases by 1 from |p| to |p|+1.
[0088] 2-5: [[a' 0 +a 1 ]] 2^(|p|+1) Change the most significant bit of 2 Far away. q is share p The quotient of, i.e. 0 + 1 =q when expressed as a+qp.
[0089] 2-6: [[q]] by mod 2 → mod Q transformation 2 From [[q]] Q For example, the mod 2 → mod Q conversion can be performed by a known technique. For example, the technique described in Reference 1 is used.
[0090] 2-7: Party P 0 , p 1 are respectively p 0 、 p 1 from p 0 mod Q、 p 1 Get mod Q,<a'> Q Here, a'=a+qp mod Q holds.
[0091] 2-8: (k,k)-Secret Share<a'> Q Convert it into a (k,n)-secret sharing, and use the (k,n)-secret sharing share [[a']] Q The conversion from (k,k)-additive secret sharing to (k,n)-secret sharing can be performed by a known technique. For example, the technique described in Reference 1 can be used.
[0092] 2-9: [[a]] Q =[[a']] Q -p[[q]] Q Calculate and output. For example, in the case of p=61, the value can only be up to 31 in order to leave free bits, so it is expected that the mod p → mod Q conversion here will often not satisfy the conditions for using the quotient transition. Therefore, it is better to use a non-quotient transition modulus conversion protocol.
[0093] 3: [[c]] P :=[[Σ 0≦i<m 2 ρ_a a i 2 ρ_b b i ]] P Calculate.
[0094] 4: [[-ρ a -ρ b ]] Q Calculate and convert to <<-ρ a -ρ b >> Q get.
[0095] 5: By using the above-mentioned <Shift amount concealing left / right shift protocol>, [[c]] P A<<-ρ a -ρ b >> Q Shift by [[c]] P (-ρ a -ρ b ) The bit-shifted value is output.
[0096] A vector MSB normalization system that realizes the above-mentioned "fixed-point vector multiply-accumulate protocol" will now be described.
[0097] <Vector MSB normalization system according to the second embodiment> FIG. 1 shows an example of the configuration of a vector MSB normalization system 1 according to the second embodiment, and FIG.
[0098] Vector MSB normalization system 1 is a two-part fixed-point vector [[ → a]] P ,[[ → b]] P The input is the sum of products of the elements [[c]] P Calculate and output. However, Σ 0≦i<m a i b i ≒c. Vector [[ → a]] P ,[[ → b]] P The vector length m is a parameter.
[0099] <Distributed processing device 100-r> FIG. 5 shows an example of a functional block diagram of the distributed processing device 100-r.
[0100] The distributed processing device 100-r includes a modulus conversion unit 109, a product-sum calculation unit 111, a secret sharing conversion unit 113, and a shift amount concealing left / right shift unit 115 in addition to a bit decomposition unit 101, a logical sum acquisition unit 103, a shift amount acquisition unit 105, and a shift unit 107.
[0101] The processing of each unit will be described below with reference to FIG.
[0102] S101 to S107 are as described in the first embodiment. The vector MSB normalization system 1 converts a fixed-point vector [[ → a]] P ,[[ → b]] P The input is vector MSB normalized, and the vector after vector MSB normalization and the shift amount ([[ → 2 ρ_a→ a]] P ,<<ρ a >> p ), ([[2 ρ_b→ b]] P ,<<ρ b >> p The process from S109 onwards will be described.
[0103] <Modulus conversion unit 109> The n modulus conversion units 109 are ([[ → 2 ρ_a→ a]] P ,<<ρ a >> p ), ([[2 ρ_b→ b]] P ,<<ρ b >> p ) and <<ρ a >> p ,<<ρ b >> p From the mod p→mod Q transformation, [[ρ a ]] Q ,[[ρ b ]] Q (S109).
[0104] <Product-sum calculation unit 111> The n product-sum calculation units 111 each have a share [[ → 2 ρ_a→ a]] P and ([[2 ρ_b→ b]] P Take the sum of products [[c]] P :=[[Σ 0≦i<m 2 ρ_a a i 2 ρ_b b i ]] P Calculate (S111).
[0105] <Secret sharing conversion unit 113> The n secret sharing conversion units 113 are a ]] Q ,[[ρ b ]] Q , and [[-ρ a -ρ b ]] Q Calculate the secret sharing transformation a -ρ b >> Q (S113).
[0106] <Shift amount concealing left / right shift unit 115> The shift amount concealing left / right shift unit 115 calculates the product-sum share [[c]] P and the share of shift amount <<-ρ a -ρ b >> Q Then, by using the above-mentioned <Shift-amount-hiding left / right shift protocol>, [[c]] P A<<-ρ a -ρ b >> Q The bit shift is performed (S115), and the shifted value is output. Note that the above-mentioned <Shift amount concealing left / right shift protocol> is not used, and the product sum share [[c]] P and the share of shift amount <<-ρ a -ρ b >> Q [[c]] by known techniques using P A<<-ρ a -ρ b >> Q A bit-shifted value may be obtained.
[0107] <Third embodiment> The following description will focus on the differences from the first embodiment.
[0108] In the third embodiment, a floating-point vector multiplication and accumulation using the vector MSB normalization of the first embodiment will be described. First, several protocols used in the floating-point vector multiplication and accumulation according to the third embodiment will be described.
[0109] <Floating-point vector exponent unification protocol> Input: Floating point vector ([[ → a]] P , → ρ a Q ), provided that in this embodiment, the mantissa part is a and the exponent part is ρ a , and the real number x is represented as x = 2 ρ_a a → a]] P = ([a 0 P ,…, → a m-1 P ), → ρ a Q = ([ρ a_0 Q ,…,[[ρ a_m-1 Q ), and the floating-point vector ( → a]] P , → ρ a Q ) represents the i-th (0 ≤ i < m - 1) real number as 2 ρ_(a_i) a i as shown.
[0110] Output: ( → b]] P ,[[ρ max Q ), provided that for each i-th element, 2 ρ_(a_i) a i ≈ 2 ρ_max b i Process: Unify the exponent part → a]] P , → ρ a Q ) of the floating-point vector ( → ρ a Q to the largest value [[ρ max Q , and make the mantissa part → a]] P have a difference → ρ dif Q := → ρ a Q - [[ρ max ]] Q Shift the arithmetic right by 1 to obtain a floating-point vector with a unified exponent.
[0111] 1:By maximum value calculation, [[ → ρ a ]] Q The largest value among all elements in [[ρ max ]] Q Obtain as.
[0112] 2:[[ → ρ dif ]] Q :=[[ → ρ a ]] Q -[[ρ max ]] Q Calculate. → ρ a ]] Q From each element of [[ρ max ]] Q Subtract.
[0113] 3: By using the above-mentioned <Shift amount concealing left / right shift protocol>, [[ → a]] P Each element of [[- → ρ dif ]] Q Shift by each element of [[ → b]] P However, → ρ dif Since each element of is non-negative, it is a right shift, so the left shift branch can be omitted.
[0114] 4: ([[ → b]] P ,[[ρ max ]] Q ) to output.
[0115] The floating-point vector multiplication and accumulation realized in this embodiment will be described below.
[0116] <Floating-point Vector Multiply-Add Protocol> Input: Floating point vector ([[ → a]] P ,[[ → ρ a ]] Q ), ([[ → b]] P ,[[ → ρ b ]] Q ) Parameter: Vector length m Output: ([[c]] P ,<<ρ b >> Q ), where Σ 0≦i<m 2 (ρ_a)_i(ρ_b)_i a i b i ≒2 ρ_b Let's call it b.
[0117] 1: Using the above-mentioned <vector MSB normalization protocol>, → a]] P , [[ → b]] P The vector with the MSB position adjusted and the shift amount, ([[ → a']], <<ρ' a >> p ), ([[ → b']], <<ρ' b >> p ) is obtained.
[0118] 2: mod p → mod Q transformation gives [[ρ a' ]] Q , [[ρ b' ]] Q get.
[0119] 3: According to the above-mentioned <Floating-point vector exponent unification protocol>, ([[ → a']] P , [[ → ρ a -ρ a' ]] Q ), ([[ → b']] P , [[ → ρ b -ρ b' ]] Q ) with the exponent part unified, ([[ → a'']], [[ρ a'' ]] Q ), ([[ → b'']], [[ρ b'' ]] Q get.
[0120] 4: [[c]] P :=[[Σ 0≦i<m a'' i b'' i ]] P Calculate ([[c]] P , [[ρ a'' +ρ b'' ]] Q ) is obtained.
[0121] Furthermore, if the number of bits of the input is known to a certain extent, or if it is known that the number of bits of a and b is relatively high due to reasons such as the MSB being adjusted, a predetermined number of bits σ is shifted to the right using a public right shift with a known shift amount.
[0122] On the other hand, if the number of bits is unknown, the MSB is aligned to a fixed position in the same manner as in the first embodiment, and then the right shift is performed to the appropriate bit position by a public right shift with a known shift amount. The right shift amount is [[σ]] Q Let us assume that.
[0123] Hereinafter, a vector MSB normalization system that realizes the above-mentioned <floating-point vector multiply-accumulate protocol> will be described.
[0124] <Vector MSB normalization system according to the third embodiment> FIG. 1 shows an example of the configuration of a vector MSB normalization system 1 according to the second embodiment, and FIG. 6 shows an example of the process flow of the vector MSB normalization system 1. As shown in FIG.
[0125] Vector MSB normalization system 1 is for two floating-point vectors ([[ → a]] P ,[[ → ρ a ]] Q ),([[ → b]] P ,[[ → ρ b ]] Q ) is taken as input, and the sum of products of the elements ([[c]] P ,<<ρ c >> Q ) and output it. However, Σ 0≦i<m 2 (ρ_a)_i(ρ_b)_i a i b i ≒2 ρ_c c. The vector [[ → a]] P ,[[ → b]] P The vector length m is a parameter.
[0126] <Distributed processing device 100-r> FIG. 7 shows an example of a functional block diagram of the distributed processing device 100-r.
[0127] The distributed processing device 100 - r includes a modulus conversion unit 117 , an exponent unification unit 119 and a product-sum unit 121 in addition to the bit decomposition unit 101 , the logical sum acquisition unit 103 , the shift amount acquisition unit 105 and the shift unit 107 .
[0128] The processing of each unit will be described below with reference to FIG.
[0129] S101 to S107 are as described in the first embodiment. The vector MSB normalization system 1 calculates two floating point vectors ([[ → a]] P ,[[ → ρ a ]] Q ),([[ → b]] P ,[[ → ρ b ]] Q ) as input, [[ → a]] P ,[[ → b]] P Normalize the vector by MSB, and compare the vector after MSB normalization with the shift amount ([[ → a']] P ,<<ρ' a >> p ), ([[ → b']] P ,<<ρ' b >> p The process from S117 onwards will be explained.
[0130] <Modulus conversion unit 117> The n modulus conversion units 117 are a >> p and <<ρ' b >> p and by mod p→mod Q transformation, a' ]] Q , [[ρ b' ]] Q Obtained (S117).
[0131] <Index Unification Department 119> The n exponent unification unit 119 is a set of two floating-point vectors ([[ → a]] P ,[[ → ρ a ]] Q ),([[ → b]] P ,[[ → ρ b ]] Q )'s exponent [[ → ρ a ]] Q ,[[ → ρ b ]] Q and the vector after MSB normalization [[ → a']] P ,[[ → b']] P and the shift amount after mod p → mod Q transformation [[ρ a' ]] Q , [[ρ b' ]] Q and, according to the above-mentioned <Floating-point vector exponent unification protocol>, ([[ → a']] P ,[[ → ρ a -ρ a' ]] Q ), ([[ → b']] P ,[[ → ρ b -ρ b' ]] Q ) with the exponent part unified, ([[ → a'']] P ,[[ρ a'' ]] Q ), ([[ → b'']] P ,[[ρ b'' ]] Q (S119).
[0132] <Product-accumulator section 121> The n product-sum units 121 are [[c]] P :=[[Σ 0≦i<m a'' i b'' i ]] P Calculate ([[c]] P , [[ρ a'' +ρ b'' ]] Q ) is obtained (S121).
[0133] (Processing efficiency) Regarding the processing efficiency of the algorithms, we evaluate the element operations of multiplicative rotation, flag string to numeric conversion, shift amount concealing left and right shift protocols, and, for comparison, floating-point addition and multiplication.
[0134] (1) Multiplicative rotation: communication volume (4 / 3) |P| bits, 2 rounds (2) Flag string → Numeric conversion: Communication volume (4 / 3) |L| bits, 2 rounds (4) Shift-amount-private left-right shift protocol - part 2 -: communication amount ((5 / 3)d+(10 / 3))|P|+(2d+1)|p|, number of rounds λ+4 (5) Floating point addition: communication amount ((5 / 3)d+(19 / 3))|P|+3|Q|+2λ+(4d+1)|p|, number of rounds 2λ+7 (6) Floating-point multiplication: communication overhead (8 / 3)|P|, 3 rounds d is the division number d in the shift amount concealing left and right shift protocol.
[0135] For comparison, Reference 2 lists two methods for addition, and the communication volume can be expressed as 22|P|+5|Q|+O(log|P|+log|Q|) by rounding the cost below the logarithm.
[0136] (Reference 2) Takashi Nishide, Takuma Amada, "Multi-party computation for floating-point arithmetic with reduced communication," Transactions of Information Processing Society of Japan, Vol. 60, No. 9, pp. 1433-1447 (2019). The number of rounds is on the better side, at a constant 42. For multiplication, the communication volume is 12|P|+O(1), and the number of rounds is a constant 23. For addition, assuming that d is typically 1, it is 6|P|+3|Q|+2λ+5|p|. Considering that |P|=61, |Q|=13, λ=10, and |p|=6, this method is about three times more efficient. Because addition is complex, speeding up the shift element does not seem to result in an order of magnitude difference. For multiplication, it is about five times faster.
[0137] <Actual machine performance evaluation> We report the results of an actual experiment using the following three machines for multi-party computation.
[0138] ◎CPU: Xeon Gold 6144 3.5GHz, 6cores x 2 sockets ◎Memory: 768GB ◎NW: 10Gbps ring topology ◎OS: CentOS 7.3 Figure 8 shows the performance of each operation.
[0139] The upper limit of the MSB position is an important parameter, and this is set to 28 bits (29 bits because the notation starts at 0). The maximum MSB position that can be used for a signed quotient shift mod P is 57, and the condition is that it must be within half of that. 28 bits exceeds single precision and is considered sufficient for many applications.
[0140] In practice, matrix multiplication was chosen as the multiplication and accumulation operation. This is because matrix multiplication consists of multiplication and accumulation, and is extremely important in machine learning and other fields. Specifically, the left matrix has 100 rows, and the number of rows x the number of columns = "number of items", while the right matrix is a vector whose length is the number of columns on the left. The amount of processing is equal to the amount of processing required to repeat the multiplication and accumulation, with the size being the number of columns, the number of times equal to the number of rows.
[0141] Three scales are shown: 1,000, 1 million, and 10 million, with the actual number of rounds measured by setting the delay to a maximum of 100 ms. In addition to the passive model, the performance of the active model is also shown (the protocol is an extension of the passive version). The security parameter of the active model is 8 bits, and the attack detection rate is approximately 99%. Unlike computational security, offline attacks are impossible, so this probability is sufficient to deter attacks.
[0142] <Other Modifications> The present invention is not limited to the above-mentioned embodiment and modified examples. For example, the above-mentioned various processes may be executed not only in chronological order as described, but also in parallel or individually depending on the processing capacity of the device executing the processes or as necessary. In addition, appropriate modifications are possible within the scope of the present invention.
[0143] <Programs and recording media> The various processes described above can be implemented by loading a program for executing each step of the above method into the memory unit 2020 of the computer shown in FIG. 9 and operating the control unit 2010, input unit 2030, output unit 2040, etc.
[0144] The program describing the processing contents can be recorded on a computer-readable recording medium, which may be, for example, a magnetic recording device, an optical disk, a magneto-optical recording medium, a semiconductor memory, or any other type of recording medium.
[0145] The program may be distributed, for example, by selling, transferring, lending, etc. portable recording media such as DVDs and CD-ROMs on which the program is recorded. Furthermore, the program may be distributed by storing the program in a storage device of a server computer and transferring the program from the server computer to other computers via a network.
[0146] A computer that executes such a program, for example, first stores the program recorded on a portable recording medium or the program transferred from a server computer in its own storage device. Then, when executing a process, the computer reads the program stored in its own recording medium and executes a process according to the read program. As another execution form of the program, the computer may directly read the program from the portable recording medium and execute a process according to the program, or may execute a process according to the received program each time a program is transferred from the server computer to the computer. The above-mentioned process may be executed by a so-called ASP (Application Service Provider) type service that realizes a processing function only by issuing an execution instruction and obtaining a result, without transferring a program from the server computer to the computer. Note that the program in this embodiment includes information used for processing by an electronic computer and equivalent to a program (data that is not a direct command to the computer but has a nature that specifies the processing of the computer, etc.).
[0147] In addition, in this embodiment, the present device is configured by executing a specific program on a computer, but at least a part of the processing contents may be realized by hardware. < / x> < / x> < / x> < / x>
Claims
1. A confidential MSB normalization system including n distributed processing devices, Each of the n distributed processing devices includes a bit decomposition unit, a logical sum acquisition unit, a shift amount acquisition unit, and a shift unit, The n bit decomposition units decompose the (k,n)-secret shared share vector [[ → a]] P Bit-decompose and convert it to vector [[ → a]] P Bit representation of [[ → a]] 2^L Obtained, The n logical sum acquisition units are → a]] 2^L For each bit position of the vector [[ → a i ]], the logical sum of all elements [[A i ]] 2 Get The n shift amount acquisition units are each a logical sum [[A 0 ]] 2 ,…,[[A L-1 ]] 2 The amount of shift ρ required to shift the most significant bit of p Seeking The n shift units are → a]] p The vector [[2 ρ→ a]] p Ask for, Confidential MSB normalization system.
2. 2. The secret MSB normalization system of claim 1, Fixed-point vector [[ → a]] P ,[[ → b]] P The vector and shift amount ([[ → 2 ρ_a→ a]] P ,<<ρ a >> p ), ([[2 ρ_b→ b]] P ,<<ρ b >> p ) and Each of the n shared processing devices includes a modulus conversion unit, a product-sum calculation unit, a secret sharing conversion unit, and a shift amount concealing left / right shift unit, The n modulus converters are a >> p ,<<ρ b >> p From the mod p→mod Q transformation, [[ρ a ]] Q ,[[ρ b ]] Q Obtained, The n product-sum calculation units are [[c]] P :=[[Σ 0≦i<m 2 ρ_a a i 2 ρ_b b i ]] P Calculate The n secret sharing conversion units are a ]] Q , said [[ρ b ]] Q From [[-ρ a -ρ b ]] Q Calculate the (k,n)-replicated secret shared share <<-ρ a -ρ b >> Q Seeking The n shift amount concealing left / right shift units are each a share of the sum of products [[c]] P and the share of shift amount <<-ρ a -ρ b >> Q and [[c]] P A<<-ρ a -ρ b >> Q Bit shifting, Confidential MSB normalization system.
3. 2. The secret MSB normalization system of claim 1, Floating point vector ([[ → a]] P ,[[ → ρ a ]] Q ),([[ → b]] P ,[[ → ρ b ]] Q ) and the shift amount ([[ → a']] P ,<<ρ' a >> p ), ([[ → b']] P ,<<ρ' b >> p ) and Each of the n distributed processing devices includes a modulus conversion unit, an exponent unification unit, and a product-sum calculation unit, The n modulus conversion units are a >> p and the above <<ρ' b >> p and mod p → mod Q transformation to [[ρ a' ]] Q , [[ρ b' ]] Q Obtained, The n exponent unification parts are the floating-point vector ([[ → a]] P ,[[ → ρ a ]] Q ),([[ → b]] P ,[[ → ρ b ]] Q )'s exponent [[ → ρ a ]] Q ,[[ → ρ b ]] Q and the vector [[ → a']] P ,[[ → b']] P and the shift amount after mod p → mod Q transformation [[ρ a' ]] Q , [[ρ b' ]] Q Using and, ([[ → a']] P ,[[ → ρ a -ρ a' ]] Q ), ([[ → b']] P ,[[ → ρ b -ρ b' ]] Q ) with the exponent part unified, ([[ → a'']] P ,[[ρ a'' ]] Q ), ([[ → b'']] P ,[[ρ b'' ]] Q Obtained, The n product-sum calculation units are [[c]] P :=[[Σ 0≦i<m a'' i b'' i ]] P Calculate ([[c]] P , [[ρ a'' +ρ b'' ]] Q ) Confidential MSB normalization system.
4. A distributed processing device included in a confidential MSB normalization system, Together with the (n-1) distributed processors, the (k,n)-secret shared share vector [[ → a]] P Bit-decompose and convert it to vector [[ → a]] P Bit representation of [[ → a]] 2^L a bit decomposition unit for obtaining (n-1) distributed processing devices, → a]] 2^L For each bit position of the vector [[ → a i ]], the logical sum of all elements [[A i ]] 2 A logical sum acquisition unit for acquiring Together with the (n-1) distributed processors, the logical sum [[A 0 ]] 2 ,…,[[A L-1 ]] 2 The amount of shift ρ required to shift the most significant bit of p A shift amount acquisition unit for obtaining a shift amount; (n-1) distributed processing devices, → a]] p The vector [[2 ρ→ a]] p A shift unit for obtaining Distributed processing unit.
5. A method for secret MSB normalization using a secret MSB normalization system including n distributed processing devices, comprising: Each of the n distributed processing devices includes a bit decomposition unit, a logical sum acquisition unit, a shift amount acquisition unit, and a shift unit, The n bit decomposition units divide the (k,n)-secret shared share vector [[ → a]] P Bit-decompose and convert it to vector [[ → a]] P Bit representation of [[ → a]] 2^L a bit decomposition step to obtain The n logical sum obtaining units are → a]] 2^L For each bit position of the vector [[ → a i ]], the logical sum of all elements [[A i ]] 2 A logical sum acquisition step for acquiring The n shift amount acquisition units are ORed by [[A 0 ]] 2 ,…,[[A L-1 ]] 2 The amount of shift ρ required to shift the most significant bit of p A shift amount acquisition step for obtaining The n shift units are → a]] p The vector [[2 ρ→ a]] p and a shift step for obtaining Confidential MSB normalization method.
6. 6. The method of claim 5, further comprising the steps of: Fixed-point vector [[ → a]] P ,[[ → b]] P The vector and shift amount ([[ → 2 ρ_a→ a]] P ,<<ρ a >> p ), ([[2 ρ_b→ b]] P ,<<ρ b >> p ) and Each of the n shared processing devices includes a modulus conversion unit, a product-sum calculation unit, a secret sharing conversion unit, and a shift amount concealing left / right shift unit, The n modulus conversion units are a >> p ,<<ρ b >> p From the mod p→mod Q transformation, [[ρ a ]] Q ,[[ρ b ]] Q A modulus conversion step to obtain The n product-sum calculation units are [[c]] P :=[[Σ 0≦i<m 2 ρ_a a i 2 ρ_b b i ]] P A multiplication and accumulation calculation step for calculating The n secret sharing conversion units are a ]] Q , said [[ρ b ]] Q From [[-ρ a -ρ b ]] Q Calculate the (k,n)-replicated secret shared share <<-ρ a -ρ b >> Q A secret sharing transformation step for obtaining The n shift amount concealing left and right shift units are multiplied by the sum of products [[c]] P and the share of shift amount <<-ρ a -ρ b >> Q and [[c]] P A<<-ρ a -ρ b >> Q A shift amount concealing left and right shift step for bit shifting, Confidential MSB normalization method.
7. 6. The method of claim 5, further comprising the steps of: Floating point vector ([[ → a]] P ,[[ → ρ a ]] Q ),([[ → b]] P ,[[ → ρ b ]] Q ) and the shift amount ([[ → a']] P ,<<ρ' a >> p ), ([[ → b']] P ,<<ρ' b >> p ) and Each of the n distributed processing devices includes a modulus conversion unit, an exponent unification unit, and a product-sum calculation unit, The n modulus conversion units are a >> p and the above <<ρ' b >> p and mod p → mod Q transformation to [[ρ a' ]] Q , [[ρ b' ]] Q a modulus conversion step to obtain The n exponent unification parts are the floating-point vector ([[ → a]] P ,[[ → ρ a ]] Q ),([[ → b]] P ,[[ → ρ b ]] Q )'s exponent [[ → ρ a ]] Q ,[[ → ρ b ]] Q and the vector [[ → a']] P ,[[ → b']] P and the shift amount after mod p → mod Q transformation [[ρ a' ]] Q , [[ρ b' ]] Q Using and, ([[ → a']] P ,[[ → ρ a -ρ a' ]] Q ), ([[ → b']] P ,[[ → ρ b -ρ b' ]] Q ) with the exponent part unified, ([[ → a'']] P ,[[ρ a'' ]] Q ), ([[ → b'']] P ,[[ρ b'' ]] Q and an exponential unification step to obtain The n product-sum calculation units are [[c]] P :=[[Σ 0≦i<m a'' i b'' i ]] P Calculate ([[c]] P , [[ρ a'' +ρ b'' ]] Q ) Confidential MSB normalization method.
8. A program for causing a computer to function as the distributed processing device of claim 4.
Citation Information
Patent Citations
Secret calculation system, secret calculation method, secret calculation device, distributed information generation device, methods therefor, and program
WO2018034079A1
