Cleared warning 'Warning: mr hides CryptoPP::ProjectiveDoubling::mr'

pull/186/head
Jeffrey Walton 2016-06-08 23:41:03 -04:00
parent f836f741e8
commit d67d32dab0
1 changed files with 3 additions and 3 deletions

View File

@ -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)