Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.6 KiB

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