6 #ifndef CRYPTOPP_CONFIG_H 7 #define CRYPTOPP_CONFIG_H 12 #if !defined(IS_LITTLE_ENDIAN) && (defined(__BIG_ENDIAN__) || (defined(__s390__) || defined(__s390x__) || defined(__zarch__)) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__MIPSEB__) || defined(__ARMEB__) || (defined(__MWERKS__) && !defined(__INTEL__))) 13 # define IS_BIG_ENDIAN 19 # define IS_LITTLE_ENDIAN 24 #if defined(IS_BIG_ENDIAN) && defined(__GNUC__) && defined(__BYTE_ORDER__) && (__BYTE_ORDER__ != __ORDER_BIG_ENDIAN__) 25 # error "IS_BIG_ENDIAN is set, but __BYTE_ORDER__ does not equal __ORDER_BIG_ENDIAN__" 27 #if defined(IS_LITTLE_ENDIAN) && defined(__GNUC__) && defined(__BYTE_ORDER__) && (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__) 28 # error "IS_LITTLE_ENDIAN is set, but __BYTE_ORDER__ does not equal __ORDER_LITTLE_ENDIAN__" 38 #define USE_MS_CRYPTOAPI 42 #ifndef CRYPTOPP_NO_UNALIGNED_DATA_ACCESS 49 #define CRYPTOPP_VERSION 563 56 #if (CRYPTOPP_VERSION <= 600) 57 # if !defined(CRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562) && !defined(CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562) 58 # define CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562 69 #if !defined(GZIP_OS_CODE) 70 # define GZIP_OS_CODE 0 83 #if !defined(NO_BERKELEY_STYLE_SOCKETS) && !defined(PREFER_BERKELEY_STYLE_SOCKETS) 84 # define PREFER_BERKELEY_STYLE_SOCKETS 92 #define CRYPTOPP_RIJNDAEL_NAME "AES" 103 #if defined(CRYPTOPP_INIT_PRIORITY) && (CRYPTOPP_INIT_PRIORITY > 0) 104 # define CRYPTOPP_USER_PRIORITY (CRYPTOPP_INIT_PRIORITY + 101) 106 # define CRYPTOPP_USER_PRIORITY 250 114 # error namespace support is now required 120 #define WORKAROUND_MS_BUG_Q258000 122 #ifdef CRYPTOPP_DOXYGEN_PROCESSING 134 # define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 138 # define NAMESPACE_BEGIN(x) 139 # define NAMESPACE_END 141 # define DOCUMENTED_TYPEDEF(x, y) class y : public x {}; 143 # define protected private 145 # define NAMESPACE_BEGIN(x) namespace x { 146 # define NAMESPACE_END } 147 # define DOCUMENTED_TYPEDEF(x, y) typedef x y; 149 #define ANONYMOUS_NAMESPACE_BEGIN namespace { 150 #define ANONYMOUS_NAMESPACE_END } 151 #define USING_NAMESPACE(x) using namespace x; 152 #define DOCUMENTED_NAMESPACE_BEGIN(x) namespace x { 153 #define DOCUMENTED_NAMESPACE_END } 159 #ifndef TYPE_OF_SOCKLEN_T 160 # if defined(_WIN32) || defined(__CYGWIN__) 161 # define TYPE_OF_SOCKLEN_T int 163 # define TYPE_OF_SOCKLEN_T ::socklen_t 167 #if defined(__CYGWIN__) && defined(PREFER_WINDOWS_STYLE_SOCKETS) 168 # define __USE_W32_SOCKETS 171 typedef unsigned char byte;
175 typedef unsigned short word16;
176 typedef unsigned int word32;
178 #if defined(_MSC_VER) || defined(__BORLANDC__) 179 typedef unsigned __int64 word64;
180 #define W64LIT(x) x##ui64 182 typedef unsigned long long word64;
183 #define W64LIT(x) x##ULL 187 typedef word64 lword;
188 const lword LWORD_MAX = W64LIT(0xffffffffffffffff);
191 #define CRYPTOPP_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) 195 #if defined(__clang__ ) && !defined(__apple_build_version__) 196 #define CRYPTOPP_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__) 197 #elif defined(__clang__ ) && defined(__apple_build_version__) 198 #define CRYPTOPP_APPLE_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__) 202 #define CRYPTOPP_MSC_VERSION (_MSC_VER) 206 #if (CRYPTOPP_GCC_VERSION >= 40600) || (CRYPTOPP_CLANG_VERSION >= 10700) || (CRYPTOPP_APPLE_CLANG_VERSION >= 20000) 207 #define CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE 1 212 #if (defined(CRYPTOPP_CLANG_VERSION) && CRYPTOPP_CLANG_VERSION <= 200000) || (defined(CRYPTOPP_APPLE_CLANG_VERSION) && CRYPTOPP_APPLE_CLANG_VERSION <= 200000) 213 #define CRYPTOPP_DISABLE_INTEL_ASM 1 218 #if (defined(_MSC_VER) && (!defined(__INTEL_COMPILER) || __INTEL_COMPILER >= 1000) && (defined(_M_X64) || defined(_M_IA64))) || (defined(__DECCXX) && defined(__alpha__)) || (defined(__INTEL_COMPILER) && (__INTEL_COMPILER < 1000) && defined(__x86_64__)) || (defined(__SUNPRO_CC) && defined(__x86_64__)) 219 typedef word32 hword;
222 #define CRYPTOPP_NATIVE_DWORD_AVAILABLE 223 #if defined(__alpha__) || defined(__ia64__) || defined(_ARCH_PPC64) || defined(__x86_64__) || defined(__mips64) || defined(__sparc64__) 224 #if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !(CRYPTOPP_GCC_VERSION == 40001 && defined(__APPLE__)) && (CRYPTOPP_GCC_VERSION >= 30400) 227 #define CRYPTOPP_WORD128_AVAILABLE 228 typedef word32 hword;
230 typedef __uint128_t dword;
231 typedef __uint128_t word128;
232 #elif defined(__GNUC__) && (__SIZEOF_INT128__ >= 16) 234 #define CRYPTOPP_WORD128_AVAILABLE 235 typedef word32 hword;
237 typedef __uint128_t dword;
238 typedef __uint128_t word128;
241 typedef word16 hword;
243 typedef word64 dword;
245 #elif defined(__GNUC__) && (__SIZEOF_INT128__ >= 16) 247 #define CRYPTOPP_WORD128_AVAILABLE 248 typedef word32 hword;
250 typedef __uint128_t dword;
251 typedef __uint128_t word128;
254 #define CRYPTOPP_BOOL_SLOW_WORD64 1 255 typedef word16 hword;
257 typedef word64 dword;
260 #ifndef CRYPTOPP_BOOL_SLOW_WORD64 261 #define CRYPTOPP_BOOL_SLOW_WORD64 0 265 #if (__SIZEOF_INT128__ >= 16) && !defined(CRYPTOPP_WORD128_AVAILABLE) && !defined(__aarch64__) 266 # error "An int128_t and uint128_t are available, but CRYPTOPP_WORD128_AVAILABLE is not defined" 269 const unsigned int WORD_SIZE =
sizeof(word);
270 const unsigned int WORD_BITS = WORD_SIZE * 8;
274 #ifndef CRYPTOPP_L1_CACHE_LINE_SIZE 277 #if defined(_M_X64) || defined(__x86_64__) || (__ILP32__ >= 1) 278 #define CRYPTOPP_L1_CACHE_LINE_SIZE 64 281 #define CRYPTOPP_L1_CACHE_LINE_SIZE 32 285 #if defined(_MSC_VER) 289 #if _MSC_VER > 1200 || defined(_mm_free) 290 #define CRYPTOPP_MSVC6PP_OR_LATER // VC 6 processor pack or later 292 #define CRYPTOPP_MSVC6_NO_PP // VC 6 without processor pack 296 #ifndef CRYPTOPP_ALIGN_DATA 297 #if defined(CRYPTOPP_MSVC6PP_OR_LATER) 298 #define CRYPTOPP_ALIGN_DATA(x) __declspec(align(x)) 299 #elif defined(__GNUC__) 300 #define CRYPTOPP_ALIGN_DATA(x) __attribute__((aligned(x))) 302 #define CRYPTOPP_ALIGN_DATA(x) 306 #ifndef CRYPTOPP_SECTION_ALIGN16 307 #if defined(__GNUC__) && !defined(__APPLE__) 309 #define CRYPTOPP_SECTION_ALIGN16 __attribute__((section ("CryptoPP_Align16"))) 311 #define CRYPTOPP_SECTION_ALIGN16 315 #if defined(_MSC_VER) || defined(__fastcall) 316 #define CRYPTOPP_FASTCALL __fastcall 318 #define CRYPTOPP_FASTCALL 322 #if defined(_MSC_VER) && (_MSC_VER < 1300) 325 #define CPP_TYPENAME typename 329 #if defined(_MSC_VER) && !defined(CRYPTOPP_MSVC6PP_OR_LATER) 330 #define CRYPTOPP_VC6_INT64 (__int64) 332 #define CRYPTOPP_VC6_INT64 336 #define CRYPTOPP_NO_VTABLE __declspec(novtable) 338 #define CRYPTOPP_NO_VTABLE 354 # pragma warning(disable: 4127 4231 4250 4251 4275 4505 4512 4660 4661 4786 4355 4910) 357 # pragma warning(once: 4191 4242 4263 4264 4266 4302 4826 4905 4906 4928) 366 #if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE 367 # pragma GCC diagnostic ignored "-Wunknown-pragmas" 368 # pragma GCC diagnostic ignored "-Wunused-function" 371 #if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__MWERKS__) || defined(_STLPORT_VERSION) 372 #define CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION 375 #ifndef CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION 376 #define CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE 379 #ifdef CRYPTOPP_DISABLE_X86ASM // for backwards compatibility: this macro had both meanings 380 #define CRYPTOPP_DISABLE_ASM 381 #define CRYPTOPP_DISABLE_SSE2 385 #if defined(CRYPTOPP_APPLE_CLANG_VERSION) && (CRYPTOPP_APPLE_CLANG_VERSION < 50000) 386 # define CRYPTOPP_DISABLE_ASM 389 #if !defined(CRYPTOPP_DISABLE_ASM) && ((defined(_MSC_VER) && defined(_M_IX86)) || (defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)))) 391 #define CRYPTOPP_X86_ASM_AVAILABLE 393 #if !defined(CRYPTOPP_DISABLE_SSE2) && (defined(CRYPTOPP_MSVC6PP_OR_LATER) || CRYPTOPP_GCC_VERSION >= 30300 || defined(__SSE2__)) 394 #define CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE 1 396 #define CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE 0 402 #if !defined(CRYPTOPP_DISABLE_SSSE3) && (_MSC_VER >= 1400 || CRYPTOPP_GCC_VERSION >= 40102 || defined(__SSSE3__) || defined(__SSE3__)) 403 #define CRYPTOPP_BOOL_SSSE3_ASM_AVAILABLE 1 405 #define CRYPTOPP_BOOL_SSSE3_ASM_AVAILABLE 0 409 #if !defined(CRYPTOPP_DISABLE_ASM) && defined(_MSC_VER) && defined(_M_X64) 410 #define CRYPTOPP_X64_MASM_AVAILABLE 413 #if !defined(CRYPTOPP_DISABLE_ASM) && defined(__GNUC__) && defined(__x86_64__) 414 #define CRYPTOPP_X64_ASM_AVAILABLE 417 #if !defined(CRYPTOPP_DISABLE_SSE2) && (defined(CRYPTOPP_MSVC6PP_OR_LATER) || defined(__SSE2__)) 418 #define CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE 1 420 #define CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE 0 423 #if !defined(CRYPTOPP_DISABLE_SSSE3) && !defined(CRYPTOPP_DISABLE_AESNI) && CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE && (CRYPTOPP_GCC_VERSION >= 40400 || _MSC_FULL_VER >= 150030729 || __INTEL_COMPILER >= 1110 || defined(__AES__)) 424 #define CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE 1 426 #define CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE 0 429 #if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE || CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE || defined(CRYPTOPP_X64_MASM_AVAILABLE) 430 #define CRYPTOPP_BOOL_ALIGN16 1 432 #define CRYPTOPP_BOOL_ALIGN16 0 436 #if defined(CRYPTOPP_MSVC6PP_OR_LATER) 437 #define CRYPTOPP_MM_MALLOC_AVAILABLE 438 #elif defined(__APPLE__) 439 #define CRYPTOPP_APPLE_MALLOC_AVAILABLE 440 #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) 441 #define CRYPTOPP_MALLOC_ALIGNMENT_IS_16 442 #elif defined(__linux__) || defined(__sun__) || defined(__CYGWIN__) 443 #define CRYPTOPP_MEMALIGN_AVAILABLE 445 #define CRYPTOPP_NO_ALIGNED_ALLOC 452 #if defined(_MSC_VER) && _MSC_VER >= 1300 453 # define CRYPTOPP_NOINLINE_DOTDOTDOT 454 # define CRYPTOPP_NOINLINE __declspec(noinline) 455 #elif defined(__GNUC__) 456 # define CRYPTOPP_NOINLINE_DOTDOTDOT 457 # define CRYPTOPP_NOINLINE __attribute__((noinline)) 459 # define CRYPTOPP_NOINLINE_DOTDOTDOT ... 460 # define CRYPTOPP_NOINLINE 464 #if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__INTEL_COMPILER) 465 # define CRYPTOPP_CONSTANT(x) enum {x}; 467 # define CRYPTOPP_CONSTANT(x) static const int x; 472 #if ((__ILP32__ >= 1) || (_ILP32 >= 1)) 473 #define CRYPTOPP_BOOL_X32 1 475 #define CRYPTOPP_BOOL_X32 0 479 #if (defined(_M_IX86) || defined(__i386__) || defined(__i386) || defined(_X86_) || defined(__I86__) || defined(__INTEL__)) && !CRYPTOPP_BOOL_X32 480 #define CRYPTOPP_BOOL_X86 1 482 #define CRYPTOPP_BOOL_X86 0 485 #if (defined(_M_X64) || defined(__x86_64__)) && !CRYPTOPP_BOOL_X32 486 #define CRYPTOPP_BOOL_X64 1 488 #define CRYPTOPP_BOOL_X64 0 492 #if CRYPTOPP_BOOL_X32 493 # undef CRYPTOPP_BOOL_X64 494 # undef CRYPTOPP_X64_ASM_AVAILABLE 495 # undef CRYPTOPP_X64_MASM_AVAILABLE 498 #if !defined(CRYPTOPP_NO_UNALIGNED_DATA_ACCESS) && !defined(CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS) 499 #if (CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || defined(__powerpc__) || (__ARM_FEATURE_UNALIGNED >= 1)) 500 #define CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS 506 #ifndef NO_OS_DEPENDENCE 508 #if defined(_WIN32) || defined(__CYGWIN__) 509 #define CRYPTOPP_WIN32_AVAILABLE 512 #if defined(__unix__) || defined(__MACH__) || defined(__NetBSD__) || defined(__sun) 513 #define CRYPTOPP_UNIX_AVAILABLE 516 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) 517 #define CRYPTOPP_BSD_AVAILABLE 520 #if defined(CRYPTOPP_WIN32_AVAILABLE) || defined(CRYPTOPP_UNIX_AVAILABLE) 521 # define HIGHRES_TIMER_AVAILABLE 524 #ifdef CRYPTOPP_UNIX_AVAILABLE 525 # define HAS_BERKELEY_STYLE_SOCKETS 528 #ifdef CRYPTOPP_WIN32_AVAILABLE 529 # define HAS_WINDOWS_STYLE_SOCKETS 532 #if defined(HIGHRES_TIMER_AVAILABLE) && (defined(HAS_BERKELEY_STYLE_SOCKETS) || defined(HAS_WINDOWS_STYLE_SOCKETS)) 533 # define SOCKETS_AVAILABLE 536 #if defined(HAS_WINDOWS_STYLE_SOCKETS) && (!defined(HAS_BERKELEY_STYLE_SOCKETS) || defined(PREFER_WINDOWS_STYLE_SOCKETS)) 537 # define USE_WINDOWS_STYLE_SOCKETS 539 # define USE_BERKELEY_STYLE_SOCKETS 542 #if defined(HIGHRES_TIMER_AVAILABLE) && defined(CRYPTOPP_WIN32_AVAILABLE) && !defined(USE_BERKELEY_STYLE_SOCKETS) 543 # define WINDOWS_PIPES_AVAILABLE 546 #if defined(CRYPTOPP_WIN32_AVAILABLE) && defined(USE_MS_CRYPTOAPI) 547 # define NONBLOCKING_RNG_AVAILABLE 548 # define OS_RNG_AVAILABLE 551 #if defined(CRYPTOPP_UNIX_AVAILABLE) || defined(CRYPTOPP_DOXYGEN_PROCESSING) 552 # define NONBLOCKING_RNG_AVAILABLE 553 # define BLOCKING_RNG_AVAILABLE 554 # define OS_RNG_AVAILABLE 555 # define HAS_PTHREADS 556 # define THREADS_AVAILABLE 559 #ifdef CRYPTOPP_WIN32_AVAILABLE 560 # define HAS_WINTHREADS 561 # define THREADS_AVAILABLE 564 #endif // NO_OS_DEPENDENCE 568 #if defined(CRYPTOPP_WIN32_AVAILABLE) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) 570 #ifdef CRYPTOPP_EXPORTS 571 #define CRYPTOPP_IS_DLL 572 #define CRYPTOPP_DLL __declspec(dllexport) 573 #elif defined(CRYPTOPP_IMPORTS) 574 #define CRYPTOPP_IS_DLL 575 #define CRYPTOPP_DLL __declspec(dllimport) 580 #define CRYPTOPP_API __cdecl 582 #else // not CRYPTOPP_WIN32_AVAILABLE 587 #endif // CRYPTOPP_WIN32_AVAILABLE 589 #if defined(__MWERKS__) 590 #define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS extern class CRYPTOPP_DLL 591 #elif defined(__BORLANDC__) || defined(__SUNPRO_CC) 592 #define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS template class CRYPTOPP_DLL 594 #define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS extern template class CRYPTOPP_DLL 597 #if defined(CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES) && !defined(CRYPTOPP_IMPORTS) 598 #define CRYPTOPP_DLL_TEMPLATE_CLASS template class CRYPTOPP_DLL 600 #define CRYPTOPP_DLL_TEMPLATE_CLASS CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS 603 #if defined(__MWERKS__) 604 #define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS extern class 605 #elif defined(__BORLANDC__) || defined(__SUNPRO_CC) 606 #define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS template class 608 #define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS extern template class 611 #if defined(CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES) && !defined(CRYPTOPP_EXPORTS) 612 #define CRYPTOPP_STATIC_TEMPLATE_CLASS template class 614 #define CRYPTOPP_STATIC_TEMPLATE_CLASS CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS 621 #define CRYPTOPP_UNUSED(x) ((void)x) 629 #if (_MSC_VER >= 1600) || (__cplusplus >= 201103L) 630 # define CRYPTOPP_CXX11 1 638 #if defined(__APPLE__) && defined(__clang__) 639 # if !(defined(__has_include) && __has_include(<forward_list>)) 640 # undef CRYPTOPP_CXX11 645 #if defined(CRYPTOPP_CXX11) 648 #if (CRYPTOPP_MSC_VERSION >= 1900) 649 # define CRYPTOPP_CXX11_ALIGNAS 1 650 # define CRYPTOPP_CXX11_ALIGNOF 1 651 #elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500) 652 # define CRYPTOPP_CXX11_ALIGNAS 1 653 # define CRYPTOPP_CXX11_ALIGNOF 1 654 #elif defined(__clang__) 655 # if __has_feature(cxx_alignof) 656 # define CRYPTOPP_CXX11_ALIGNAS 1 657 # define CRYPTOPP_CXX11_ALIGNOF 1 659 #elif (CRYPTOPP_GCC_VERSION >= 40800) 660 # define CRYPTOPP_CXX11_ALIGNAS 1 661 # define CRYPTOPP_CXX11_ALIGNOF 1 662 #endif // alignof/alignas 665 #if (CRYPTOPP_MSC_VERSION >= 1900) 666 # define CRYPTOPP_CXX11_NOEXCEPT 1 667 #elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1400) 668 # define CRYPTOPP_CXX11_NOEXCEPT 1 669 #elif defined(__clang__) 670 # if __has_feature(cxx_noexcept) 671 # define CRYPTOPP_CXX11_NOEXCEPT 1 673 #elif (CRYPTOPP_GCC_VERSION >= 40600) 674 # define CRYPTOPP_CXX11_NOEXCEPT 1 675 #endif // noexcept compilers 678 #if (CRYPTOPP_MSC_VERSION >= 1800) 679 # define CRYPTOPP_CXX11_VARIADIC_TEMPLATES 1 680 #elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1210) 681 # define CRYPTOPP_CXX11_VARIADIC_TEMPLATES 1 682 #elif defined(__clang__) 683 # if __has_feature(cxx_variadic_templates) 684 # define CRYPTOPP_CXX11_VARIADIC_TEMPLATES 1 686 #elif (CRYPTOPP_GCC_VERSION >= 40300) 687 # define CRYPTOPP_CXX11_VARIADIC_TEMPLATES 1 688 #endif // variadic templates 693 #endif // CRYPTOPP_CXX11 695 #if defined(CRYPTOPP_CXX11_NOEXCEPT) 696 # define CRYPTOPP_THROW noexcept(false) 697 # define CRYPTOPP_NO_THROW noexcept(true) 699 # define CRYPTOPP_THROW 700 # define CRYPTOPP_NO_THROW 701 #endif // CRYPTOPP_CXX11_NOEXCEPT 704 #if (defined(__cplusplus) && (__cplusplus >= 199711L)) && !defined(CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE) 705 # error "std::uncaught_exception is not available. This is likely a configuration error." Crypto++ library namespace.