21#ifndef CRYPTOPP_CONFIG_MISC_H
22#define CRYPTOPP_CONFIG_MISC_H
31#if !defined(CRYPTOPP_LITTLE_ENDIAN) && !defined(CRYPTOPP_BIG_ENDIAN) && (defined(__BIG_ENDIAN__) || (defined(__s390__) || defined(__s390x__) || defined(__zarch__)) || (defined(__m68k__) || defined(__MC68K__)) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__MIPSEB__) || defined(__ARMEB__) || (defined(__MWERKS__) && !defined(__INTEL__)))
32# define CRYPTOPP_BIG_ENDIAN 1
37#if !defined(CRYPTOPP_BIG_ENDIAN) && !defined(CRYPTOPP_LITTLE_ENDIAN)
38# define CRYPTOPP_LITTLE_ENDIAN 1
46#ifndef CRYPTOPP_DATA_DIR
47# define CRYPTOPP_DATA_DIR ""
69#define CRYPTOPP_SLOW_ARMV8_SHIFT 1
79#if (defined(DEBUG) || defined(_DEBUG)) || (defined(NDK_DEBUG) && (NDK_DEBUG > 0))
81# define CRYPTOPP_DEBUG 1
86#if !defined(GZIP_OS_CODE)
87# if defined(__macintosh__)
88# define GZIP_OS_CODE 7
89# elif defined(__unix__) || defined(__linux__)
90# define GZIP_OS_CODE 3
92# define GZIP_OS_CODE 0
121#if (CRYPTOPP_GCC_VERSION >= 40600) || (CRYPTOPP_LLVM_CLANG_VERSION >= 10700) || \
122 (CRYPTOPP_APPLE_CLANG_VERSION >= 20000)
123 #define CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE 1
128#ifndef CRYPTOPP_UNUSED
129 #define CRYPTOPP_UNUSED(x) ((void)(x))
134# define CRYPTOPP_NOINLINE_DOTDOTDOT
135# define CRYPTOPP_NOINLINE __declspec(noinline)
136#elif defined(__xlc__) || defined(__xlC__) || defined(__ibmxl__)
137# define CRYPTOPP_NOINLINE_DOTDOTDOT ...
138# define CRYPTOPP_NOINLINE __attribute__((noinline))
139#elif defined(__GNUC__)
140# define CRYPTOPP_NOINLINE_DOTDOTDOT
141# define CRYPTOPP_NOINLINE __attribute__((noinline))
143# define CRYPTOPP_NOINLINE_DOTDOTDOT ...
144# define CRYPTOPP_NOINLINE
148#if defined(CRYPTOPP_CXX11_CONSTEXPR)
149# define CRYPTOPP_STATIC_CONSTEXPR static constexpr
150# define CRYPTOPP_CONSTEXPR constexpr
152# define CRYPTOPP_STATIC_CONSTEXPR static
153# define CRYPTOPP_CONSTEXPR
156#if defined(CRYPTOPP_DOXYGEN_PROCESSING)
157# define CRYPTOPP_CONSTANT(x) static const int x
158#elif defined(CRYPTOPP_CXX11_STRONG_ENUM)
159# define CRYPTOPP_CONSTANT(x) enum : int { x }
160#elif defined(CRYPTOPP_CXX11_CONSTEXPR)
161# define CRYPTOPP_CONSTANT(x) constexpr static int x
163# define CRYPTOPP_CONSTANT(x) static const int x
172# pragma warning(disable: 4127 4512 4661 4910)
176# pragma warning(disable: 5054)
180# pragma warning(once: 4191 4242 4263 4264 4266 4302 4826 4905 4906 4928)
189#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
190# pragma GCC diagnostic ignored "-Wunknown-pragmas"
191# pragma GCC diagnostic ignored "-Wunused-function"
Library configuration file.
Library configuration file.
Library configuration file.
Library configuration file.