#include <CombinatoricThresholdElGamal.h>
Collaboration diagram for CODEX_ThresholdCrypto::ThresholdElGamalCrypto< CODEX_VSS::Combinatoric< NumT, ThreshT > >:

Public Types | |
|
typedef CODEX_VSS::Combinatoric< NumT, ThreshT > | ShareType |
| Export the type of the sharing. | |
|
typedef CODEX_VSS::ShareSet< ShareType > | SetType |
| Export the type of the share set. | |
| typedef CODEX_Ciphers::ElGamalCipherText | CipherTextType |
| Export the type of the ciphertext. | |
Public Methods | |
| ThresholdElGamalCrypto (const CODEX_ASN1::BigNumber &modulus) | |
| Constructor. | |
| void | decrypt (const ShareType &shares, const CipherTextType &ciphertext, ShareType &partials) const |
| Generate partial decryptions. | |
| BIGNUM * | thresholdDecrypt (const SetType &partials, const CipherTextType &ciphertext) const |
| Perform a threshold operation from shares. | |
Definition at line 32 of file CombinatoricThresholdElGamal.h.
|
||||||||||||||||
|
Perform a threshold operation from shares. This is not simply the recover function for ShareType, since recover is additive, while the threshold operation is multiplicative.
Definition at line 81 of file CombinatoricThresholdElGamal.h. References CODEX_Ciphers::ElGamalCipherText::c2(), and CODEX_ASN1::BigNumber::value(). |
1.2.18