Updated documentation (Issue 328)

pull/347/head
Jeffrey Walton 2016-12-04 02:22:52 -05:00
parent dc572604e0
commit b4b1b530c1
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 0 additions and 4 deletions

4
dh.h
View File

@ -234,13 +234,11 @@ struct DH : public DH_Domain<DL_GroupParameters_GFP_DefaultSafePrime>
DH(RandomNumberGenerator &rng, unsigned int modulusBits) : DH_Domain(rng, modulusBits) {}
//! \brief Initialize a Diffie-Hellman object
//! \param rng a RandomNumberGenerator derived class
//! \param p the modulus
//! \param g the generator
DH(const Integer &p, const Integer &g) : DH_Domain(p, g) {}
//! \brief Initialize a Diffie-Hellman object
//! \param rng a RandomNumberGenerator derived class
//! \param p the modulus
//! \param q the subgroup order
//! \param g the generator
@ -255,14 +253,12 @@ struct DH : public DH_Domain<DL_GroupParameters_GFP_DefaultSafePrime>
{AccessGroupParameters().Initialize(rng, modulusBits);}
//! \brief Initialize a Diffie-Hellman object
//! \param rng a RandomNumberGenerator derived class
//! \param p the modulus
//! \param g the generator
void Initialize(const Integer &p, const Integer &g)
{AccessGroupParameters().Initialize(p, g);}
//! \brief Initialize a Diffie-Hellman object
//! \param rng a RandomNumberGenerator derived class
//! \param p the modulus
//! \param q the subgroup order
//! \param g the generator