summaryrefslogtreecommitdiff
path: root/ecp.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-06-08 23:41:03 -0400
committerJeffrey Walton <noloader@gmail.com>2016-06-08 23:41:03 -0400
commitd67d32dab06bf7ab544837c9a1664d2ee4b4f628 (patch)
tree194a319a600e60aafff1bb3a50a4eea7271b7031 /ecp.cpp
parentf836f741e802aab6125ab9e84fbb547a922edf11 (diff)
downloadcryptopp-git-d67d32dab06bf7ab544837c9a1664d2ee4b4f628.tar.gz
Cleared warning 'Warning: mr hides CryptoPP::ProjectiveDoubling::mr'
Diffstat (limited to 'ecp.cpp')
-rw-r--r--ecp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ecp.cpp b/ecp.cpp
index 8c821304..c718a527 100644
--- a/ecp.cpp
+++ b/ecp.cpp
@@ -89,7 +89,7 @@ bool ECP::DecodePoint(ECP::Point &P, BufferedTransformation &bt, size_t encodedP
Integer p = FieldSize();
P.identity = false;
- P.x.Decode(bt, GetField().MaxElementByteLength());
+ P.x.Decode(bt, GetField().MaxElementByteLength());
P.y = ((P.x*P.x+m_a)*P.x+m_b) % p;
if (Jacobi(P.y, p) !=1)
@@ -298,8 +298,8 @@ struct ProjectivePoint
class ProjectiveDoubling
{
public:
- ProjectiveDoubling(const ModularArithmetic &mr, const Integer &m_a, const Integer &m_b, const ECPPoint &Q)
- : mr(mr), firstDoubling(true), negated(false)
+ ProjectiveDoubling(const ModularArithmetic &m_mr, const Integer &m_a, const Integer &m_b, const ECPPoint &Q)
+ : mr(m_mr), firstDoubling(true), negated(false)
{
CRYPTOPP_UNUSED(m_b);
if (Q.identity)