GNUnet  0.11.x
Data Fields
GNUNET_SECRETSHARING_Share Struct Reference

A share, with all values in in host byte order. More...

#include </home/handbook/gnunet/src/secretsharing/secretsharing.h>

Collaboration diagram for GNUNET_SECRETSHARING_Share:
[legend]

Data Fields

uint16_t threshold
 Threshold for the key this share belongs to. More...
 
uint16_t num_peers
 Peers that have the share. More...
 
uint16_t my_peer
 Index of our peer in the list. More...
 
struct GNUNET_SECRETSHARING_PublicKey public_key
 Public key. More...
 
struct GNUNET_SECRETSHARING_FieldElement my_share
 Share of 'my_peer'. More...
 
struct GNUNET_PeerIdentitypeers
 Peer identities (includes 'my_peer') More...
 
struct GNUNET_SECRETSHARING_FieldElementsigmas
 
uint16_t * original_indices
 

Detailed Description

A share, with all values in in host byte order.

Definition at line 181 of file secretsharing.h.

Field Documentation

◆ threshold

uint16_t GNUNET_SECRETSHARING_Share::threshold

Threshold for the key this share belongs to.

Definition at line 186 of file secretsharing.h.

Referenced by GNUNET_SECRETSHARING_share_read(), and GNUNET_SECRETSHARING_share_write().

◆ num_peers

uint16_t GNUNET_SECRETSHARING_Share::num_peers

◆ my_peer

uint16_t GNUNET_SECRETSHARING_Share::my_peer

◆ public_key

struct GNUNET_SECRETSHARING_PublicKey GNUNET_SECRETSHARING_Share::public_key

Public key.

Computed from the exponentiated coefficients.

Definition at line 202 of file secretsharing.h.

Referenced by GNUNET_SECRETSHARING_share_read(), GNUNET_SECRETSHARING_share_write(), handle_secret_ready(), and keygen_round2_conclude().

◆ my_share

struct GNUNET_SECRETSHARING_FieldElement GNUNET_SECRETSHARING_Share::my_share

◆ peers

struct GNUNET_PeerIdentity* GNUNET_SECRETSHARING_Share::peers

◆ sigmas

struct GNUNET_SECRETSHARING_FieldElement* GNUNET_SECRETSHARING_Share::sigmas

◆ original_indices

uint16_t* GNUNET_SECRETSHARING_Share::original_indices

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