#include <DLProof.h>
Inheritance diagram for CODEX_ThresholdCrypto::DLProof:


Public Member Functions | |
| DLProof () | |
| Default constructor, for creating an object to be unmarshalled. | |
| DLProof (const BIGNUM *g1, const BIGNUM *g2, const BIGNUM *n, const BIGNUM *max, const BIGNUM *x, const CODEX_Ciphers::HashFunction &H) | |
| Constructor taking information used to construct the proof. | |
| DLProof (const DLProof &aOther) | |
| Copy constructor. | |
| virtual | ~DLProof () |
| Virtual destructor. | |
| void | operator= (const DLProof &aOther) |
| Assignment operator. | |
| bool | verify (const BIGNUM *g1, const BIGNUM *g2, const BIGNUM *y1, const BIGNUM *y2, const BIGNUM *n, const CODEX_Ciphers::HashFunction &H) const |
| Test the validity of the proof. | |
| int | marshal (unsigned char **pp) const |
| Serialize the object. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| Unserialize the object. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
Specifically, it proves that the discrete log of y1 to the base g1 and the discrete log of y2 to the base g2 are identical.
Definition at line 34 of file DLProof.h.
|
||||||||||||||||||||||||||||
|
Constructor taking information used to construct the proof.
Definition at line 32 of file DLProof.cc. References CODEX_ASN1::BigNumber::marshal(). |
|
|
||||||||||||||||||||||||||||
|
Test the validity of the proof.
Definition at line 205 of file DLProof.cc. References CODEX_ASN1::BigNumber::marshal(), and CODEX_ASN1::BigNumber::value(). |
1.4.1