Home | History | Annotate | Line # | Download | only in openssl
      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 /* clang-format off */
     31 # define OPENSSL_CONFIGURED_API 30500
     32 # ifndef OPENSSL_RAND_SEED_OS
     33 #  define OPENSSL_RAND_SEED_OS
     34 # endif
     35 # ifndef OPENSSL_THREADS
     36 #  define OPENSSL_THREADS
     37 # endif
     38 # ifndef OPENSSL_NO_ACVP_TESTS
     39 #  define OPENSSL_NO_ACVP_TESTS
     40 # endif
     41 # ifndef OPENSSL_NO_AFALGENG
     42 #  define OPENSSL_NO_AFALGENG
     43 # endif
     44 # ifndef OPENSSL_NO_ASAN
     45 #  define OPENSSL_NO_ASAN
     46 # endif
     47 # ifndef OPENSSL_NO_BROTLI
     48 #  define OPENSSL_NO_BROTLI
     49 # endif
     50 # ifndef OPENSSL_NO_BROTLI_DYNAMIC
     51 #  define OPENSSL_NO_BROTLI_DYNAMIC
     52 # endif
     53 # ifndef OPENSSL_NO_CRYPTO_MDEBUG
     54 #  define OPENSSL_NO_CRYPTO_MDEBUG
     55 # endif
     56 # ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
     57 #  define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
     58 # endif
     59 # ifndef OPENSSL_NO_DEMOS
     60 #  define OPENSSL_NO_DEMOS
     61 # endif
     62 #if 0
     63 # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
     64 #  define OPENSSL_NO_EC_NISTP_64_GCC_128
     65 # endif
     66 #endif
     67 # ifndef OPENSSL_NO_EGD
     68 #  define OPENSSL_NO_EGD
     69 # endif
     70 # ifndef OPENSSL_NO_EXTERNAL_TESTS
     71 #  define OPENSSL_NO_EXTERNAL_TESTS
     72 # endif
     73 # ifndef OPENSSL_NO_FIPS_JITTER
     74 #  define OPENSSL_NO_FIPS_JITTER
     75 # endif
     76 # ifndef OPENSSL_NO_FIPS_POST
     77 #  define OPENSSL_NO_FIPS_POST
     78 # endif
     79 # ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
     80 #  define OPENSSL_NO_FIPS_SECURITYCHECKS
     81 # endif
     82 # ifndef OPENSSL_NO_FUZZ_AFL
     83 #  define OPENSSL_NO_FUZZ_AFL
     84 # endif
     85 # ifndef OPENSSL_NO_FUZZ_LIBFUZZER
     86 #  define OPENSSL_NO_FUZZ_LIBFUZZER
     87 # endif
     88 # ifndef OPENSSL_NO_H3DEMO
     89 #  define OPENSSL_NO_H3DEMO
     90 # endif
     91 # ifndef OPENSSL_NO_HQINTEROP
     92 #  define OPENSSL_NO_HQINTEROP
     93 # endif
     94 # ifndef OPENSSL_NO_JITTER
     95 #  define OPENSSL_NO_JITTER
     96 # endif
     97 # ifndef OPENSSL_NO_KTLS
     98 #  define OPENSSL_NO_KTLS
     99 # endif
    100 # ifndef OPENSSL_NO_MD2
    101 #  define OPENSSL_NO_MD2
    102 # endif
    103 # ifndef OPENSSL_NO_MSAN
    104 #  define OPENSSL_NO_MSAN
    105 # endif
    106 # ifndef OPENSSL_NO_PIE
    107 #  define OPENSSL_NO_PIE
    108 # endif
    109 # ifndef OPENSSL_NO_RC5
    110 #  define OPENSSL_NO_RC5
    111 # endif
    112 # ifndef OPENSSL_NO_SCTP
    113 #  define OPENSSL_NO_SCTP
    114 # endif
    115 # ifndef OPENSSL_NO_SSL3
    116 #  define OPENSSL_NO_SSL3
    117 # endif
    118 # ifndef OPENSSL_NO_SSL3_METHOD
    119 #  define OPENSSL_NO_SSL3_METHOD
    120 # endif
    121 # ifndef OPENSSL_NO_SSLKEYLOG
    122 #  define OPENSSL_NO_SSLKEYLOG
    123 # endif
    124 # ifndef OPENSSL_NO_TFO
    125 #  define OPENSSL_NO_TFO
    126 # endif
    127 # ifndef OPENSSL_NO_TRACE
    128 #  define OPENSSL_NO_TRACE
    129 # endif
    130 # ifndef OPENSSL_NO_UBSAN
    131 #  define OPENSSL_NO_UBSAN
    132 # endif
    133 # ifndef OPENSSL_NO_UNIT_TEST
    134 #  define OPENSSL_NO_UNIT_TEST
    135 # endif
    136 # ifndef OPENSSL_NO_UPLINK
    137 #  define OPENSSL_NO_UPLINK
    138 # endif
    139 # ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
    140 #  define OPENSSL_NO_WEAK_SSL_CIPHERS
    141 # endif
    142 # ifndef OPENSSL_NO_WINSTORE
    143 #  define OPENSSL_NO_WINSTORE
    144 # endif
    145 # ifndef OPENSSL_NO_ZLIB
    146 #  define OPENSSL_NO_ZLIB
    147 # endif
    148 # ifndef OPENSSL_NO_ZLIB_DYNAMIC
    149 #  define OPENSSL_NO_ZLIB_DYNAMIC
    150 # endif
    151 # ifndef OPENSSL_NO_ZSTD
    152 #  define OPENSSL_NO_ZSTD
    153 # endif
    154 # ifndef OPENSSL_NO_ZSTD_DYNAMIC
    155 #  define OPENSSL_NO_ZSTD_DYNAMIC
    156 # endif
    157 # ifndef OPENSSL_NO_STATIC_ENGINE
    158 #  define OPENSSL_NO_STATIC_ENGINE
    159 # endif
    160 
    161 /* clang-format on */
    162 
    163 /* Generate 80386 code? */
    164 /* clang-format off */
    165 # undef I386_ONLY
    166 /* clang-format on */
    167 
    168 /*
    169  * The following are cipher-specific, but are part of the public API.
    170  */
    171 #if !defined(OPENSSL_SYS_UEFI)
    172     /* clang-format off */
    173 #  undef BN_LLONG
    174     /* clang-format on */
    175     /* Only one for the following should be defined */
    176     /* clang-format off */
    177 #  if defined(__LP64__) && !defined(__sparc64__)       /* sparc64 asm needs 32bit BN limbs */
    178 #   define SIXTY_FOUR_BIT_LONG
    179     /* clang-format on */
    180     /* clang-format off */
    181 #  elif _ILP64
    182 #   define SIXTY_FOUR_BIT
    183     /* clang-format on */
    184     /* clang-format off */
    185 #  else
    186 #   define THIRTY_TWO_BIT
    187     /* clang-format on */
    188     /* clang-format off */
    189 #  endif
    190 #endif
    191 #ifdef __sparc64__
    192 # define BN_LLONG
    193 #endif
    194 
    195 /* clang-format off */
    196 # define RC4_INT unsigned int
    197 /* clang-format on */
    198 
    199 #if defined(OPENSSL_NO_COMP) || (defined(OPENSSL_NO_BROTLI) && defined(OPENSSL_NO_ZSTD) && defined(OPENSSL_NO_ZLIB))
    200 #define OPENSSL_NO_COMP_ALG
    201 #else
    202 #undef OPENSSL_NO_COMP_ALG
    203 #endif
    204 
    205 #ifdef __cplusplus
    206 }
    207 #endif
    208 
    209 #endif /* OPENSSL_CONFIGURATION_H */
    210