System, method, and medium for generating random values ​​in a group of servers

By using a multi-party computing protocol in a server set, selecting and broadcasting a randomly generated polynomial encrypted hash function, the problem of high communication complexity and difficulty in ensuring security of randomly generated protocols in the existing technology is solved, and O(n2) is achieved. Communication complexity and security when less than half of the servers are compromised.

CN113272782BActive Publication Date: 2024-08-27HRL LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080007198.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-02-14
Filing Date
2020-01-31
Publication Date
2024-08-27
Estimated Expiration
2040-01-31

AI Technical Summary

Technical Problem

In existing multi-party computing protocols, the communication complexity of randomly generated protocols is high without damaging the server, and when there is damage to the server, the security and communication complexity of the protocol are difficult to effectively guarantee.

Method used

Through a system of distributed generation of random values ​​among a collection of servers, using a multi-party computation protocol, each server selects a randomly generated polynomial and broadcasts its cryptographic hash function value, ensuring that data is shared electronically in a secure broadcast channel, marked and isolated from breaches servers, achieving O(n2) communication complexity and ensuring the security of the protocol when less than half of the servers are destroyed.

Benefits of technology

It reduces the communication complexity without destroying servers, ensures the security of the protocol when less than half of the servers are destroyed, and improves the security and efficiency of the system by isolating the destroyed servers to avoid affecting the generation of random values. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113272782B_ABST
    Figure CN113272782B_ABST
Patent Text Reader

Abstract

The present application relates to systems, methods, and media for generating random values ​​in a group of servers. A system for jointly generating random values ​​in a group of servers for secure data sharing is described. The group of servers initiates a random generation protocol, wherein each server in the group of servers selects a random generator polynomial and broadcasts a cryptographic hash function of the random generator polynomial. Each server sends the value of the cryptographic hash function of its random generator polynomial to the group of servers. The random generation protocol is used in a multi-party computation protocol to ensure that a set of data is securely electronically shared among the group of servers via a secure, authenticated broadcast channel.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This is a non-provisional application of U.S. Provisional Application No. 62 / 805,434, entitled “Distributed Randomness Generation via Multi-Party Computation,” filed in the United States on February 14, 2019, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present invention relates to a system for distributed generation of random values ​​in a set of servers, and more particularly, to a system for distributed generation of random values ​​in a set of servers via multi-party computation. Background Art

[0004] Multiparty computation (MPC) allows a group of servers (sometimes called participants or parties) to provide input values ​​to a computational (or Boolean) circuit and perform a secure evaluation of the circuit in the presence of an attacker who can corrupt a fixed part of the server. When an attacker corrupts a server, it learns all the information stored on that server. The attacker can force the corrupted server to behave arbitrarily, regardless of the protocol.

[0005] Fitzi et al., "Round-optimal and efficient verifiable secret sharing", In Theory of Cryptography, Third Theory of Cryptography Conference, volume 3876 of Lecture Notes in Computer Science, pages 329-342, 2006, describes a weakly verifiable secret sharing protocol, which is incorporated herein by reference as if fully set forth herein. A random generation protocol can be constructed using the weakly verifiable secret sharing protocol from Fitzi et al. However, in the absence of corruption and with the server accessing the broadcast channel, the resulting protocol will have O(n 3 )The communication complexity of field elements.

[0006] There is an ongoing need for a randomness generation protocol with low communication complexity compared to previous protocols. Summary of the invention

[0007] The present invention relates to a system for distributed generation of random values ​​in a set of servers, and more specifically, to a system for distributed generation of random values ​​in a set of servers via multi-party computing. The system includes a non-transitory computer-readable medium and one or more processors, and the non-transitory computer-readable medium is encoded with executable instructions, so that when the executable instructions are executed, the one or more processors perform multiple operations. The system initiates a random generation protocol for distributed generation of random values ​​in the group of servers. Each server selects a random generator polynomial, broadcasts a cryptographic hash function of the random generator polynomial, and sends the value of the cryptographic hash function of the random generator polynomial of the server to the group of servers. The system uses a random generation protocol in a multi-party computing protocol to ensure that a set of data is securely electronically shared among the group of servers via a secure, authenticated broadcast channel.

[0008] In another aspect, the system marks any compromised servers; and isolates the servers marked as compromised from the multi-party computation protocol.

[0009] On the other hand, when there are no compromised servers, the random generation protocol has O(n 2 )’s communication complexity.

