1 /* 2 * WARNING: do not edit! 3 * Generated by configdata.pm from Configurations/common0.tmpl, Configurations/unix-Makefile.tmpl 4 * via Makefile.in 5 * 6 * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved. 7 * 8 * Licensed under the Apache License 2.0 (the "License"). You may not use 9 * this file except in compliance with the License. You can obtain a copy 10 * in the file LICENSE in the source distribution or at 11 * https://www.openssl.org/source/license.html 12 */ 13 14 #ifndef OPENSSL_CONFIGURATION_H 15 # define OPENSSL_CONFIGURATION_H 16 # pragma once 17 18 # ifdef __cplusplus 19 extern "C" { 20 # endif 21 22 # ifdef OPENSSL_ALGORITHM_DEFINES 23 # error OPENSSL_ALGORITHM_DEFINES no longer supported 24 # endif 25 26 /* 27 * OpenSSL was configured with the following options: 28 */ 29 30 # define OPENSSL_CONFIGURED_API 30000 31 # ifndef OPENSSL_RAND_SEED_OS 32 # define OPENSSL_RAND_SEED_OS 33 # endif 34 # ifndef OPENSSL_THREADS 35 # define OPENSSL_THREADS 36 # endif 37 # ifndef OPENSSL_NO_AFALGENG 38 # define OPENSSL_NO_AFALGENG 39 # endif 40 # ifndef OPENSSL_NO_ARIA 41 # define OPENSSL_NO_ARIA 42 # endif 43 # ifndef OPENSSL_NO_ASAN 44 # define OPENSSL_NO_ASAN 45 # endif 46 # ifndef OPENSSL_NO_CRYPTO_MDEBUG 47 # define OPENSSL_NO_CRYPTO_MDEBUG 48 # endif 49 # ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE 50 # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE 51 # endif 52 # if !defined(__LP64__) || __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__ 53 # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 54 # define OPENSSL_NO_EC_NISTP_64_GCC_128 55 # endif 56 # endif 57 # ifndef OPENSSL_NO_EGD 58 # define OPENSSL_NO_EGD 59 # endif 60 # ifndef OPENSSL_NO_EXTERNAL_TESTS 61 # define OPENSSL_NO_EXTERNAL_TESTS 62 # endif 63 # ifndef OPENSSL_NO_FUZZ_AFL 64 # define OPENSSL_NO_FUZZ_AFL 65 # endif 66 # ifndef OPENSSL_NO_FUZZ_LIBFUZZER 67 # define OPENSSL_NO_FUZZ_LIBFUZZER 68 # endif 69 # ifndef OPENSSL_NO_IDEA 70 # define OPENSSL_NO_IDEA 71 # endif 72 # ifndef OPENSSL_NO_MD2 73 # define OPENSSL_NO_MD2 74 # endif 75 # ifndef OPENSSL_NO_MDC2 76 # define OPENSSL_NO_MDC2 77 # endif 78 # ifndef OPENSSL_NO_MSAN 79 # define OPENSSL_NO_MSAN 80 # endif 81 # ifndef OPENSSL_NO_RC5 82 # define OPENSSL_NO_RC5 83 # endif 84 # ifndef OPENSSL_NO_SM2 85 # define OPENSSL_NO_SM2 86 # endif 87 # ifndef OPENSSL_NO_SM3 88 # define OPENSSL_NO_SM3 89 # endif 90 # ifndef OPENSSL_NO_SM4 91 # define OPENSSL_NO_SM4 92 # endif 93 # ifndef OPENSSL_NO_SSL3 94 # define OPENSSL_NO_SSL3 95 # endif 96 # ifndef OPENSSL_NO_SSL3_METHOD 97 # define OPENSSL_NO_SSL3_METHOD 98 # endif 99 # ifndef OPENSSL_NO_TRACE 100 # define OPENSSL_NO_TRACE 101 # endif 102 # ifndef OPENSSL_NO_UBSAN 103 # define OPENSSL_NO_UBSAN 104 # endif 105 # ifndef OPENSSL_NO_UNIT_TEST 106 # define OPENSSL_NO_UNIT_TEST 107 # endif 108 # ifndef OPENSSL_NO_UPLINK 109 # define OPENSSL_NO_UPLINK 110 # endif 111 # ifndef OPENSSL_NO_WEAK_SSL_CIPHERS 112 # define OPENSSL_NO_WEAK_SSL_CIPHERS 113 # endif 114 # ifndef OPENSSL_NO_STATIC_ENGINE 115 # define OPENSSL_NO_STATIC_ENGINE 116 # endif 117 118 119 /* Generate 80386 code? */ 120 # undef I386_ONLY 121 122 /* 123 * The following are cipher-specific, but are part of the public API. 124 */ 125 # if !defined(OPENSSL_SYS_UEFI) 126 # if __SIZEOF_LONG__ == 8 127 # undef BN_LLONG 128 /* Only one for the following should be defined */ 129 # define SIXTY_FOUR_BIT_LONG 130 # undef SIXTY_FOUR_BIT 131 # undef THIRTY_TWO_BIT 132 # elif __SIZEOF_LONG__ == 4 133 # define BN_LLONG 134 /* Only one for the following should be defined */ 135 # undef SIXTY_FOUR_BIT_LONG 136 # undef SIXTY_FOUR_BIT 137 # define THIRTY_TWO_BIT 138 # else 139 # error Unsupported size of long 140 # endif 141 # endif 142 143 # define RC4_INT unsigned int 144 145 # ifdef __cplusplus 146 } 147 # endif 148 149 #endif /* OPENSSL_CONFIGURATION_H */ 150