7 #ifndef CRYPTOPP_CONFIG_H 8 #define CRYPTOPP_CONFIG_H 13 #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__))) 14 # define IS_BIG_ENDIAN 20 # define IS_LITTLE_ENDIAN 25 #if defined(IS_BIG_ENDIAN) && defined(__GNUC__) && defined(__BYTE_ORDER__) && (__BYTE_ORDER__ != __ORDER_BIG_ENDIAN__) 26 # error "IS_BIG_ENDIAN is set, but __BYTE_ORDER__ does not equal __ORDER_BIG_ENDIAN__" 28 #if defined(IS_LITTLE_ENDIAN) && defined(__GNUC__) && defined(__BYTE_ORDER__) && (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__) 29 # error "IS_LITTLE_ENDIAN is set, but __BYTE_ORDER__ does not equal __ORDER_LITTLE_ENDIAN__" 39 #define USE_MS_CRYPTOAPI 43 #ifndef CRYPTOPP_NO_UNALIGNED_DATA_ACCESS 50 #define CRYPTOPP_VERSION 563 57 #if (CRYPTOPP_VERSION <= 600) 58 # if !defined(CRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562) && !defined(CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562) 59 # define CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562 70 #if !defined(GZIP_OS_CODE) 71 # define GZIP_OS_CODE 0 84 #if !defined(NO_BERKELEY_STYLE_SOCKETS) && !defined(PREFER_BERKELEY_STYLE_SOCKETS) 85 # define PREFER_BERKELEY_STYLE_SOCKETS 93 #define CRYPTOPP_RIJNDAEL_NAME "AES" 104 #if defined(CRYPTOPP_INIT_PRIORITY) && (CRYPTOPP_INIT_PRIORITY > 0) 105 # define CRYPTOPP_USER_PRIORITY (CRYPTOPP_INIT_PRIORITY + 101) 107 # define CRYPTOPP_USER_PRIORITY 250 115 # error namespace support is now required 121 #define WORKAROUND_MS_BUG_Q258000 123 #ifdef CRYPTOPP_DOXYGEN_PROCESSING 135 # define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 139 # define NAMESPACE_BEGIN(x) 140 # define NAMESPACE_END 142 # define DOCUMENTED_TYPEDEF(x, y) class y : public x {}; 144 # define protected private 146 # define NAMESPACE_BEGIN(x) namespace x { 147 # define NAMESPACE_END } 148 # define DOCUMENTED_TYPEDEF(x, y) typedef x y; 150 #define ANONYMOUS_NAMESPACE_BEGIN namespace { 151 #define ANONYMOUS_NAMESPACE_END } 152 #define USING_NAMESPACE(x) using namespace x; 153 #define DOCUMENTED_NAMESPACE_BEGIN(x) namespace x { 154 #define DOCUMENTED_NAMESPACE_END } 160 #ifndef TYPE_OF_SOCKLEN_T 161 # if defined(_WIN32) || defined(__CYGWIN__) 162 # define TYPE_OF_SOCKLEN_T int 164 # define TYPE_OF_SOCKLEN_T ::socklen_t 168 #if defined(__CYGWIN__) && defined(PREFER_WINDOWS_STYLE_SOCKETS) 169 # define __USE_W32_SOCKETS 172 typedef unsigned char byte;
176 typedef
unsigned short word16;
177 typedef
unsigned int word32;
179 #if defined(_MSC_VER) || defined(__BORLANDC__) 180 typedef unsigned __int64 word64;
181 #define W64LIT(x) x##ui64 183 typedef unsigned long long word64;
184 #define W64LIT(x) x##ULL 188 typedef word64 lword;
189 const lword LWORD_MAX = W64LIT(0xffffffffffffffff);
192 #define CRYPTOPP_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) 196 #if defined(__clang__ ) && !defined(__apple_build_version__) 197 #define CRYPTOPP_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__) 198 #elif defined(__clang__ ) && defined(__apple_build_version__) 199 #define CRYPTOPP_APPLE_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__) 203 #define CRYPTOPP_MSC_VERSION (_MSC_VER) 207 #if (CRYPTOPP_GCC_VERSION >= 40600) || (CRYPTOPP_CLANG_VERSION >= 10700) || (CRYPTOPP_APPLE_CLANG_VERSION >= 20000) 208 #define CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE 1 213 #if (defined(CRYPTOPP_CLANG_VERSION) && CRYPTOPP_CLANG_VERSION <= 200000) || (defined(CRYPTOPP_APPLE_CLANG_VERSION) && CRYPTOPP_APPLE_CLANG_VERSION <= 200000) 214 #define CRYPTOPP_DISABLE_INTEL_ASM 1 219 #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__)) 220 typedef word32 hword;
223 #define CRYPTOPP_NATIVE_DWORD_AVAILABLE 224 #if defined(__alpha__) || defined(__ia64__) || defined(_ARCH_PPC64) || defined(__x86_64__) || defined(__mips64) || defined(__sparc64__) 225 #if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !(CRYPTOPP_GCC_VERSION == 40001 && defined(__APPLE__)) && (CRYPTOPP_GCC_VERSION >= 30400) 228 #define CRYPTOPP_WORD128_AVAILABLE 229 typedef word32 hword;
231 typedef __uint128_t dword;
232 typedef __uint128_t word128;
233 #elif defined(__GNUC__) && (__SIZEOF_INT128__ >= 16) 235 #define CRYPTOPP_WORD128_AVAILABLE 236 typedef word32 hword;
238 typedef __uint128_t dword;
239 typedef __uint128_t word128;
242 typedef word16 hword;
244 typedef word64 dword;
246 #elif defined(__GNUC__) && (__SIZEOF_INT128__ >= 16) 248 #define CRYPTOPP_WORD128_AVAILABLE 249 typedef word32 hword;
251 typedef __uint128_t dword;
252 typedef __uint128_t word128;
255 #define CRYPTOPP_BOOL_SLOW_WORD64 1 256 typedef word16 hword;
258 typedef word64 dword;
261 #ifndef CRYPTOPP_BOOL_SLOW_WORD64 262 #define CRYPTOPP_BOOL_SLOW_WORD64 0 266 #if (__SIZEOF_INT128__ >= 16) && !defined(CRYPTOPP_WORD128_AVAILABLE) && !defined(__aarch64__) 267 # error "An int128_t and uint128_t are available, but CRYPTOPP_WORD128_AVAILABLE is not defined" 270 const unsigned int WORD_SIZE =
sizeof(word);
271 const unsigned int WORD_BITS = WORD_SIZE * 8;
275 #ifndef CRYPTOPP_L1_CACHE_LINE_SIZE 278 #if defined(_M_X64) || defined(__x86_64__) || (__ILP32__ >= 1) 279 #define CRYPTOPP_L1_CACHE_LINE_SIZE 64 282 #define CRYPTOPP_L1_CACHE_LINE_SIZE 32 286 #if defined(_MSC_VER) 290 #if _MSC_VER > 1200 || defined(_mm_free) 291 #define CRYPTOPP_MSVC6PP_OR_LATER // VC 6 processor pack or later 293 #define CRYPTOPP_MSVC6_NO_PP // VC 6 without processor pack 297 #ifndef CRYPTOPP_ALIGN_DATA 298 #if defined(CRYPTOPP_MSVC6PP_OR_LATER) 299 #define CRYPTOPP_ALIGN_DATA(x) __declspec(align(x)) 300 #elif defined(__GNUC__) 301 #define CRYPTOPP_ALIGN_DATA(x) __attribute__((aligned(x))) 303 #define CRYPTOPP_ALIGN_DATA(x) 307 #ifndef CRYPTOPP_SECTION_ALIGN16 308 #if defined(__GNUC__) && !defined(__APPLE__) 310 #define CRYPTOPP_SECTION_ALIGN16 __attribute__((section ("CryptoPP_Align16"))) 312 #define CRYPTOPP_SECTION_ALIGN16 316 #if defined(_MSC_VER) || defined(__fastcall) 317 #define CRYPTOPP_FASTCALL __fastcall 319 #define CRYPTOPP_FASTCALL 323 #if defined(_MSC_VER) && (_MSC_VER < 1300) 326 #define CPP_TYPENAME typename 330 #if defined(_MSC_VER) && !defined(CRYPTOPP_MSVC6PP_OR_LATER) 331 #define CRYPTOPP_VC6_INT64 (__int64) 333 #define CRYPTOPP_VC6_INT64 337 #define CRYPTOPP_NO_VTABLE __declspec(novtable) 339 #define CRYPTOPP_NO_VTABLE 355 # pragma warning(disable: 4127 4231 4250 4251 4275 4505 4512 4660 4661 4786 4355 4910) 358 # pragma warning(once: 4191 4242 4263 4264 4266 4302 4826 4905 4906 4928) 367 #if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE 368 # pragma GCC diagnostic ignored "-Wunknown-pragmas" 369 # pragma GCC diagnostic ignored "-Wunused-function" 372 #if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__MWERKS__) || defined(_STLPORT_VERSION) 373 #define CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION 376 #ifndef CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION 377 #define CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE 380 #ifdef CRYPTOPP_DISABLE_X86ASM // for backwards compatibility: this macro had both meanings 381 #define CRYPTOPP_DISABLE_ASM 382 #define CRYPTOPP_DISABLE_SSE2 386 #if defined(CRYPTOPP_APPLE_CLANG_VERSION) && (CRYPTOPP_APPLE_CLANG_VERSION < 50000) 387 # define CRYPTOPP_DISABLE_ASM 390 #if !defined(CRYPTOPP_DISABLE_ASM) && ((defined(_MSC_VER) && defined(_M_IX86)) || (defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)))) 392 #define CRYPTOPP_X86_ASM_AVAILABLE 394 #if !defined(CRYPTOPP_DISABLE_SSE2) && (defined(CRYPTOPP_MSVC6PP_OR_LATER) || CRYPTOPP_GCC_VERSION >= 30300 || defined(__SSE2__)) 395 #define CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE 1 397 #define CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE 0 403 #if !defined(CRYPTOPP_DISABLE_SSSE3) && (_MSC_VER >= 1400 || CRYPTOPP_GCC_VERSION >= 40102 || defined(__SSSE3__) || defined(__SSE3__)) 404 #define CRYPTOPP_BOOL_SSSE3_ASM_AVAILABLE 1 406 #define CRYPTOPP_BOOL_SSSE3_ASM_AVAILABLE 0 410 #if !defined(CRYPTOPP_DISABLE_ASM) && defined(_MSC_VER) && defined(_M_X64) 411 #define CRYPTOPP_X64_MASM_AVAILABLE 414 #if !defined(CRYPTOPP_DISABLE_ASM) && defined(__GNUC__) && defined(__x86_64__) 415 #define CRYPTOPP_X64_ASM_AVAILABLE 418 #if !defined(CRYPTOPP_DISABLE_SSE2) && (defined(CRYPTOPP_MSVC6PP_OR_LATER) || defined(__SSE2__)) 419 #define CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE 1 421 #define CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE 0 424 #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__)) 425 #define CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE 1 427 #define CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE 0 430 #if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE || CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE || defined(CRYPTOPP_X64_MASM_AVAILABLE) 431 #define CRYPTOPP_BOOL_ALIGN16 1 433 #define CRYPTOPP_BOOL_ALIGN16 0 437 #if defined(CRYPTOPP_MSVC6PP_OR_LATER) 438 #define CRYPTOPP_MM_MALLOC_AVAILABLE 439 #elif defined(__APPLE__) 440 #define CRYPTOPP_APPLE_MALLOC_AVAILABLE 441 #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) 442 #define CRYPTOPP_MALLOC_ALIGNMENT_IS_16 443 #elif defined(__linux__) || defined(__sun__) || defined(__CYGWIN__) 444 #define CRYPTOPP_MEMALIGN_AVAILABLE 446 #define CRYPTOPP_NO_ALIGNED_ALLOC 453 #if defined(_MSC_VER) && _MSC_VER >= 1300 454 # define CRYPTOPP_NOINLINE_DOTDOTDOT 455 # define CRYPTOPP_NOINLINE __declspec(noinline) 456 #elif defined(__GNUC__) 457 # define CRYPTOPP_NOINLINE_DOTDOTDOT 458 # define CRYPTOPP_NOINLINE __attribute__((noinline)) 460 # define CRYPTOPP_NOINLINE_DOTDOTDOT ... 461 # define CRYPTOPP_NOINLINE 465 #if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__INTEL_COMPILER) 466 # define CRYPTOPP_CONSTANT(x) enum {x}; 468 # define CRYPTOPP_CONSTANT(x) static const int x; 473 #if ((__ILP32__ >= 1) || (_ILP32 >= 1)) 474 #define CRYPTOPP_BOOL_X32 1 476 #define CRYPTOPP_BOOL_X32 0 480 #if (defined(_M_IX86) || defined(__i386__) || defined(__i386) || defined(_X86_) || defined(__I86__) || defined(__INTEL__)) && !CRYPTOPP_BOOL_X32 481 #define CRYPTOPP_BOOL_X86 1 483 #define CRYPTOPP_BOOL_X86 0 486 #if (defined(_M_X64) || defined(__x86_64__)) && !CRYPTOPP_BOOL_X32 487 #define CRYPTOPP_BOOL_X64 1 489 #define CRYPTOPP_BOOL_X64 0 493 #if CRYPTOPP_BOOL_X32 494 # undef CRYPTOPP_BOOL_X64 495 # undef CRYPTOPP_X64_ASM_AVAILABLE 496 # undef CRYPTOPP_X64_MASM_AVAILABLE 499 #if !defined(CRYPTOPP_NO_UNALIGNED_DATA_ACCESS) && !defined(CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS) 500 #if (CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || defined(__powerpc__) || (__ARM_FEATURE_UNALIGNED >= 1)) 501 #define CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS 507 #ifndef NO_OS_DEPENDENCE 509 #if defined(_WIN32) || defined(__CYGWIN__) 510 #define CRYPTOPP_WIN32_AVAILABLE 513 #if defined(__unix__) || defined(__MACH__) || defined(__NetBSD__) || defined(__sun) 514 #define CRYPTOPP_UNIX_AVAILABLE 517 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) 518 #define CRYPTOPP_BSD_AVAILABLE 521 #if defined(CRYPTOPP_WIN32_AVAILABLE) || defined(CRYPTOPP_UNIX_AVAILABLE) 522 # define HIGHRES_TIMER_AVAILABLE 525 #ifdef CRYPTOPP_UNIX_AVAILABLE 526 # define HAS_BERKELEY_STYLE_SOCKETS 529 #ifdef CRYPTOPP_WIN32_AVAILABLE 530 # define HAS_WINDOWS_STYLE_SOCKETS 533 #if defined(HIGHRES_TIMER_AVAILABLE) && (defined(HAS_BERKELEY_STYLE_SOCKETS) || defined(HAS_WINDOWS_STYLE_SOCKETS)) 534 # define SOCKETS_AVAILABLE 537 #if defined(HAS_WINDOWS_STYLE_SOCKETS) && (!defined(HAS_BERKELEY_STYLE_SOCKETS) || defined(PREFER_WINDOWS_STYLE_SOCKETS)) 538 # define USE_WINDOWS_STYLE_SOCKETS 540 # define USE_BERKELEY_STYLE_SOCKETS 543 #if defined(HIGHRES_TIMER_AVAILABLE) && defined(CRYPTOPP_WIN32_AVAILABLE) && !defined(USE_BERKELEY_STYLE_SOCKETS) 544 # define WINDOWS_PIPES_AVAILABLE 547 #if defined(CRYPTOPP_WIN32_AVAILABLE) && defined(USE_MS_CRYPTOAPI) 548 # define NONBLOCKING_RNG_AVAILABLE 549 # define OS_RNG_AVAILABLE 552 #if defined(CRYPTOPP_UNIX_AVAILABLE) || defined(CRYPTOPP_DOXYGEN_PROCESSING) 553 # define NONBLOCKING_RNG_AVAILABLE 554 # define BLOCKING_RNG_AVAILABLE 555 # define OS_RNG_AVAILABLE 556 # define HAS_PTHREADS 557 # define THREADS_AVAILABLE 560 #ifdef CRYPTOPP_WIN32_AVAILABLE 561 # define HAS_WINTHREADS 562 # define THREADS_AVAILABLE 565 #endif // NO_OS_DEPENDENCE 569 #if defined(CRYPTOPP_WIN32_AVAILABLE) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) 571 #ifdef CRYPTOPP_EXPORTS 572 #define CRYPTOPP_IS_DLL 573 #define CRYPTOPP_DLL __declspec(dllexport) 574 #elif defined(CRYPTOPP_IMPORTS) 575 #define CRYPTOPP_IS_DLL 576 #define CRYPTOPP_DLL __declspec(dllimport) 581 #define CRYPTOPP_API __cdecl 583 #else // not CRYPTOPP_WIN32_AVAILABLE 588 #endif // CRYPTOPP_WIN32_AVAILABLE 590 #if defined(__MWERKS__) 591 #define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS extern class CRYPTOPP_DLL 592 #elif defined(__BORLANDC__) || defined(__SUNPRO_CC) 593 #define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS template class CRYPTOPP_DLL 595 #define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS extern template class CRYPTOPP_DLL 598 #if defined(CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES) && !defined(CRYPTOPP_IMPORTS) 599 #define CRYPTOPP_DLL_TEMPLATE_CLASS template class CRYPTOPP_DLL 601 #define CRYPTOPP_DLL_TEMPLATE_CLASS CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS 604 #if defined(__MWERKS__) 605 #define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS extern class 606 #elif defined(__BORLANDC__) || defined(__SUNPRO_CC) 607 #define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS template class 609 #define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS extern template class 612 #if defined(CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES) && !defined(CRYPTOPP_EXPORTS) 613 #define CRYPTOPP_STATIC_TEMPLATE_CLASS template class 615 #define CRYPTOPP_STATIC_TEMPLATE_CLASS CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS 622 #define CRYPTOPP_UNUSED(x) ((void)x) 630 #if (_MSC_VER >= 1600) || (__cplusplus >= 201103L) 631 # define CRYPTOPP_CXX11 1 639 #if defined(__APPLE__) && defined(__clang__) 640 # if !(defined(__has_include) && __has_include(<forward_list>)) 641 # undef CRYPTOPP_CXX11 646 #if defined(CRYPTOPP_CXX11) 649 #if (CRYPTOPP_MSC_VERSION >= 1900) 650 # define CRYPTOPP_CXX11_ALIGNAS 1 651 # define CRYPTOPP_CXX11_ALIGNOF 1 652 #elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500) 653 # define CRYPTOPP_CXX11_ALIGNAS 1 654 # define CRYPTOPP_CXX11_ALIGNOF 1 655 #elif defined(__clang__) 656 # if __has_feature(cxx_alignof) 657 # define CRYPTOPP_CXX11_ALIGNAS 1 658 # define CRYPTOPP_CXX11_ALIGNOF 1 660 #elif (CRYPTOPP_GCC_VERSION >= 40800) 661 # define CRYPTOPP_CXX11_ALIGNAS 1 662 # define CRYPTOPP_CXX11_ALIGNOF 1 663 #endif // alignof/alignas 666 #if (CRYPTOPP_MSC_VERSION >= 1900) 667 # define CRYPTOPP_CXX11_NOEXCEPT 1 668 #elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1400) 669 # define CRYPTOPP_CXX11_NOEXCEPT 1 670 #elif defined(__clang__) 671 # if __has_feature(cxx_noexcept) 672 # define CRYPTOPP_CXX11_NOEXCEPT 1 674 #elif (CRYPTOPP_GCC_VERSION >= 40600) 675 # define CRYPTOPP_CXX11_NOEXCEPT 1 676 #endif // noexcept compilers 679 #if (CRYPTOPP_MSC_VERSION >= 1800) 680 # define CRYPTOPP_CXX11_VARIADIC_TEMPLATES 1 681 #elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1210) 682 # define CRYPTOPP_CXX11_VARIADIC_TEMPLATES 1 683 #elif defined(__clang__) 684 # if __has_feature(cxx_variadic_templates) 685 # define CRYPTOPP_CXX11_VARIADIC_TEMPLATES 1 687 #elif (CRYPTOPP_GCC_VERSION >= 40300) 688 # define CRYPTOPP_CXX11_VARIADIC_TEMPLATES 1 689 #endif // variadic templates 694 #endif // CRYPTOPP_CXX11 696 #if defined(CRYPTOPP_CXX11_NOEXCEPT) 697 # define CRYPTOPP_THROW noexcept(false) 698 # define CRYPTOPP_NO_THROW noexcept(true) 700 # define CRYPTOPP_THROW 701 # define CRYPTOPP_NO_THROW 702 #endif // CRYPTOPP_CXX11_NOEXCEPT 705 #if (defined(__cplusplus) && (__cplusplus >= 199711L)) && !defined(CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE) 706 # error "std::uncaught_exception is not available. This is likely a configuration error." Crypto++ library namespace.