GNUnet 0.22.1
KeygenPeerInfo Struct Reference

Info about a peer in a key generation session. More...

Collaboration diagram for KeygenPeerInfo:
[legend]

Data Fields

struct GNUNET_PeerIdentity peer
 Peer identity of the peer. More...
 
struct GNUNET_CRYPTO_PaillierPublicKey paillier_public_key
 The peer's paillier public key. More...
 
gcry_mpi_t presecret_commitment
 The peer's commitment to its presecret. More...
 
gcry_mpi_t preshare_commitment
 Commitment to the preshare that is intended for our peer. More...
 
gcry_mpi_t sigma
 Sigma (exponentiated share) for this peer. More...
 
int round1_valid
 Did we successfully receive the round1 element of the peer? More...
 
int round2_valid
 Did we successfully receive the round2 element of the peer? More...
 

Detailed Description

Info about a peer in a key generation session.

Definition at line 42 of file gnunet-service-secretsharing.c.

Field Documentation

◆ peer

struct GNUNET_PeerIdentity KeygenPeerInfo::peer

Peer identity of the peer.

Definition at line 47 of file gnunet-service-secretsharing.c.

Referenced by get_keygen_peer_info(), handle_client_keygen(), and keygen_round2_conclude().

◆ paillier_public_key

struct GNUNET_CRYPTO_PaillierPublicKey KeygenPeerInfo::paillier_public_key

The peer's paillier public key.

Freshly generated for each keygen session.

Definition at line 53 of file gnunet-service-secretsharing.c.

Referenced by handle_client_keygen(), insert_round1_element(), insert_round2_element(), and keygen_round2_new_element().

◆ presecret_commitment

gcry_mpi_t KeygenPeerInfo::presecret_commitment

The peer's commitment to its presecret.

Definition at line 58 of file gnunet-service-secretsharing.c.

◆ preshare_commitment

gcry_mpi_t KeygenPeerInfo::preshare_commitment

Commitment to the preshare that is intended for our peer.

Definition at line 64 of file gnunet-service-secretsharing.c.

◆ sigma

gcry_mpi_t KeygenPeerInfo::sigma

Sigma (exponentiated share) for this peer.

Definition at line 69 of file gnunet-service-secretsharing.c.

Referenced by keygen_round2_conclude(), and keygen_round2_new_element().

◆ round1_valid

int KeygenPeerInfo::round1_valid

Did we successfully receive the round1 element of the peer?

Definition at line 75 of file gnunet-service-secretsharing.c.

Referenced by insert_round2_element().

◆ round2_valid

int KeygenPeerInfo::round2_valid

Did we successfully receive the round2 element of the peer?

Definition at line 81 of file gnunet-service-secretsharing.c.

Referenced by keygen_round2_conclude().


The documentation for this struct was generated from the following file: