# US 2019/0097790 A1 · Scalable byzantine fault-tolerant protocol with partial tee support

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0097790 A1
- Document ID: US20190097790A1
- Status: Published application
- Kind: A1
- Application number: 15/950,185
- Filed: 2018-04-11
- Published: 2019-03-28
- Earliest claimed: 2017-09-22
- Assignees: NEC Laboratories Europe GmbH
- Applicants: NEC Laboratories Europe GmbH
- Inventors: Wenting Li; Ghassan Karame
- Web page: https://patentgrep.com/patent/US20190097790A1

## CPC

- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- G06F 11/2023: {Failover techniques}
- H04L 9/0819: {Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) (network architectures or network communication protocols for key distribution in a packet data network H04L63/062)}
- H04L 9/12: Transmitting and receiving encryption devices synchronised or initially set up in a particular manner
- H04L 9/3234: {involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token (network architectures or network communication protocols for supporting authentication of entities using an additional device in a packet data network H04L63/0853)}
- G06F 2201/805: Real-time
- H04L 9/321: {involving a third party or a trusted authority}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for establishing consensus between a plurality of distributed nodes connected via a data communication network includes preparing a set of random numbers, wherein each of the random numbers is a share of an initial secret, wherein each share of the initial secret corresponds to one of a plurality of active nodes; encrypting, in order to generate encrypted shares of the initial secret, each respective share of the initial secret with a shared key corresponding to respective one of the plurality of active nodes to which the respective share corresponds; applying a bitwise xor function to the set of random numbers to provide the initial secret; and binding the initial secret to a last counter value to provide a commitment and a signature for the last counter. The method includes generating shares of a second and of a plurality of subsequent additional secrets by iteratively applying a hash function.

## Claims

### Claim 1

A method for establishing consensus between a plurality of distributed nodes connected via a data communication network, the plurality of distributed nodes including a plurality of active nodes, the plurality of active nodes including a primary node, each of the plurality of distributed nodes including a processor and computer readable media, the method comprising:
preparing a set of random numbers, wherein each of the random numbers is a share of an initial secret, wherein each share of the initial secret corresponds to one of the plurality of active nodes;
encrypting, in order to generate encrypted shares of the initial secret, each respective share of the initial secret with a shared key corresponding to a respective one of the plurality of active nodes to which the respective share corresponds;
applying a bitwise xor function to the set of random numbers to provide the initial secret;
binding the initial secret to a last counter value to provide a commitment and a signature for the last counter;
generating shares of a second and of a plurality of subsequent additional secrets by iteratively applying a hash function to shares of each preceding secret;
binding the second secret to a second-to-last counter and each subsequent secret to a preceding counter to provide a commitment and a signature for the second-to-last counter and for each preceding counter; and
transmitting, to each of the plurality of active nodes, the commitments and signatures for each of the counters along with the encrypted shares of the initial secret and a set of hash values produced by applying the hash function to the shares of the last secret,
wherein each of the plurality of active nodes is configured to decrypt a corresponding encrypted share of the initial secret and to generate shares of the remaining secrets by applying the hash function to the decrypted share of the initial secret.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising organizing, by the primary nodes, the plurality of active nodes into a tree structure.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the tree structure is a star structure.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising receiving, by the primary node from the plurality of active nodes, an attestation request including a challenge.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising computing, by the primary node, a signature over the challenge in the attestation request and a hash of an application loaded in a trusted execution environment (TEE) of the primary node as a remote attestation proof of integrity of the TEE application.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising receiving, by the primary node from others of the plurality of active nodes, a plurality of shares of the last secret; and
reconstructing, by the primary node, the last secret based on the plurality of received shares of the last secret.

### Claim 7 (depends on 1)

The method according to claim 1, wherein preparing a set of random numbers, wherein each of the random numbers is a share of an initial secret, wherein each share of the initial secret corresponds to one of the plurality of active nodes comprising preparing n random numbers r1, . . . , rn for each active node Pi, where the ith share of the initial secret hi0=ri.

### Claim 8 (depends on 7)

The method according to claim 7, wherein encrypting each respective share of the initial secret with a shared key corresponding to a respective one of the plurality of active nodes to which the respective share corresponds to generate encrypted shares of the initial secret comprises encrypting, using a shared key ki corresponding to each active node Pi, the random numbers r1, . . . , rn to provide the encrypted shares of the initial secret Ci=Enc(ki, ri).

### Claim 9 (depends on 8)

The method according to claim 8, wherein applying a bitwise xor function to the set of random numbers to provide the initial secret comprises applying a bit-wise xor to all hi0 to provide the initial secret s0=h10⊕h20 . . . ⊕hn0.

### Claim 10 (depends on 9)

The method according to claim 9, wherein binding the initial secret to a last counter value to provide a commitment and a signature for the last counter comprises binding the initial secret s0 with the last counter cm to provide the commitment cmtm=H(s0, cm) and the signature Sm=Sign(cmtm, cm) for the last counter, wherein H( ) is a cryptographic hash function.

### Claim 11 (depends on 10)

The method according to claim 10, wherein generating shares of a second and of a plurality of subsequent additional secrets by iteratively applying a hash function to shares of each preceding secret comprises generating shares and the plurality of subsequent secrets hij=H(hij-1) for j=1, . . . , m−1.

### Claim 12 (depends on 11)

The method according to claim 11, wherein binding the second secret to a second-to-last counter and each subsequent secret to a preceding counter to provide a commitment and a signature for the second-to-last counter and for each preceding counter comprises binding the secrets sj with the counters cm-j to provide the commitments cmtm-j=H(sj, cm-j) and the signatures Sm-j=Sign(cmtm-j, cm-j) for j=m−1.

### Claim 13 (depends on 6)

The method according to claim 6, further comprising receiving, by the primary node, a request from a client and transmitting, by the primary node to the client, a reply including the reconstructed last secret.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising broadcasting the reply to a plurality of passive nodes.

### Claim 15

A computer readable medium comprising instructions for carrying out a method for establishing consensus between a plurality of distributed nodes connected via a data communication network, the plurality of distributed nodes including a plurality of active nodes, the plurality of active nodes including a primary node, each of the plurality of distributed nodes including a processor and computer readable media, the method comprising:
preparing a set of random numbers, wherein each of the random numbers is a share of an initial secret, wherein each share of the initial secret corresponds to one of the plurality of active nodes;
encrypting, in order to generate encrypted shares of the initial secret, each respective share of the initial secret with a shared key corresponding to respective one of the plurality of active nodes to which the respective share corresponds;
applying a bitwise xor function to the set of random numbers to provide the initial secret;
binding the initial secret to a last counter value to provide a commitment and a signature for the last counter;
generating shares of a second and of a plurality of subsequent additional secrets by iteratively applying a hash function to shares of each preceding secret;
binding the second secret to a second-to-last counter and each subsequent secret to a preceding counter to provide a commitment and a signature for the second-to-last counter and for each preceding counter; and
transmitting, to each of the plurality of active nodes, the commitments and signatures for each of the counters along with the encrypted shares of the initial secret and a set of hash values produced by applying the hash function to the shares of the last secret,
wherein each of the plurality of active nodes is configured to decrypt a corresponding encrypted share of the initial secret and to generate shares of the remaining secrets by applying the hash function to the decrypted share of the initial secret.
