From 4fd250c5c4a5026ac5d4cffea01ab916b6e77df6 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 19 Jan 2018 05:52:45 -0500 Subject: [PATCH] Remove commented compatibility methods --- eccrypto.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/eccrypto.h b/eccrypto.h index 3072f592..29ce08ac 100644 --- a/eccrypto.h +++ b/eccrypto.h @@ -158,12 +158,6 @@ public: bool operator==(const ThisClass &rhs) const {return this->m_groupPrecomputation.GetCurve() == rhs.m_groupPrecomputation.GetCurve() && this->m_gpc.GetBase(this->m_groupPrecomputation) == rhs.m_gpc.GetBase(rhs.m_groupPrecomputation);} - //#ifdef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY - //const Point& GetBasePoint() const {return this->GetSubgroupGenerator();} - //const Integer& GetBasePointOrder() const {return this->GetSubgroupOrder();} - //void LoadRecommendedParameters(const OID &oid) {Initialize(oid);} - //#endif - protected: unsigned int FieldElementLength() const {return GetCurve().GetField().MaxElementByteLength();} unsigned int ExponentLength() const {return m_n.ByteCount();}