xref: /netbsd-src/crypto/external/bsd/openssl/include/openssl/configuration.h (revision 4903132d4d6f579984518e6fa8316ca7cdce3e50)
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_ACVP_TESTS
38 #  define OPENSSL_NO_ACVP_TESTS
39 # endif
40 # ifndef OPENSSL_NO_AFALGENG
41 #  define OPENSSL_NO_AFALGENG
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 0
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_FIPS_SECURITYCHECKS
64 #  define OPENSSL_NO_FIPS_SECURITYCHECKS
65 # endif
66 # ifndef OPENSSL_NO_FUZZ_AFL
67 #  define OPENSSL_NO_FUZZ_AFL
68 # endif
69 # ifndef OPENSSL_NO_FUZZ_LIBFUZZER
70 #  define OPENSSL_NO_FUZZ_LIBFUZZER
71 # endif
72 # ifndef OPENSSL_NO_KTLS
73 #  define OPENSSL_NO_KTLS
74 # endif
75 # ifndef OPENSSL_NO_MD2
76 #  define OPENSSL_NO_MD2
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_SCTP
85 #  define OPENSSL_NO_SCTP
86 # endif
87 # ifndef OPENSSL_NO_SSL3
88 #  define OPENSSL_NO_SSL3
89 # endif
90 # ifndef OPENSSL_NO_SSL3_METHOD
91 #  define OPENSSL_NO_SSL3_METHOD
92 # endif
93 # ifndef OPENSSL_NO_TRACE
94 #  define OPENSSL_NO_TRACE
95 # endif
96 # ifndef OPENSSL_NO_UBSAN
97 #  define OPENSSL_NO_UBSAN
98 # endif
99 # ifndef OPENSSL_NO_UNIT_TEST
100 #  define OPENSSL_NO_UNIT_TEST
101 # endif
102 # ifndef OPENSSL_NO_UPLINK
103 #  define OPENSSL_NO_UPLINK
104 # endif
105 # ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
106 #  define OPENSSL_NO_WEAK_SSL_CIPHERS
107 # endif
108 # ifndef OPENSSL_NO_STATIC_ENGINE
109 #  define OPENSSL_NO_STATIC_ENGINE
110 # endif
111 
112 
113 /* Generate 80386 code? */
114 # undef I386_ONLY
115 
116 /*
117  * The following are cipher-specific, but are part of the public API.
118  */
119 # if !defined(OPENSSL_SYS_UEFI)
120 #  undef BN_LLONG
121 /* Only one for the following should be defined */
122 #  undef SIXTY_FOUR_BIT
123 #  if defined(__LP64__) && !defined(__sparc64__)	/* sparc64 asm needs 32bit BN limbs */
124 #   define SIXTY_FOUR_BIT_LONG
125 #   undef THIRTY_TWO_BIT
126 #  else
127 #   undef SIXTY_FOUR_BIT_LONG
128 #   define THIRTY_TWO_BIT
129 #  endif
130 # endif
131 #ifdef __sparc64__
132 # define BN_LLONG
133 #endif
134 
135 # define RC4_INT unsigned int
136 
137 # ifdef  __cplusplus
138 }
139 # endif
140 
141 #endif                          /* OPENSSL_CONFIGURATION_H */
142