Makefile: Add security compiling option (RELRO, SC, and FORTIFY)
[platform/upstream/cryptsetup.git] / config.h.in
1 /* config.h.in.  Generated from configure.ac by autoheader.  */
2
3 /* Define if building universal (internal helper macro) */
4 #undef AC_APPLE_UNIVERSAL_BUILD
5
6 /* maximum keyfile size (in KiB) */
7 #undef DEFAULT_KEYFILE_SIZE_MAXKB
8
9 /* cipher for loop-AES mode */
10 #undef DEFAULT_LOOPAES_CIPHER
11
12 /* key length in bits for loop-AES mode */
13 #undef DEFAULT_LOOPAES_KEYBITS
14
15 /* cipher for LUKS1 */
16 #undef DEFAULT_LUKS1_CIPHER
17
18 /* hash function for LUKS1 header */
19 #undef DEFAULT_LUKS1_HASH
20
21 /* PBKDF2 iteration time for LUKS1 (in ms) */
22 #undef DEFAULT_LUKS1_ITER_TIME
23
24 /* key length in bits for LUKS1 */
25 #undef DEFAULT_LUKS1_KEYBITS
26
27 /* cipher mode for LUKS1 */
28 #undef DEFAULT_LUKS1_MODE
29
30 /* maximum keyfile size (in characters) */
31 #undef DEFAULT_PASSPHRASE_SIZE_MAX
32
33 /* cipher for plain mode */
34 #undef DEFAULT_PLAIN_CIPHER
35
36 /* password hashing function for plain mode */
37 #undef DEFAULT_PLAIN_HASH
38
39 /* key length in bits for plain mode */
40 #undef DEFAULT_PLAIN_KEYBITS
41
42 /* cipher mode for plain mode */
43 #undef DEFAULT_PLAIN_MODE
44
45 /* default RNG type for key generator */
46 #undef DEFAULT_RNG
47
48 /* data block size for verity mode */
49 #undef DEFAULT_VERITY_DATA_BLOCK
50
51 /* hash function for verity mode */
52 #undef DEFAULT_VERITY_HASH
53
54 /* hash block size for verity mode */
55 #undef DEFAULT_VERITY_HASH_BLOCK
56
57 /* salt size for verity mode */
58 #undef DEFAULT_VERITY_SALT_SIZE
59
60 /* Enable using of kernel userspace crypto */
61 #undef ENABLE_AF_ALG
62
63 /* Enable FIPS mode restrictions */
64 #undef ENABLE_FIPS
65
66 /* Define to 1 if translation of program messages to the user's native
67    language is requested. */
68 #undef ENABLE_NLS
69
70 /* Enable password quality checking */
71 #undef ENABLE_PWQUALITY
72
73 /* Requested gcrypt version */
74 #undef GCRYPT_REQ_VERSION
75
76 /* Define to 1 if you have the <byteswap.h> header file. */
77 #undef HAVE_BYTESWAP_H
78
79 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
80    CoreFoundation framework. */
81 #undef HAVE_CFLOCALECOPYCURRENT
82
83 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
84    the CoreFoundation framework. */
85 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
86
87 /* Define to 1 if you have the `clock_gettime' function. */
88 #undef HAVE_CLOCK_GETTIME
89
90 /* Define to 1 if you have the <ctype.h> header file. */
91 #undef HAVE_CTYPE_H
92
93 /* Define if the GNU dcgettext() function is already present or preinstalled.
94    */
95 #undef HAVE_DCGETTEXT
96
97 /* Define to 1 if you have the declaration of `dm_task_retry_remove', and to 0
98    if you don't. */
99 #undef HAVE_DECL_DM_TASK_RETRY_REMOVE
100
101 /* Define to 1 if you have the declaration of `dm_task_secure_data', and to 0
102    if you don't. */
103 #undef HAVE_DECL_DM_TASK_SECURE_DATA
104
105 /* Define to 1 if you have the declaration of
106    `DM_UDEV_DISABLE_DISK_RULES_FLAG', and to 0 if you don't. */
107 #undef HAVE_DECL_DM_UDEV_DISABLE_DISK_RULES_FLAG
108
109 /* Define to 1 if you have the declaration of `NSS_GetVersion', and to 0 if
110    you don't. */
111 #undef HAVE_DECL_NSS_GETVERSION
112
113 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
114    don't. */
115 #undef HAVE_DECL_STRERROR_R
116
117 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
118    */
119 #undef HAVE_DIRENT_H
120
121 /* Define to 1 if you have the <dlfcn.h> header file. */
122 #undef HAVE_DLFCN_H
123
124 /* Define to 1 if you have the <endian.h> header file. */
125 #undef HAVE_ENDIAN_H
126
127 /* Define to 1 if you have the <fcntl.h> header file. */
128 #undef HAVE_FCNTL_H
129
130 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
131 #undef HAVE_FSEEKO
132
133 /* Define if the GNU gettext() function is already present or preinstalled. */
134 #undef HAVE_GETTEXT
135
136 /* Define if you have the iconv() function. */
137 #undef HAVE_ICONV
138
139 /* Define to 1 if you have the <inttypes.h> header file. */
140 #undef HAVE_INTTYPES_H
141
142 /* Define to 1 if you have the `devmapper' library (-ldevmapper). */
143 #undef HAVE_LIBDEVMAPPER
144
145 /* Define to 1 if you have the `gcrypt' library (-lgcrypt). */
146 #undef HAVE_LIBGCRYPT
147
148 /* Define to 1 if you have the `nettle' library (-lnettle). */
149 #undef HAVE_LIBNETTLE
150
151 /* Define to 1 if you have the `popt' library (-lpopt). */
152 #undef HAVE_LIBPOPT
153
154 /* Define to 1 if you have the `selinux' library (-lselinux). */
155 #undef HAVE_LIBSELINUX
156
157 /* Define to 1 if you have the `sepol' library (-lsepol). */
158 #undef HAVE_LIBSEPOL
159
160 /* Define to 1 if you have the `uuid' library (-luuid). */
161 #undef HAVE_LIBUUID
162
163 /* Define to 1 if you have the <linux/if_alg.h> header file. */
164 #undef HAVE_LINUX_IF_ALG_H
165
166 /* Define to 1 if you have the <locale.h> header file. */
167 #undef HAVE_LOCALE_H
168
169 /* Define to 1 if you have the <malloc.h> header file. */
170 #undef HAVE_MALLOC_H
171
172 /* Define to 1 if you have the <memory.h> header file. */
173 #undef HAVE_MEMORY_H
174
175 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
176 #undef HAVE_NDIR_H
177
178 /* Define to 1 if you have the <nettle/sha.h> header file. */
179 #undef HAVE_NETTLE_SHA_H
180
181 /* Define to 1 if you have the `posix_memalign' function. */
182 #undef HAVE_POSIX_MEMALIGN
183
184 /* Define to 1 if you have the <stdint.h> header file. */
185 #undef HAVE_STDINT_H
186
187 /* Define to 1 if you have the <stdlib.h> header file. */
188 #undef HAVE_STDLIB_H
189
190 /* Define to 1 if you have the `strerror_r' function. */
191 #undef HAVE_STRERROR_R
192
193 /* Define to 1 if you have the <strings.h> header file. */
194 #undef HAVE_STRINGS_H
195
196 /* Define to 1 if you have the <string.h> header file. */
197 #undef HAVE_STRING_H
198
199 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
200    */
201 #undef HAVE_SYS_DIR_H
202
203 /* Define to 1 if you have the <sys/ioctl.h> header file. */
204 #undef HAVE_SYS_IOCTL_H
205
206 /* Define to 1 if you have the <sys/mman.h> header file. */
207 #undef HAVE_SYS_MMAN_H
208
209 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
210    */
211 #undef HAVE_SYS_NDIR_H
212
213 /* Define to 1 if you have the <sys/stat.h> header file. */
214 #undef HAVE_SYS_STAT_H
215
216 /* Define to 1 if you have the <sys/types.h> header file. */
217 #undef HAVE_SYS_TYPES_H
218
219 /* Define to 1 if you have the <unistd.h> header file. */
220 #undef HAVE_UNISTD_H
221
222 /* Define to 1 if you have the <uuid/uuid.h> header file. */
223 #undef HAVE_UUID_UUID_H
224
225 /* Define to the sub-directory in which libtool stores uninstalled libraries.
226    */
227 #undef LT_OBJDIR
228
229 /* Name of package */
230 #undef PACKAGE
231
232 /* Define to the address where bug reports for this package should be sent. */
233 #undef PACKAGE_BUGREPORT
234
235 /* Define to the full name of this package. */
236 #undef PACKAGE_NAME
237
238 /* Define to the full name and version of this package. */
239 #undef PACKAGE_STRING
240
241 /* Define to the one symbol short name of this package. */
242 #undef PACKAGE_TARNAME
243
244 /* Define to the home page for this package. */
245 #undef PACKAGE_URL
246
247 /* Define to the version of this package. */
248 #undef PACKAGE_VERSION
249
250 /* Define to 1 if you have the ANSI C header files. */
251 #undef STDC_HEADERS
252
253 /* Define to 1 if strerror_r returns char *. */
254 #undef STRERROR_R_CHAR_P
255
256 /* Use internal PBKDF2 */
257 #undef USE_INTERNAL_PBKDF2
258
259 /* Enable extensions on AIX 3, Interix.  */
260 #ifndef _ALL_SOURCE
261 # undef _ALL_SOURCE
262 #endif
263 /* Enable GNU extensions on systems that have them.  */
264 #ifndef _GNU_SOURCE
265 # undef _GNU_SOURCE
266 #endif
267 /* Enable threading extensions on Solaris.  */
268 #ifndef _POSIX_PTHREAD_SEMANTICS
269 # undef _POSIX_PTHREAD_SEMANTICS
270 #endif
271 /* Enable extensions on HP NonStop.  */
272 #ifndef _TANDEM_SOURCE
273 # undef _TANDEM_SOURCE
274 #endif
275 /* Enable general extensions on Solaris.  */
276 #ifndef __EXTENSIONS__
277 # undef __EXTENSIONS__
278 #endif
279
280
281 /* Try to use udev synchronisation? */
282 #undef USE_UDEV
283
284 /* Version number of package */
285 #undef VERSION
286
287 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
288    significant byte first (like Motorola and SPARC, unlike Intel). */
289 #if defined AC_APPLE_UNIVERSAL_BUILD
290 # if defined __BIG_ENDIAN__
291 #  define WORDS_BIGENDIAN 1
292 # endif
293 #else
294 # ifndef WORDS_BIGENDIAN
295 #  undef WORDS_BIGENDIAN
296 # endif
297 #endif
298
299 /* Enable large inode numbers on Mac OS X 10.5.  */
300 #ifndef _DARWIN_USE_64_BIT_INODE
301 # define _DARWIN_USE_64_BIT_INODE 1
302 #endif
303
304 /* Number of bits in a file offset, on hosts where this is settable. */
305 #undef _FILE_OFFSET_BITS
306
307 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
308 #undef _LARGEFILE_SOURCE
309
310 /* Define for large files, on AIX-style hosts. */
311 #undef _LARGE_FILES
312
313 /* Define to 1 if on MINIX. */
314 #undef _MINIX
315
316 /* Define to 2 if the system does not provide POSIX.1 features except with
317    this defined. */
318 #undef _POSIX_1_SOURCE
319
320 /* Define to 1 if you need to in order for `stat' and other things to work. */
321 #undef _POSIX_SOURCE
322
323 /* Define to empty if `const' does not conform to ANSI C. */
324 #undef const
325
326 /* Define to `long int' if <sys/types.h> does not define. */
327 #undef off_t