[0010] On the other hand, if less than half of the servers in the set of servers are compromised, then the random generation protocol is guaranteed to be secure.

[0011] In another aspect, the set of data includes diagnostic data from at least one vehicle.

[0012] In another aspect, the set of data includes a key.

[0013] Finally, the present invention also includes a computer program product and a computer-implemented method. The computer program product includes computer-readable instructions stored on a non-transitory computer-readable medium, and the computer-readable instructions can be executed by a computer having one or more processors, so that when the instructions are executed, the one or more processors perform the operations listed herein. Alternatively, the computer-implemented method includes actions that cause a computer to execute these instructions and perform the resulting operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The objects, features and advantages of the present invention will become apparent from the following detailed description of various aspects of the present invention in conjunction with the accompanying drawings, in which:

[0015] Figure 1 is a block diagram depicting components of a system for distributed generation of random values ​​among a group of servers according to some embodiments of the present disclosure;

[0016] Figure 2 is an illustration of a computer program product according to some embodiments of the present disclosure; and

[0017] Figure 3 is a flow chart illustrating the distributed generation of random values ​​among a collection of servers according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0018] The present invention relates to a system for distributed generation of random values ​​in a set of servers, and more specifically, to a system for distributed generation of random values ​​in a set of servers via multi-party computation. The following description is presented to enable one of ordinary skill in the art to make and use the invention and incorporate it into the context of a specific application. Various modifications and multiple uses in different applications will be apparent to those skilled in the art, and the general principles defined herein can be applied to a wide range of aspects. Therefore, the present invention is not intended to be limited to the aspects presented, but is consistent with the widest scope consistent with the principles and novel features disclosed herein.

[0019] In the following detailed description, many specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention can be practiced without being limited to these specific details. In other cases, known structures and devices are shown in block diagram form rather than in detail to avoid obscuring the present invention.

[0020] The reader's attention is drawn to all files and documents filed simultaneously with this specification and open to public inspection together with this specification, and the contents of all these files and documents are incorporated herein by reference. Unless otherwise expressly stated, all features disclosed in this specification (including any attached claims, abstracts and drawings) may be replaced by alternative features for the same, equivalent or similar purposes. Therefore, unless otherwise expressly stated, each feature disclosed is only an example in a series of equivalent or similar features.

[0021] (1) Main aspects

[0022] Various embodiments of the present invention include three "main" aspects. The first main aspect is a system for distributed generation of random values ​​in a collection of servers. The system is typically in the form of computer system operating software or in the form of a "hard-coded" instruction set. The system can be incorporated into a variety of devices that provide different functions. The second main aspect is a method that is typically in the form of software that operates using a data processing system (computer). The third main aspect is a computer program product. A computer program product typically represents computer-readable instructions stored on a non-transitory computer-readable medium such as an optical storage device (e.g., a compact disk (CD) or a digital versatile disk (DVD)) or a magnetic storage device (e.g., a floppy disk or tape). Other non-limiting examples of computer-readable media include: a hard disk, a read-only memory (ROM), and a flash memory. These aspects will be described in more detail below.

[0023] Figure 1 A block diagram depicting an example of a system of the present invention (i.e., computer system 100) is provided in . The computer system 100 is configured to perform calculations, processes, operations, and / or functions associated with a program or algorithm. In one aspect, certain processes and steps discussed herein are implemented as a series of instructions (e.g., software programs) that reside in a computer-readable memory unit and are executed by one or more processors of the computer system 100. When executed, the instructions cause the computer system 100 to perform specific actions and exhibit specific behaviors, as described herein.

[0024] Computer system 100 may include an address / data bus 102 configured to transmit information. In addition, one or more data processing units (such as processor 104 (or multiple processors)) are connected to address / data bus 102. Processor 104 is configured to process information and instructions. In one aspect, processor 104 is a microprocessor. Alternatively, processor 104 can be a different type of processor, such as a parallel processor, an application specific integrated circuit (ASIC), a programmable logic array (PLA), a complex programmable logic device (CPLD) or a field programmable gate array (FPGA).

