summaryrefslogtreecommitdiff
path: root/ecp.cpp
diff options
context:
space:
mode:
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)