00001
00002
00003
00004
00005
00006
00007 #ifndef CRYPTOPP_DLL_H
00008 #define CRYPTOPP_DLL_H
00009
00010 #if !defined(CRYPTOPP_IMPORTS) && !defined(CRYPTOPP_EXPORTS) && !defined(CRYPTOPP_DEFAULT_NO_DLL)
00011 #ifdef CRYPTOPP_CONFIG_H
00012 #error To use the DLL version of Crypto++, this file must be included before any other Crypto++ header files.
00013 #endif
00014 #define CRYPTOPP_IMPORTS
00015 #endif
00016
00017 #include "aes.h"
00018 #include "cbcmac.h"
00019 #include "ccm.h"
00020 #include "cmac.h"
00021 #include "channels.h"
00022 #include "des.h"
00023 #include "dh.h"
00024 #include "dsa.h"
00025 #include "ec2n.h"
00026 #include "eccrypto.h"
00027 #include "ecp.h"
00028 #include "files.h"
00029 #include "fips140.h"
00030 #include "gcm.h"
00031 #include "hex.h"
00032 #include "hmac.h"
00033 #include "modes.h"
00034 #include "mqueue.h"
00035 #include "nbtheory.h"
00036 #include "osrng.h"
00037 #include "pkcspad.h"
00038 #include "pssr.h"
00039 #include "randpool.h"
00040 #include "rsa.h"
00041 #include "rw.h"
00042 #include "sha.h"
00043 #include "skipjack.h"
00044 #include "trdlocal.h"
00045
00046 #ifdef CRYPTOPP_IMPORTS
00047
00048 #ifdef _DLL
00049
00050 #ifdef NDEBUG
00051 #pragma comment(lib, "msvcrt")
00052 #else
00053 #pragma comment(lib, "msvcrtd")
00054 #endif
00055 #endif
00056
00057 #pragma comment(lib, "cryptopp")
00058
00059 #endif // #ifdef CRYPTOPP_IMPORTS
00060
00061 #include <new>
00062
00063 NAMESPACE_BEGIN(CryptoPP)
00064
00065 #if !(defined(_MSC_VER) && (_MSC_VER < 1300))
00066 using std::new_handler;
00067 #endif
00068
00069 typedef void * (CRYPTOPP_API * PNew)(size_t);
00070 typedef void (CRYPTOPP_API * PDelete)(void *);
00071 typedef void (CRYPTOPP_API * PGetNewAndDelete)(PNew &, PDelete &);
00072 typedef new_handler (CRYPTOPP_API * PSetNewHandler)(new_handler);
00073 typedef void (CRYPTOPP_API * PSetNewAndDelete)(PNew, PDelete, PSetNewHandler);
00074
00075 NAMESPACE_END
00076
00077 #endif