[0025] The computer system 100 is configured to utilize one or more data storage units. The computer system 100 may include a volatile memory unit 106 (e.g., random access memory (“RAM”), static RAM, dynamic RAM, etc.) coupled to the address / data bus 102, wherein the volatile memory unit 106 is configured to store information and instructions for the processor 104. The computer system 100 may also include a non-volatile memory unit 108 (e.g., read-only memory (“ROM”), programmable ROM (“PROM”), erasable programmable ROM (“EPROM”), electrically erasable programmable ROM (“EEPROM”), flash memory, etc.) coupled to the address / data bus 102, wherein the non-volatile memory unit 108 is configured to store static information and instructions for the processor 104. Alternatively, the computer system 100 may execute instructions retrieved from an online data storage unit such as in “cloud” computing. In one aspect, the computer system 100 may also include one or more interfaces, such as interface 110, coupled to the address / data bus 102. The one or more interfaces are configured to enable the computer system 100 to connect to other electronic devices and computer systems. The communication interface implemented by the one or more interfaces can include wired (e.g., serial cable, modem, network adapter, etc.) and / or wireless (e.g., wireless modem, wireless network adapter, etc.) communication technology.

[0026] In one aspect, the computer system 100 may include an input value device 112 coupled to the address / data bus 102, wherein the input value device 112 is configured to transmit information and command selections to the processor 100. According to one aspect, the input value device 112 is an alphanumeric input value device (such as a keyboard), which may include alphanumeric keys and / or function keys. Alternatively, the input value device 112 may be an input value device other than an alphanumeric input value device. In one aspect, the computer system 100 may include a cursor control device 114 coupled to the address / data bus 102, wherein the cursor control device 114 is configured to transmit user input value information and / or command selections to the processor 100. In one aspect, the cursor control device 114 is implemented using a device such as a mouse, a trackball, a trackpad, an optical tracking device, or a touch screen. Notwithstanding the foregoing, in one aspect, such as in response to using a special key and key sequence command associated with the input value device 112, the cursor control device 114 is guided and / or enabled via an input value from the input value device 112. In an alternative aspect, cursor control device 114 is configured to be managed or directed by voice commands.

[0027] In one aspect, computer system 100 may also include one or more optional computer usable data storage devices, such as storage device 116 coupled to address / data bus 102. Storage device 116 is configured to store information and / or computer executable instructions. In one aspect, storage device 116 is a storage device such as a disk drive or optical drive (e.g., a hard disk drive (“HDD”), a floppy disk, a compact disk read only memory (“CD-ROM”), a digital versatile disk (“DVD”)). According to one aspect, display device 118 is coupled to address / data bus 102, wherein display device 118 is configured to display video and / or graphics. In one aspect, display device 118 may include a cathode ray tube (“CRT”), a liquid crystal display (“LCD”), a field emission display (“FED”), a plasma display, or any other display device suitable for displaying video and / or graphic images and alphanumeric characters recognizable by a user.

[0028] The computer system 100 presented herein is an example computing environment according to one aspect. However, the non-limiting example of the computer system 100 is not strictly limited to being a computer system. For example, one aspect provides a computer system 100 representing a class of data processing analysis that can be used according to various aspects described herein. In addition, other computing systems can also be implemented. In fact, the spirit and scope of the present technology are not limited to any single data processing environment. Therefore, on the one hand, one or more operations of various aspects of the present technology are controlled or implemented using computer executable instructions (such as program modules) executed by a computer. In one implementation, such a program module includes routines, programs, objects, components and / or data structures configured to perform specific tasks or implement specific abstract data types. In addition, one aspect provides one or more aspects of the present technology implemented by utilizing one or more distributed computing environments, such as, in this computing environment, tasks are performed by remote processing devices linked by a communication network, or such as, in this computing environment, various program modules are located in local and remote computer storage media including memory-storage devices.

[0029] Figure 2, a diagram of a computer program product (i.e., storage device) embodying the present invention is depicted in . The computer program product is depicted as a floppy disk 200 or an optical disk 202 such as a CD or DVD. However, as previously mentioned, the computer program product generally represents computer-readable instructions stored on any compatible non-transitory computer-readable medium. The term "instructions" as used in connection with the present invention generally indicates a set of operations to be performed on a computer, and may represent a fragment of an entire program or a single separate software module. Non-limiting examples of "instructions" include computer program code (source or target code) and "hard-coded" electronic devices (i.e., computer operations encoded into a computer chip). "Instructions" are stored on any non-transitory computer-readable medium, such as in a computer's memory or on a floppy disk, CD-ROM, and flash drive. In any case, the instructions are encoded on a non-transitory computer-readable medium.

