diff options
author | weidai <weidai11@users.noreply.github.com> | 2005-09-05 21:43:43 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2005-09-05 21:43:43 +0000 |
commit | 09bb1aab6411aa9f373a037a46f8986d48b56075 (patch) | |
tree | 7c9380467a43a9fd9b4095024796ccabfdce1280 /dll.cpp | |
parent | 946eb7f0f4831bdb3e25eee84489f896a5d1a867 (diff) | |
download | cryptopp-git-09bb1aab6411aa9f373a037a46f8986d48b56075.tar.gz |
port to GCC 4
Diffstat (limited to 'dll.cpp')
-rw-r--r-- | dll.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -6,37 +6,14 @@ #include "dll.h" #pragma warning(default: 4660) -#ifdef CRYPTOPP_WIN32_AVAILABLE +#if defined(CRYPTOPP_EXPORTS) && defined(CRYPTOPP_WIN32_AVAILABLE) #include <windows.h> #endif -#include "iterhash.cpp" -#include "strciphr.cpp" -#include "algebra.cpp" -#include "eprecomp.cpp" -#include "eccrypto.cpp" - #ifndef CRYPTOPP_IMPORTS NAMESPACE_BEGIN(CryptoPP) -#ifdef __MWERKS__ -// CodeWarrior 8 workaround: explicit instantiations have to appear after member function definitions -CRYPTOPP_DLL_TEMPLATE_CLASS DL_GroupParameters_EC<ECP>; -CRYPTOPP_DLL_TEMPLATE_CLASS DL_GroupParameters_EC<EC2N>; -CRYPTOPP_DLL_TEMPLATE_CLASS DL_FixedBasePrecomputationImpl<Integer>; -CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word64, HashTransformation>; -CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word32, HashTransformation>; -CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word32, MessageAuthenticationCode>; -CRYPTOPP_DLL_TEMPLATE_CLASS CFB_CipherTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >; -CRYPTOPP_DLL_TEMPLATE_CLASS CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >; -CRYPTOPP_DLL_TEMPLATE_CLASS CFB_DecryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >; -CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<>; -CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, OFB_ModePolicy> >; -CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> >; -CRYPTOPP_DLL_TEMPLATE_CLASS AbstractEuclideanDomain<Integer>; -#endif - template<> const byte PKCS_DigestDecoration<SHA1>::decoration[] = {0x30,0x21,0x30,0x09,0x06,0x05,0x2B,0x0E,0x03,0x02,0x1A,0x05,0x00,0x04,0x14}; template<> const unsigned int PKCS_DigestDecoration<SHA1>::length = sizeof(PKCS_DigestDecoration<SHA1>::decoration); |