Use member variable m_ecp
parent
99c0f694b2
commit
3dfeb39343
2
ecp.cpp
2
ecp.cpp
|
|
@ -501,7 +501,7 @@ ECP::Point ECP::CascadeScalarMultiply(const Point &P, const Integer &k1, const P
|
|||
ECP::AdditionFunction::AdditionFunction(const ECP& ecp)
|
||||
: m_ecp(ecp), m_alpha(static_cast<Alpha>(0))
|
||||
{
|
||||
if (ecp.GetField().IsMontgomeryRepresentation())
|
||||
if (m_ecp.GetField().IsMontgomeryRepresentation())
|
||||
{
|
||||
// std::cerr << "Montgomery, skipping" << std::endl;
|
||||
m_alpha = A_Montgomery;
|
||||
|
|
|
|||
Loading…
Reference in New Issue