GNUnet  0.11.x
Data Fields
GNUNET_SECRETSHARING_FairEncryption Struct Reference

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

Collaboration diagram for GNUNET_SECRETSHARING_FairEncryption:
[legend]

Data Fields

struct GNUNET_CRYPTO_PaillierCiphertext c
 
char h [GNUNET_SECRETSHARING_ELGAMAL_BITS/8]
 h = g^x, where x is the fairly encrypte secret. More...
 
char t1 [GNUNET_SECRETSHARING_ELGAMAL_BITS/8]
 
char t2 [GNUNET_CRYPTO_PAILLIER_BITS *2/8]
 
char z [GNUNET_SECRETSHARING_ELGAMAL_BITS/8]
 
char w [GNUNET_CRYPTO_PAILLIER_BITS/8]
 

Detailed Description

Definition at line 132 of file secretsharing_protocol.h.

Field Documentation

◆ c

struct GNUNET_CRYPTO_PaillierCiphertext GNUNET_SECRETSHARING_FairEncryption::c

◆ h

char GNUNET_SECRETSHARING_FairEncryption::h[GNUNET_SECRETSHARING_ELGAMAL_BITS/8]

h = g^x, where x is the fairly encrypte secret.

Definition at line 138 of file secretsharing_protocol.h.

Referenced by encrypt_fair(), get_fair_encryption_challenge(), keygen_reveal_get_exp_preshare(), and verify_fair().

◆ t1

char GNUNET_SECRETSHARING_FairEncryption::t1[GNUNET_SECRETSHARING_ELGAMAL_BITS/8]

◆ t2

char GNUNET_SECRETSHARING_FairEncryption::t2[GNUNET_CRYPTO_PAILLIER_BITS *2/8]

◆ z

char GNUNET_SECRETSHARING_FairEncryption::z[GNUNET_SECRETSHARING_ELGAMAL_BITS/8]

Definition at line 141 of file secretsharing_protocol.h.

Referenced by encrypt_fair(), and verify_fair().

◆ w

char GNUNET_SECRETSHARING_FairEncryption::w[GNUNET_CRYPTO_PAILLIER_BITS/8]

Definition at line 142 of file secretsharing_protocol.h.

Referenced by encrypt_fair(), and verify_fair().


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