# US 2022/0294622 A1 · Methods and systems to establish trusted peer-to-peer communications between nodes in a blockchain network

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

- Number: US 2022/0294622 A1
- Document ID: US20220294622A1
- Status: Published application
- Kind: A1
- Application number: 17/707,834
- Filed: 2022-03-29
- Published: 2022-09-15
- Earliest claimed: 2017-06-07
- Assignees: nChain Licensing AG
- Applicants: nChain Licensing AG
- Inventors: Giuseppe Destefanis; Simone Madeo; Patrick Motylinski; Stephane Vincent
- Web page: https://patentgrep.com/patent/US20220294622A1

## CPC

- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/0816: {Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/3066: {involving algebraic varieties, e.g. elliptic or hyper-elliptic curves}
- H04L 9/3073: {involving pairings, e.g. identity based encryption [IBE], bilinear mappings or bilinear pairings, e.g. Weil or Tate pairing}
- G06Q 2220/00: Business processing using cryptography
- 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 2209/56: Financial cryptography, e.g. electronic payment or e-cash
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Methods and devices for two nodes to authenticate each other as credentialed by a group of autonomous specialized nodes, without involving the group or involving a centralized certificate manager or authenticator. The method may involve a first node and a second node using bilinear pairing operations involving their respective identifiers and secret points to derive the same session key. Provided the secret points and identifiers were obtained from the group using the group private key, the bilinear pairing operation leads to generation of the same session key at each of the two nodes, thereby authenticating their respective credentials and enabling trusted communications between the two nodes.

## Claims

### Claim 1

A computer-implemented method for a first node to establish a trusted communication with a second node, the second node having a second node identifier and a second secret point, the second secret point being a group private key times a map-to-point hash of the second node identifier, the group private key being associated with a group of nodes configured to grant credentials, the method comprising:
obtaining a first secret point from the group of nodes, wherein the first secret point is the group private key times a map-to-point hash of a first node identifier;
sending the first node identifier to the second node;
receiving the second node identifier;
generating a first session key using a bilinear pairing operation with a map-to-point hash of the second node identifier and with the first secret point; and
confirming that the first session key matches a second session key generated by the second node using the bilinear pairing operation with the second secret point and with a map-to-point hash of the first node identifier.

### Claim 2 (depends on 1)

The method claimed in claim 1, wherein the bilinear pairing operation to generate first session key comprises one of the expressions:
KA=e(H1(idB),SA), or
KA=e(sB,H1(idA)),
and wherein the bilinear pairing operation to generate the second session key comprises the other of the expressions, and in which e( ) is the bilinear pairing operation, H1( ) is the map-to-point hash, idA and idB are each one of the first node identifier and the second node identifier, and sA and sB are each one of the first secret point and the second secret point.

### Claim 3

(canceled)

### Claim 4 (depends on 1)

The method claimed in claim 1, wherein confirming comprises sending a challenge from the first node to the second node encrypted with the first session key, receiving a response to the challenge, and, based on the response, determining that the second node validly decrypted the challenge using the second session key.

### Claim 5 (depends on 1)

The method claimed in claim 1, wherein sending further includes sending a first nonce, and wherein receiving further includes receiving a second nonce and a calculated C0 value, wherein the calculated C0 value comprises a hash of a concatenation of the second session key, the first nonce, and the second nonce.

### Claim 6 (depends on 5)

The method claimed in claim 5, wherein the concatenation further includes the first node identifier and the second node identifier.

### Claim 7 (depends on 5)

The method claimed in claim 5, wherein generating includes generating a calculated C1 value that comprises the hash of a concatenation of the first session key, the first nonce, and the second nonce, and wherein confirming comprises confirming that the calculated C0 value matches the calculated C1 value.

### Claim 8 (depends on 1)

The method claimed in claim 1, wherein the second secret point is the group private key times the map-to-point hash of the second node identifier.

### Claim 9 (depends on 1)

The method claimed in claim 1, wherein the first secret point and the second secret point are each provided by the group of nodes to the first node and second node, respectively, using secret sharing.

### Claim 10

A first node comprising:
a processor;
memory;
a network interface; and
a blockchain application containing processor-executable instructions to establish a trusted communication with a second node, the second node having a second node identifier and a second secret point, the second secret point being a group private key times a map-to-point hash of the second node identifier, the group private key being associated with a group of nodes configured to grant credentials, wherein, when executed, the processor-executable instructions cause the first node to:
obtain a first secret point from the group of nodes, wherein the first secret point is the group private key times a map-to-point hash of a first node identifier;
send the first node identifier to the second node;
receive the second node identifier;
generate a first session key using a bilinear pairing operation with a map-to-point hash of the second node identifier and with the first secret point; and
confirm that the first session key matches a second session key generated by the second node using the bilinear pairing operation with the second secret point and with a map-to-point hash of the first node identifier.

### Claim 11 (depends on 10)

The first node claimed in claim 10, wherein the bilinear pairing operation to generate first session key comprises one of the expressions:
KA=e(H1(idB),SA), or
KA=e(sB,H(idA)),
and wherein the bilinear pairing operation to generate the second session key comprises the other of the expressions, and in which e(is the bilinear pairing operation, H1( ) is the map-to-point hash, idA and idB are each one of the first node identifier and the second node identifier, and sA and sB are each one of the first secret point and the second secret point.

### Claim 12

(canceled)

### Claim 13 (depends on 10)

The first node claimed in claim 10, wherein the processor-executable instructions, when executed, cause the first node to confirm by sending a challenge from the first node to the second node encrypted with the first session key, receiving a response to the challenge, and, based on the response, determining that the second node validly decrypted the challenge using the second session key.

### Claim 14 (depends on 10)

The first node claimed in claim 10, wherein the processor-executable instructions, when executed, cause the first node to send by further sending a first nonce, and to receive by further receiving a second nonce and a calculated C0 value, wherein the C0 value comprises a hash of a concatenation of the second session key, the first nonce, and the second nonce.

### Claim 15 (depends on 14)

The first node claimed in claim 14, wherein the concatenation further includes the first node identifier and the second node identifier.

### Claim 16 (depends on 14)

The first node claimed in claim 14, wherein the processor-executable instructions, when executed, cause the first node to generate by generating a calculated C1 value that comprises the hash of a concatenation of the first session key, the first nonce, and the second nonce, and to confirm by confirming that the calculated C0 value matches the calculated C1 value.

### Claim 17 (depends on 10)

The first node claimed in claim 10, wherein the second secret point is the group private key times the map-to-point hash of the second node identifier.

### Claim 18 (depends on 10)

The first node claimed in claim 10, wherein the first secret point and the second secret point are each provided by the group of nodes to the first node and second node, respectively, using secret sharing.

### Claim 19 (depends on 1)

A non-transitory processor-readable medium storing processor-executable instructions that, when executed by one or more processors, cause the one or more processors to carry out operations in the method claimed in claim 1.

### Claim 20 (depends on 1)

The method claimed in claim 1, wherein the first secret point is obtainable without reconstructing the group private key.

### Claim 21 (depends on 1)

The method claimed as in claim 1, wherein obtaining the first secret point comprises obtaining respective data from each of a plurality of nodes of the group of nodes.

### Claim 22 (depends on 1)

The method claimed as in claim 1, wherein obtaining the first secret point is performed without reconstructing the group private key.
