Crypto++
dll.h
1 #ifndef CRYPTOPP_DLL_H
2 #define CRYPTOPP_DLL_H
3 
4 #if !defined(CRYPTOPP_IMPORTS) && !defined(CRYPTOPP_EXPORTS) && !defined(CRYPTOPP_DEFAULT_NO_DLL)
5 #ifdef CRYPTOPP_CONFIG_H
6 #error To use the DLL version of Crypto++, this file must be included before any other Crypto++ header files.
7 #endif
8 #define CRYPTOPP_IMPORTS
9 #endif
10 
11 #include "aes.h"
12 #include "cbcmac.h"
13 #include "ccm.h"
14 #include "cmac.h"
15 #include "channels.h"
16 #include "des.h"
17 #include "dh.h"
18 #include "dsa.h"
19 #include "ec2n.h"
20 #include "eccrypto.h"
21 #include "ecp.h"
22 #include "files.h"
23 #include "fips140.h"
24 #include "gcm.h"
25 #include "hex.h"
26 #include "hmac.h"
27 #include "modes.h"
28 #include "mqueue.h"
29 #include "nbtheory.h"
30 #include "osrng.h"
31 #include "pkcspad.h"
32 #include "pssr.h"
33 #include "randpool.h"
34 #include "rsa.h"
35 #include "rw.h"
36 #include "sha.h"
37 #include "skipjack.h"
38 #include "trdlocal.h"
39 
40 #ifdef CRYPTOPP_IMPORTS
41 
42 #ifdef _DLL
43 // cause CRT DLL to be initialized before Crypto++ so that we can use malloc and free during DllMain()
44 #ifdef NDEBUG
45 #pragma comment(lib, "msvcrt")
46 #else
47 #pragma comment(lib, "msvcrtd")
48 #endif
49 #endif
50 
51 #pragma comment(lib, "cryptopp")
52 
53 #endif // #ifdef CRYPTOPP_IMPORTS
54 
55 #include <new> // for new_handler
56 
57 NAMESPACE_BEGIN(CryptoPP)
58 
59 #if !(defined(_MSC_VER) && (_MSC_VER < 1300))
60 using std::new_handler;
61 #endif
62 
63 typedef void * (CRYPTOPP_API * PNew)(size_t);
64 typedef void (CRYPTOPP_API * PDelete)(void *);
65 typedef void (CRYPTOPP_API * PGetNewAndDelete)(PNew &, PDelete &);
66 typedef new_handler (CRYPTOPP_API * PSetNewHandler)(new_handler);
67 typedef void (CRYPTOPP_API * PSetNewAndDelete)(PNew, PDelete, PSetNewHandler);
68 
69 NAMESPACE_END
70 
71 #endif
This file contains classes that implement the Rabin-Williams signature schemes as defined in IEEE P13...
This file contains classes that implement the RSA ciphers and signature schemes as defined in PKCS #1...