[0030] (2) Specific details of various implementations

[0031] A protocol for distributed generation of random values ​​among a collection of servers is described. The protocol is used in the context of multi-party computation (MPC) protocols. MPC protocols allow a collection of servers to provide input values ​​to a computational circuit and compute the output value of the circuit without any individual server knowing the values ​​of the intermediate "wires" in the circuit. Only the intended recipient (which may or may not be an MPC server) sees the output value of the protocol.

[0032] When constructing MPC protocols, it is assumed that some MPC servers may be compromised, which means that they may leak secret data to an attacker entity or deviate from the protocol specification. In practice, MPC server compromise may be caused by an attacker entity taking control of one of the servers, one of the servers being infected with malware, or one of the servers being unavailable due to a denial of service attack, etc. Many MPC protocols require a subprotocol for generating publicly leaked random values, so that even if some MPC servers are compromised, those compromised servers cannot affect the statistical distribution of random values. The present disclosure describes such a subprotocol.

[0033] The protocol according to an embodiment of the present disclosure performs cryptographic operations whereby MPC servers submit random values ​​in a manner such that the random values ​​cannot be changed at a later point in time. In steps (2) and (4) of the following protocol, each server sends data to other servers that submit the data to the random value so that the server cannot change the value later in the protocol. The ability of MPC servers to jointly generate random values ​​that are not biased towards any malicious entity has a wide range of applications in MPC protocols. For example, the jointly generated random values ​​can be used to ensure that the servers correctly distribute shares of a secret without leaking the secret to any server.

[0034] (2.1) Initial Work

[0035] There are n MPC servers If an MPC server is controlled by an attacker entity, infected by malware, or otherwise does not follow the protocol specifications, then the MPC server is compromised. Let t < n / 2 denote the compromise threshold (i.e., the maximum number of servers that can be compromised while still maintaining the integrity of the system). First, note that if a server has a dispute with t + 1 or more servers, then the server is marked as compromised, because the assumption that at most t servers are compromised implies that at least one of the t + 1 servers is not compromised, and an uncompromised server will not have a dispute with a server unless it is compromised. As mentioned above, the number of uncompromised servers must exceed t, because a server that has a dispute with every honest participant must be marked as compromised, and a server is not marked as compromised unless it has a dispute with more than t servers. Since the number of uncompromised servers is n - t, this means that n - t > t, which implies n > 2t or t < n / 2. Thus, the protocol is guaranteed to be secure only if fewer than half of the servers are compromised. As a non - restrictive example, n can be 7 and t can be 3, meaning that there are a total of 7 servers, and the protocol remains valid even if 3 of the servers are compromised.

[0036] Let denote the set of servers marked as compromised; a server is marked as compromised when all uncompromised servers know that the server is compromised. Two servers are said to have a dispute if one server accuses the other of being compromised. Let denote the set of pairs of servers that have a dispute with each other. Thus, assume that if then for each P i ,

[0037] All computations occur over some finite field F. The field must have size Let denote the set of n distinct non - zero elements of i The value α iLet H be a cryptographic hash function (assumed to be one-way). As an example, SHA-256 can be used as the cryptographic hash function for this protocol. SHA-256 is described in FIPS PUB 180-4, Federal Information Processing Standards Publication, Secure Hash Standard (SHS), which is incorporated herein by reference as if fully set forth herein. Assume that the output value of H is , or at least it can be encoded as Elements of the domain gather And the hash function H is known to each MPC server. Let || denote concatenation.

[0038] (2.2) Protocol Specifications

[0039] Each server P i Perform the following steps:

[0040] 1. Choose the polynomial f i , the polynomial f i At most t times (t is random), and subject to the following constraints: For each j, f i (α j )=0.

[0041] 2. Broadcast c i =H(f i (α1)||…||f i (α n )).

[0042] 3. Receive from each server the P j The encrypted hash value c of each broadcast j If a server is marked as corrupted, it is in dispute with all servers. Therefore, the set of corrupted servers is the set of servers that are in dispute with all servers P i A subset of the set of servers that are in dispute. In step 16 below, the values ​​received in this step will be checked to see if the server is corrupted, and all non-corrupted servers need to agree on which servers are marked as corrupted. Therefore, each server needs to remember the values ​​broadcasted in this step, whether they are in dispute with this participant or not.

