GNUnet  0.11.x
Data Fields
GNUNET_SECRETSHARING_ShareHeaderNBO Struct Reference

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

Collaboration diagram for GNUNET_SECRETSHARING_ShareHeaderNBO:
[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...
 

Detailed Description

Definition at line 84 of file secretsharing.h.

Field Documentation

◆ threshold

uint16_t GNUNET_SECRETSHARING_ShareHeaderNBO::threshold

Threshold for the key this share belongs to.

Definition at line 89 of file secretsharing.h.

Referenced by GNUNET_SECRETSHARING_share_write().

◆ num_peers

uint16_t GNUNET_SECRETSHARING_ShareHeaderNBO::num_peers

Peers that have the share.

Definition at line 94 of file secretsharing.h.

Referenced by GNUNET_SECRETSHARING_share_read(), and GNUNET_SECRETSHARING_share_write().

◆ my_peer

uint16_t GNUNET_SECRETSHARING_ShareHeaderNBO::my_peer

Index of our peer in the list.

Definition at line 99 of file secretsharing.h.

Referenced by GNUNET_SECRETSHARING_share_write().

◆ public_key

struct GNUNET_SECRETSHARING_PublicKey GNUNET_SECRETSHARING_ShareHeaderNBO::public_key

Public key.

Must correspond to the product of the homomorphic share commitments.

Definition at line 105 of file secretsharing.h.

Referenced by GNUNET_SECRETSHARING_share_write().

◆ my_share

struct GNUNET_SECRETSHARING_FieldElement GNUNET_SECRETSHARING_ShareHeaderNBO::my_share

Share of 'my_peer'.

Definition at line 110 of file secretsharing.h.

Referenced by GNUNET_SECRETSHARING_share_write().


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