#include "gnunet_common.h"#include "gnunet_time_lib.h"#include "gnunet_configuration_lib.h"#include <gcrypt.h>Go to the source code of this file.
Data Structures | |
| struct | GNUNET_SECRETSHARING_PublicKey |
| Public key of a group sharing a secret. More... | |
| struct | GNUNET_SECRETSHARING_Ciphertext |
| Encrypted field element. More... | |
| struct | GNUNET_SECRETSHARING_Plaintext |
| Plain, unencrypted message that can be encrypted with a group public key. More... | |
Macros | |
| #define | GNUNET_SECRETSHARING_ELGAMAL_BITS 1024 |
| Number of bits for secretsharing elements. | |
| #define | GNUNET_SECRETSHARING_ELGAMAL_P_HEX |
| The q-parameter for ElGamal encryption, a 1024-bit safe prime. | |
| #define | GNUNET_SECRETSHARING_ELGAMAL_Q_HEX |
| The q-parameter for ElGamal encryption, a 1023-bit Sophie Germain prime, q = (p-1)/2. | |
| #define | GNUNET_SECRETSHARING_ELGAMAL_G_HEX |
| The g-parameter for ElGamal encryption, a generator of the unique size q subgroup of Z_p^*. | |
Typedefs | |
| typedef void(* | GNUNET_SECRETSHARING_SecretReadyCallback) (void *cls, struct GNUNET_SECRETSHARING_Share *my_share, struct GNUNET_SECRETSHARING_PublicKey *public_key, unsigned int num_ready_peers, const struct GNUNET_PeerIdentity *ready_peers) |
| Called once the secret has been established with all peers, or the deadline is due. | |
| typedef void(* | GNUNET_SECRETSHARING_DecryptCallback) (void *cls, const struct GNUNET_SECRETSHARING_Plaintext *plaintext) |
| Called when a decryption has succeeded. | |
Verifiable additive secret sharing and cooperative decryption
Definition in file gnunet_secretsharing_service.h.