[0043] 4. To each P j Send value f i (αj )(randomly generate the value of the polynomial). i The controversial P j , the value will simply be zero.

[0044] 5. Receive information from each P j Value (sent in the previous step). If each server is running correctly and is not compromised, then Equal to f j (α i ).

[0045] 6. Calculation It represents the sum of all servers that are not marked as compromised.

[0046] 7. Broadcast v to all servers (i) (the sum of the values).

[0047] 8. Receive the data from each server The broadcast value v (j) In other words, receive the value v from each server that is not marked as broken (j) .

[0048] 9. For the value v received in the previous step (j) Interpolate to calculate for each Satisfy f(α j )=v (j) The polynomial f.

[0049] 10. If the number of f is at most t, then f(0) is taken as the output value of the protocol and terminated. If all servers are operating normally, then f is the number of all f i The output value is the jointly generated random value. In other words, if the degree of the interpolation polynomial is not greater than the damage threshold, the polynomial valuation at zero is used as the output value of the random generation protocol (ie, the jointly generated random value).

[0050] 11. If the protocol is not terminated, broadcast the Each received

[0051] 12. For each From each Receive each value

[0052] 13. If any server Broadcast Values Make is not equal to the value broadcasted in step 7, then that server is marked as corrupted and all servers return to step 1. In other words, it is determined whether any server not marked as corrupted has broadcast a value that does not add up to the sum of previously broadcasted values, and if so, that server is marked as corrupted and the random generation protocol is rerun. Since the data being examined is transmitted over the broadcast channel, all non-corrupted servers will come to the same conclusion.

[0053] 14. For each j=1,…,n, broadcast f i (α j ). In other words, broadcast all values ​​of each server's own random generator polynomial at the evaluation points located on other servers.

[0054] 15. If any server in the previous step The broadcast value f k (α j ) is not located in relation to P k Each P in dispute j There is k (α j )=0 and on a polynomial of degree at most t, then P k Add to And all servers return to step 1. In other words, determine whether any server that has not been marked as corrupted has broadcast a value of its own polynomial that is not located on a polynomial that is zero for each valuation point of each server marked as disputed by the broadcasting server and the degree is not greater than the corruption threshold, and if so, mark the broadcasting server as corrupted and rerun the random generation protocol.

[0055] 16. If any server in step 14 The value broadcast does not correspond to the hash value broadcast in step 2, then P k is marked as corrupted, and all servers return to step 1. In other words, it is determined whether any server not marked as corrupted has broadcast those values ​​of its own polynomial in such a way that when those values ​​of its own polynomial are used as input values ​​of the hash function, the output value of the hash function is different from the hash output value previously broadcast by the server; and if so, the broadcasting server is marked as corrupted and the random generation protocol is rerun.

[0056] 17. If for any given pair If the value broadcasted in step 11 is not equal to the value f broadcasted in step 14 k (α j ), then {P j ,Pk}Add to If this results in a server being in dispute with more than t servers, then that server is added to In other words, determine if there is any pair of servers that are not marked as being in dispute with each other such that the value of its own polynomial broadcast by one server is not equal to the corresponding value broadcast by the other server; and if so, mark the two servers as being in dispute with each other. If this results in a server being marked as being in dispute with a number of servers that exceeds the corruption threshold, then mark the server as corrupted.

[0057] 18. Go to step 1. In other words, rerun the randomization protocol.

[0058] After performing the above steps, each uncompromised server knows the value of the randomly generated value, which is known by all uncompromised servers. The randomly generated value can be used to achieve secure sharing of secret data among uncompromised servers, where the secret data is electronically transmitted via a secure, authenticated broadcast channel. Figure 3 is a flow chart illustrating distributed generation of random values ​​in a group of servers as described herein. In the random generation protocol described herein (element 300), each server selects a random generator polynomial, broadcasts the encrypted hash function of its random generator polynomial to other servers, and sends the value of the encrypted hash function of its random generator polynomial to other servers, as described in detail above. The uncompromised servers execute the MPC protocol (element 302) on the jointly generated random value, and the jointly generated random value is used to ensure secure secret sharing between the servers (element 304).

[0059] (2.3) Identify and isolate compromised MPC servers

[0060] There are multiple locations in the above protocol where a server may be marked as compromised. Specifically, this may occur in steps 13, 15, 16, and 17. The reasoning that enables a server to determine when another server is compromised is given below.

