GNUnet 0.22.2
GNUNET_SECRETSHARING_Share Struct Reference

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

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/contrib/service/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

Index of our peer in the list.

Definition at line 196 of file secretsharing.h.

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

◆ 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

Share of 'my_peer'.

Definition at line 207 of file secretsharing.h.

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

◆ peers

struct GNUNET_PeerIdentity* GNUNET_SECRETSHARING_Share::peers

◆ sigmas

◆ original_indices

uint16_t* GNUNET_SECRETSHARING_Share::original_indices

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