14724848cSchristos /* 24724848cSchristos * WARNING: do not edit! 34724848cSchristos * Generated by Makefile from include/openssl/opensslconf.h.in 44724848cSchristos * 54724848cSchristos * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. 64724848cSchristos * 74724848cSchristos * Licensed under the OpenSSL license (the "License"). You may not use 84724848cSchristos * this file except in compliance with the License. You can obtain a copy 94724848cSchristos * in the file LICENSE in the source distribution or at 104724848cSchristos * https://www.openssl.org/source/license.html 114724848cSchristos */ 124724848cSchristos 134724848cSchristos #include <openssl/opensslv.h> 144724848cSchristos 154724848cSchristos #ifdef __cplusplus 164724848cSchristos extern "C" { 174724848cSchristos #endif 184724848cSchristos 194724848cSchristos #ifdef OPENSSL_ALGORITHM_DEFINES 204724848cSchristos # error OPENSSL_ALGORITHM_DEFINES no longer supported 214724848cSchristos #endif 224724848cSchristos 234724848cSchristos /* 244724848cSchristos * OpenSSL was configured with the following options: 254724848cSchristos */ 264724848cSchristos 274724848cSchristos #ifndef OPENSSL_NO_MD2 284724848cSchristos # define OPENSSL_NO_MD2 294724848cSchristos #endif 304724848cSchristos #ifndef OPENSSL_NO_RC5 314724848cSchristos # define OPENSSL_NO_RC5 324724848cSchristos #endif 334724848cSchristos #ifndef OPENSSL_THREADS 344724848cSchristos # define OPENSSL_THREADS 354724848cSchristos #endif 364724848cSchristos #ifndef OPENSSL_RAND_SEED_OS 374724848cSchristos # define OPENSSL_RAND_SEED_OS 384724848cSchristos #endif 394724848cSchristos #ifndef OPENSSL_NO_ASAN 404724848cSchristos # define OPENSSL_NO_ASAN 414724848cSchristos #endif 424724848cSchristos #ifndef OPENSSL_NO_CRYPTO_MDEBUG 434724848cSchristos # define OPENSSL_NO_CRYPTO_MDEBUG 444724848cSchristos #endif 454724848cSchristos #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE 464724848cSchristos # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE 474724848cSchristos #endif 484724848cSchristos #if 0 494724848cSchristos # ifndef OPENSSL_NO_DEVCRYPTOENG 504724848cSchristos # define OPENSSL_NO_DEVCRYPTOENG 514724848cSchristos # endif 524724848cSchristos #endif 534724848cSchristos /* 544724848cSchristos * XXX 554724848cSchristos * This seems broken on big-endian or strictly-aligned architectures. 564724848cSchristos */ 574724848cSchristos #if !defined(_LP64) || \ 58*d7e7ca47Srin defined(__AARCH64EB__) || defined(__sparc64__) 594724848cSchristos # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 604724848cSchristos # define OPENSSL_NO_EC_NISTP_64_GCC_128 614724848cSchristos # endif 624724848cSchristos #endif 634724848cSchristos #ifndef OPENSSL_NO_EGD 644724848cSchristos # define OPENSSL_NO_EGD 654724848cSchristos #endif 664724848cSchristos #ifndef OPENSSL_NO_EXTERNAL_TESTS 674724848cSchristos # define OPENSSL_NO_EXTERNAL_TESTS 684724848cSchristos #endif 694724848cSchristos #ifndef OPENSSL_NO_FUZZ_AFL 704724848cSchristos # define OPENSSL_NO_FUZZ_AFL 714724848cSchristos #endif 724724848cSchristos #ifndef OPENSSL_NO_FUZZ_LIBFUZZER 734724848cSchristos # define OPENSSL_NO_FUZZ_LIBFUZZER 744724848cSchristos #endif 754724848cSchristos #ifndef OPENSSL_NO_HEARTBEATS 764724848cSchristos # define OPENSSL_NO_HEARTBEATS 774724848cSchristos #endif 784724848cSchristos #ifndef OPENSSL_NO_MSAN 794724848cSchristos # define OPENSSL_NO_MSAN 804724848cSchristos #endif 814724848cSchristos #ifndef OPENSSL_NO_SCTP 824724848cSchristos # define OPENSSL_NO_SCTP 834724848cSchristos #endif 844724848cSchristos #ifndef OPENSSL_NO_SSL_TRACE 854724848cSchristos # define OPENSSL_NO_SSL_TRACE 864724848cSchristos #endif 874724848cSchristos #ifndef OPENSSL_NO_SSL3 884724848cSchristos # define OPENSSL_NO_SSL3 894724848cSchristos #endif 904724848cSchristos #ifndef OPENSSL_NO_SSL3_METHOD 914724848cSchristos # define OPENSSL_NO_SSL3_METHOD 924724848cSchristos #endif 934724848cSchristos #ifndef OPENSSL_NO_UBSAN 944724848cSchristos # define OPENSSL_NO_UBSAN 954724848cSchristos #endif 964724848cSchristos #ifndef OPENSSL_NO_UNIT_TEST 974724848cSchristos # define OPENSSL_NO_UNIT_TEST 984724848cSchristos #endif 994724848cSchristos #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS 1004724848cSchristos # define OPENSSL_NO_WEAK_SSL_CIPHERS 1014724848cSchristos #endif 1024724848cSchristos #ifndef OPENSSL_NO_STATIC_ENGINE 1034724848cSchristos # define OPENSSL_NO_STATIC_ENGINE 1044724848cSchristos #endif 1054724848cSchristos #ifndef OPENSSL_NO_AFALGENG 1064724848cSchristos # define OPENSSL_NO_AFALGENG 1074724848cSchristos #endif 1084724848cSchristos 1094724848cSchristos 1104724848cSchristos /* 1114724848cSchristos * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers 1124724848cSchristos * don't like that. This will hopefully silence them. 1134724848cSchristos */ 1144724848cSchristos #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy; 1154724848cSchristos 1164724848cSchristos /* 1174724848cSchristos * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the 1184724848cSchristos * declarations of functions deprecated in or before <version>. Otherwise, they 1194724848cSchristos * still won't see them if the library has been built to disable deprecated 1204724848cSchristos * functions. 1214724848cSchristos */ 1224724848cSchristos #ifndef DECLARE_DEPRECATED 1234724848cSchristos # define DECLARE_DEPRECATED(f) f; 1244724848cSchristos # ifdef __GNUC__ 1254724848cSchristos # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) 1264724848cSchristos # undef DECLARE_DEPRECATED 1274724848cSchristos # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); 1284724848cSchristos # endif 1294724848cSchristos # endif 1304724848cSchristos #endif 1314724848cSchristos 1324724848cSchristos #ifndef OPENSSL_FILE 1334724848cSchristos # ifdef OPENSSL_NO_FILENAMES 1344724848cSchristos # define OPENSSL_FILE "" 1354724848cSchristos # define OPENSSL_LINE 0 1364724848cSchristos # else 1374724848cSchristos # define OPENSSL_FILE __FILE__ 1384724848cSchristos # define OPENSSL_LINE __LINE__ 1394724848cSchristos # endif 1404724848cSchristos #endif 1414724848cSchristos 1424724848cSchristos #ifndef OPENSSL_MIN_API 1434724848cSchristos # define OPENSSL_MIN_API 0 1444724848cSchristos #endif 1454724848cSchristos 1464724848cSchristos #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API 1474724848cSchristos # undef OPENSSL_API_COMPAT 1484724848cSchristos # define OPENSSL_API_COMPAT OPENSSL_MIN_API 1494724848cSchristos #endif 1504724848cSchristos 1514724848cSchristos /* 1524724848cSchristos * Do not deprecate things to be deprecated in version 1.2.0 before the 1534724848cSchristos * OpenSSL version number matches. 1544724848cSchristos */ 1554724848cSchristos #if OPENSSL_VERSION_NUMBER < 0x10200000L 1564724848cSchristos # define DEPRECATEDIN_1_2_0(f) f; 1574724848cSchristos #elif OPENSSL_API_COMPAT < 0x10200000L 1584724848cSchristos # define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f) 1594724848cSchristos #else 1604724848cSchristos # define DEPRECATEDIN_1_2_0(f) 1614724848cSchristos #endif 1624724848cSchristos 1634724848cSchristos #if OPENSSL_API_COMPAT < 0x10100000L 1644724848cSchristos # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) 1654724848cSchristos #else 1664724848cSchristos # define DEPRECATEDIN_1_1_0(f) 1674724848cSchristos #endif 1684724848cSchristos 1694724848cSchristos #if OPENSSL_API_COMPAT < 0x10000000L 1704724848cSchristos # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f) 1714724848cSchristos #else 1724724848cSchristos # define DEPRECATEDIN_1_0_0(f) 1734724848cSchristos #endif 1744724848cSchristos 1754724848cSchristos #if OPENSSL_API_COMPAT < 0x00908000L 1764724848cSchristos # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) 1774724848cSchristos #else 1784724848cSchristos # define DEPRECATEDIN_0_9_8(f) 1794724848cSchristos #endif 1804724848cSchristos 1814724848cSchristos /* Generate 80386 code? */ 1824724848cSchristos #undef I386_ONLY 1834724848cSchristos 1844724848cSchristos #undef OPENSSL_UNISTD 1854724848cSchristos #define OPENSSL_UNISTD <unistd.h> 1864724848cSchristos 1874724848cSchristos #undef OPENSSL_EXPORT_VAR_AS_FUNCTION 1884724848cSchristos 1894724848cSchristos /* 1904724848cSchristos * The following are cipher-specific, but are part of the public API. 1914724848cSchristos */ 1924724848cSchristos #if !defined(OPENSSL_SYS_UEFI) 1934724848cSchristos # undef BN_LLONG 1944724848cSchristos /* Only one for the following should be defined */ 1954724848cSchristos # if _LP64 1964724848cSchristos # define SIXTY_FOUR_BIT_LONG 1974724848cSchristos # elif _ILP64 1984724848cSchristos # define SIXTY_FOUR_BIT 1994724848cSchristos # else 2004724848cSchristos # define THIRTY_TWO_BIT 2014724848cSchristos # endif 2024724848cSchristos #endif 2034724848cSchristos 2044724848cSchristos #define RC4_INT unsigned int 2054724848cSchristos 2064724848cSchristos #ifdef __cplusplus 2074724848cSchristos } 2084724848cSchristos #endif 209