[0061] In step 13, for any server that correctly executed steps 6 and 7, the formula will hold, so any server for which this equation does not hold must be compromised. In step 15, for any server P that correctly executes steps 1 and 14 k , value f k (α j ) will be located at the same k Each P in dispute j There is k (α j )=0 and is a polynomial of degree at most t, so if the value fk (α j ) is not the case, then P k must be corrupted. In step 16, for any server that correctly executed steps 1 and 2, the hash value broadcasted in step 14 will be equal to the value broadcasted in step 2, so any server for which this value is not true must be corrupted. In step 17, if a server broadcasts a value in step 11 that is not equal to the corresponding value broadcasted in step 14, then one of them is lying about what was sent and received in steps 4 and 5, which is why the pair is marked as disputed. Since the protocol assumes that no more than t servers are corrupted, if a server is in dispute with more than t servers, then it cannot be the case that all other nodes are corrupted, and therefore any server in dispute with more than t servers is corrupted.

[0062] Marking a server as broken allows non-broken servers to effectively isolate that server from the rest of the protocol. This means that input values ​​from servers marked as broken are ignored and not used to produce the final output value of the protocol.

[0063] Below is an analysis of the communication complexity of the protocol described in this article. If there were no compromised servers, the protocol would end at step 10. There are only three steps before step 10 where the data is sent, and each of these steps is analyzed separately below.

[0064] Step 2: Each server broadcasts the hash. Each hash has size O(1), and there are O(n) servers, so the complexity of this step is O(n).

[0065] Step 4: Each server sends a domain element to every other server, which takes O(n 2 ) communications.

[0066] Step 7: Each server broadcasts a single element, so like step 2, the complexity of this step is O(n).

