diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-07-04 00:17:37 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-07-04 00:17:37 +0000 |
commit | f278895908e663a6a5a2c1f63e5523c5004f5d20 (patch) | |
tree | 0536d87e504a82920156c239bc5ae6aa43e70ebc /ecp.cpp | |
parent | e43f74604744291d3a99b8bfe81d94af4ba6abbd (diff) | |
download | cryptopp-git-f278895908e663a6a5a2c1f63e5523c5004f5d20.tar.gz |
create DLL version, fix GetNextIV() bug in CTR and OFB modes
Diffstat (limited to 'ecp.cpp')
-rw-r--r-- | ecp.cpp | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -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 |