diff options
author | --author=Satoshi Nakamoto <satoshin@gmx.com> | 2010-07-27 20:43:55 +0000 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2010-07-27 20:43:55 +0000 |
commit | 3dd20ff2f87958a440c9dceae8abe3967aa48fcf (patch) | |
tree | 5cf88b4e9ba89460a83488561d9fd23feaa87365 /cryptopp/stdcpp.h | |
parent | 9f35575ca34eb15b20d1d5374b56ac9d4c8cc2bf (diff) | |
download | bitcoin-3dd20ff2f87958a440c9dceae8abe3967aa48fcf.tar.xz |
added a subset of Crypto++ 5.6.0 with 48% faster ASM SHA-256, combined speedup 2.5x faster vs 0.3.3, thanks BlackEye for figuring out the alignment problem
Diffstat (limited to 'cryptopp/stdcpp.h')
-rw-r--r-- | cryptopp/stdcpp.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cryptopp/stdcpp.h b/cryptopp/stdcpp.h new file mode 100644 index 0000000000..9a468ab61e --- /dev/null +++ b/cryptopp/stdcpp.h @@ -0,0 +1,27 @@ +#ifndef CRYPTOPP_STDCPP_H +#define CRYPTOPP_STDCPP_H + +#include <stddef.h> +#include <assert.h> +#include <limits.h> +#include <memory> +#include <string> +#include <exception> +#include <typeinfo> + + +#ifdef _MSC_VER +#include <string.h> // CodeWarrior doesn't have memory.h +#include <algorithm> +#include <map> +#include <vector> + +// re-disable this +#pragma warning(disable: 4231) +#endif + +#if defined(_MSC_VER) && defined(_CRTAPI1) +#define CRYPTOPP_MSVCRT6 +#endif + +#endif |