[0067] Therefore, when there is no corruption, the total communication is O(n 2As mentioned above, when there is no corruption, a solution based on the protocol of Fitzi et al. (Round-Optimal and Efficient Verifiable Secret Sharing, In Theory of Cryptography, Third Theory of Cryptography Conference, TCC 2006, volume 3876 of Lecture Notes in Computer Science, pages 329-342, 2006, which is incorporated herein by reference as if fully set forth herein) will result in a total communication complexity of O(n 3 ).

[0068] If there is a compromised server, the protocol will eventually restart, returning to step 1. This will cause steps 2, 4, and 7 to be rerun O(n 2 ) times, which means that in the worst case, the total communication complexity may reach O(n 4 ). Each time the protocol is rerun, new disputes are discovered or new servers are marked as corrupted. Since there are n servers, there are at most O(n 2 ) disputes and O(n) corruptions. Therefore, it reruns at most O(n 2 )Second-rate.

[0069] The random generation protocol described in this disclosure can be used in MPC systems, and MPC has a wide range of applications for secure, distributed data storage and computing. For example, a vehicle (e.g., automobile, aircraft) manufacturer can use the protocol in an MPC system that stores diagnostic data from the vehicle / aircraft and performs statistical analysis on the data. As a non-limiting example, the diagnostic data can be GPS data collected from the vehicle, and the MPC system can analyze traffic patterns without compromising the privacy of individual drivers. In addition, the protocol can be used in an MPC system that generates and stores cryptographic keys used to sign and verify software updates.

[0070] Finally, although the present invention has been described according to several embodiments, it will be readily appreciated by those skilled in the art that the present invention may have other applications in other environments. It should be noted that many embodiments and implementations are possible. In addition, the appended claims are by no means intended to limit the scope of the present invention to the above-mentioned specific embodiments. In addition, any description of "device for..." is intended to cause an understanding of the device plus function of the element and the claim, and any element that does not specifically use the description "device for..." is not intended to be interpreted as an element of the device plus function, even if the claim further includes the word "device". In addition, although specific method steps are described in a specific order, these method steps may occur in any desired order and fall within the scope of the present invention.

Claims

1. A system for generating random values ​​in a group of servers, the system include: A set of servers configured to perform the following operations: executing a random generation subprotocol among the set of servers to jointly generate a random value, Wherein, the random generation sub-protocol includes: The random generator polynomial is chosen by each server; broadcasting, by each server, the encrypted hash value of the randomly generated polynomial of each server to other servers in the group of servers; receiving, by each server, the encrypted hash value broadcasted by each other server in the group of servers; Each server generates a random polynomial value f of the server. i (α j ) is sent to other servers in the group of servers; Each server receives the value of the random polynomial generated by each other server Among them, when the server is not marked as damaged, then f i (α j )equal Count all the servers not marked as compromised The sum of the values; Each server that is not marked as corrupted broadcasts the sum v to all other servers (j) ; Each server calculates the value that satisfies f(α j )=v (j) The polynomial f; Based on the polynomial f, outputting a jointly generated random value; and The jointly generated random value is used in a multi-party computation protocol to ensure that a set of data is securely electronically shared among the set of servers via a secure, authenticated broadcast channel.

2. The system according to claim 1, in, One or more servers also perform the following operations: marking any compromised server in the set of servers; and A server marked as compromised is isolated from the multi-party computation protocol.

3. The system according to claim 2, in, The system is configured such that when there is no compromised server, the random generation subprotocol has O(n 2 ), where n is the number of servers in the set of servers.

4. The system according to claim 2, in, The system is configured such that the random generation sub-protocol is guaranteed to be secure if less than half of the servers in the set of servers are compromised.

5. The system according to claim 1, in, The set of data includes diagnostic data from at least one vehicle.

6. The system according to claim 1, in, The set of data includes a key.

7. A computer-implemented method for generating a random value in a group of servers, the method comprising the steps of: include: executing a random generation subprotocol among the set of servers to jointly generate a random value, Wherein, the random generation sub-protocol includes: The random generator polynomial is chosen by each server; broadcasting, by each server, the encrypted hash value of the randomly generated polynomial of each server to other servers in the group of servers; receiving, by each server, the encrypted hash value broadcasted by each other server in the group of servers; Each server generates a random polynomial value f of the server. i (α j ) is sent to other servers in the group of servers; Each server receives the value of the random polynomial generated by each other server Among them, when the server is not marked as damaged, then f i (α j )equal Count all the servers not marked as compromised The sum of the values; Each server that is not marked as corrupted broadcasts the sum v to all other servers (j) ; Each server calculates the value that satisfies f(α j )=v (j) The polynomial f; Based on the polynomial f, outputting a jointly generated random value; and The jointly generated random value is used in a multi-party computation protocol to ensure that a set of data is securely electronically shared among the set of servers via a secure, authenticated broadcast channel.

8. The method according to claim 7, in, One or more servers also perform the following operations: marking any compromised server in the set of servers; and A server marked as compromised is isolated from the multi-party computation protocol.

9. The method according to claim 8, in, When there is no compromised server, the random generation subprotocol has O(n 2 ), where n is the number of servers in the set of servers.

10. The method according to claim 8, in, The random generation sub-protocol is guaranteed to be secure if less than half of the servers in the set of servers are compromised.

11. The method according to claim 7, in, The set of data includes diagnostic data from at least one vehicle.

12. The method according to claim 7, in, The set of data includes a key.

13. A non-transitory computer-readable medium for generating a random value in a group of servers, the non-transitory computer-readable medium having computer-readable instructions stored thereon, the computer-readable instructions being executable by one or more servers to cause the one or more servers to perform the following operations: executing a random generation subprotocol among the set of servers to jointly generate a random value, in, The random generation sub-protocol includes: The random generator polynomial is chosen by each server; broadcasting, by each server, the encrypted hash value of the randomly generated polynomial of each server to other servers in the group of servers; receiving, by each server, the encrypted hash value broadcasted by each other server in the group of servers; Each server generates a random polynomial value f of the server. i (α j ) is sent to other servers in the group of servers; Each server receives the value of the random polynomial generated by each other server Among them, when the server is not marked as damaged, then f i (α j )equal Count all the servers not marked as compromised The sum of the values; Each server that is not marked as corrupted broadcasts the sum v to all other servers (j) ; Each server calculates the value that satisfies f(α j )=v (j) The polynomial f; Based on the polynomial f, outputting a jointly generated random value; and The jointly generated random value is used in a multi-party computation protocol to ensure that a set of data is securely electronically shared among the set of servers via a secure, authenticated broadcast channel.

14. The non-transitory computer-readable medium of claim 13, further comprising computer-readable instructions for causing the one or more servers to further: marking any compromised server in the set of servers; and A server marked as compromised is isolated from the multi-party computation protocol.

15. The non-transitory computer readable medium of claim 13, in, The set of data includes diagnostic data from at least one vehicle.

16. The non-transitory computer readable medium of claim 13, in, The set of data includes a key.