diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-07 10:38:33 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-07 10:38:33 +0200 |
commit | e0d32e0688c1bddbfba63f46e486c5ec6b79a9e6 (patch) | |
tree | 4c7bc4a7ec4b8df482924089df00c9f3126ed13b /CryptoPP/eccrypto.cpp | |
parent | Split the name for signed and unsigned int writing in cProtocol. (diff) | |
download | cuberite-e0d32e0688c1bddbfba63f46e486c5ec6b79a9e6.tar cuberite-e0d32e0688c1bddbfba63f46e486c5ec6b79a9e6.tar.gz cuberite-e0d32e0688c1bddbfba63f46e486c5ec6b79a9e6.tar.bz2 cuberite-e0d32e0688c1bddbfba63f46e486c5ec6b79a9e6.tar.lz cuberite-e0d32e0688c1bddbfba63f46e486c5ec6b79a9e6.tar.xz cuberite-e0d32e0688c1bddbfba63f46e486c5ec6b79a9e6.tar.zst cuberite-e0d32e0688c1bddbfba63f46e486c5ec6b79a9e6.zip |
Diffstat (limited to '')
-rw-r--r-- | CryptoPP/eccrypto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CryptoPP/eccrypto.cpp b/CryptoPP/eccrypto.cpp index fd8462fd5..922104c4d 100644 --- a/CryptoPP/eccrypto.cpp +++ b/CryptoPP/eccrypto.cpp @@ -435,7 +435,7 @@ template <class EC> void DL_GroupParameters_EC<EC>::Initialize(const OID &oid) StringSource ssG(param.g, true, new HexDecoder); Element G; bool result = GetCurve().DecodePoint(G, ssG, (size_t)ssG.MaxRetrievable()); - SetSubgroupGenerator(G); + this->SetSubgroupGenerator(G); assert(result); StringSource ssN(param.n, true, new HexDecoder); @@ -591,7 +591,7 @@ bool DL_GroupParameters_EC<EC>::ValidateElement(unsigned int level, const Elemen if (level >= 2 && pass) { const Integer &q = GetSubgroupOrder(); - Element gq = gpc ? gpc->Exponentiate(this->GetGroupPrecomputation(), q) : ExponentiateElement(g, q); + Element gq = gpc ? gpc->Exponentiate(this->GetGroupPrecomputation(), q) : this->ExponentiateElement(g, q); pass = pass && IsIdentity(gq); } return pass; @@ -629,7 +629,7 @@ void DL_PublicKey_EC<EC>::BERDecodePublicKey(BufferedTransformation &bt, bool pa typename EC::Point P; if (!this->GetGroupParameters().GetCurve().DecodePoint(P, bt, size)) BERDecodeError(); - SetPublicElement(P); + this->SetPublicElement(P); } template <class EC> |