summaryrefslogtreecommitdiff
path: root/ecp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ecp.cpp')
-rw-r--r--ecp.cpp17
1 files changed, 5 insertions, 12 deletions
diff --git a/ecp.cpp b/ecp.cpp
index cfbad96..f13ee28 100644
--- a/ecp.cpp
+++ b/ecp.cpp
@@ -1,12 +1,14 @@
// ecp.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
+
+#ifndef CRYPTOPP_IMPORTS
+
#include "ecp.h"
#include "asn.h"
#include "nbtheory.h"
#include "algebra.cpp"
-#include "eprecomp.cpp"
NAMESPACE_BEGIN(CryptoPP)
@@ -463,15 +465,6 @@ ECP::Point ECP::CascadeScalarMultiply(const Point &P, const Integer &k1, const P
return AbstractGroup<Point>::CascadeScalarMultiply(P, k1, Q, k2);
}
-// ********************************************************
-
-void EcPrecomputation<ECP>::SetCurve(const ECP &ec)
-{
- m_ec.reset(new ECP(ec, true));
- m_ecOriginal = ec;
-}
-
-template class AbstractGroup<ECP::Point>;
-template class DL_FixedBasePrecomputationImpl<ECP::Point>;
-
NAMESPACE_END
+
+#endif