diff options
author | weidai <weidai11@users.noreply.github.com> | 2004-06-19 08:28:09 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2004-06-19 08:28:09 +0000 |
commit | f78fccb3cc8c2375bd0b474a33c43b1cd22a325c (patch) | |
tree | 187e9abc73ba1918391e24a30eb0b9638f12941e /dh.h | |
parent | 40a5b80a4522a9b3ad3820b5a953bb4f3611e009 (diff) | |
download | cryptopp-git-f78fccb3cc8c2375bd0b474a33c43b1cd22a325c.tar.gz |
port to GCC 3.4
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -61,18 +61,18 @@ public: if (FIPS_140_2_ComplianceEnabled()) { - SecByteBlock privateKey2(PrivateKeyLength()); - GeneratePrivateKey(rng, privateKey2); + SecByteBlock privateKey2(this->PrivateKeyLength()); + this->GeneratePrivateKey(rng, privateKey2); - SecByteBlock publicKey2(PublicKeyLength()); + SecByteBlock publicKey2(this->PublicKeyLength()); Base::GeneratePublicKey(rng, privateKey2, publicKey2); - SecByteBlock agreedValue(AgreedValueLength()), agreedValue2(AgreedValueLength()); - Agree(agreedValue, privateKey, publicKey2); - Agree(agreedValue2, privateKey2, publicKey); + SecByteBlock agreedValue(this->AgreedValueLength()), agreedValue2(this->AgreedValueLength()); + this->Agree(agreedValue, privateKey, publicKey2); + this->Agree(agreedValue2, privateKey2, publicKey); if (agreedValue != agreedValue2) - throw SelfTestFailure(AlgorithmName() + ": pairwise consistency test failed"); + throw SelfTestFailure(this->AlgorithmName() + ": pairwise consistency test failed"); } } |