0e70551b48ad2eb8150e079c48afe229162c5892
[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 /* Argon2 PBKDF iteration time for LUKS2 (in ms) */
31 #undef DEFAULT_LUKS2_ITER_TIME
32
33 /* fallback cipher for LUKS2 keyslot (if data encryption is incompatible) */
34 #undef DEFAULT_LUKS2_KEYSLOT_CIPHER
35
36 /* fallback key size for LUKS2 keyslot (if data encryption is incompatible) */
37 #undef DEFAULT_LUKS2_KEYSLOT_KEYBITS
38
39 /* default luks2 locking directory permissions */
40 #undef DEFAULT_LUKS2_LOCK_DIR_PERMS
41
42 /* path to directory for LUKSv2 locks */
43 #undef DEFAULT_LUKS2_LOCK_PATH
44
45 /* Argon2 PBKDF memory cost for LUKS2 (in kB) */
46 #undef DEFAULT_LUKS2_MEMORY_KB
47
48 /* Argon2 PBKDF max parallel cost for LUKS2 (if CPUs available) */
49 #undef DEFAULT_LUKS2_PARALLEL_THREADS
50
51 /* Default PBKDF algorithm (pbkdf2 or argon2i/argon2id) for LUKS2 */
52 #undef DEFAULT_LUKS2_PBKDF
53
54 /* default LUKS format version */
55 #undef DEFAULT_LUKS_FORMAT
56
57 /* maximum keyfile size (in characters) */
58 #undef DEFAULT_PASSPHRASE_SIZE_MAX
59
60 /* cipher for plain mode */
61 #undef DEFAULT_PLAIN_CIPHER
62
63 /* password hashing function for plain mode */
64 #undef DEFAULT_PLAIN_HASH
65
66 /* key length in bits for plain mode */
67 #undef DEFAULT_PLAIN_KEYBITS
68
69 /* cipher mode for plain mode */
70 #undef DEFAULT_PLAIN_MODE
71
72 /* default RNG type for key generator */
73 #undef DEFAULT_RNG
74
75 /* override default path to directory with systemd temporary files */
76 #undef DEFAULT_TMPFILESDIR
77
78 /* data block size for verity mode */
79 #undef DEFAULT_VERITY_DATA_BLOCK
80
81 /* parity bytes for verity FEC */
82 #undef DEFAULT_VERITY_FEC_ROOTS
83
84 /* hash function for verity mode */
85 #undef DEFAULT_VERITY_HASH
86
87 /* hash block size for verity mode */
88 #undef DEFAULT_VERITY_HASH_BLOCK
89
90 /* salt size for verity mode */
91 #undef DEFAULT_VERITY_SALT_SIZE
92
93 /* Enable using of kernel userspace crypto */
94 #undef ENABLE_AF_ALG
95
96 /* Enable FIPS mode restrictions */
97 #undef ENABLE_FIPS
98
99 /* XTS mode - double default LUKS keysize if needed */
100 #undef ENABLE_LUKS_ADJUST_XTS_KEYSIZE
101
102 /* Define to 1 if translation of program messages to the user's native
103    language is requested. */
104 #undef ENABLE_NLS
105
106 /* Enable password quality checking using passwdqc library */
107 #undef ENABLE_PASSWDQC
108
109 /* Enable password quality checking using pwquality library */
110 #undef ENABLE_PWQUALITY
111
112 /* Requested gcrypt version */
113 #undef GCRYPT_REQ_VERSION
114
115 /* Define to 1 if you have the <argon2.h> header file. */
116 #undef HAVE_ARGON2_H
117
118 /* Define to 1 to use blkid for detection of disk signatures. */
119 #undef HAVE_BLKID
120
121 /* Define to 1 if you have the <blkid/blkid.h> header file. */
122 #undef HAVE_BLKID_BLKID_H
123
124 /* Define to 1 to use blkid_probe_step_back. */
125 #undef HAVE_BLKID_STEP_BACK
126
127 /* Define to 1 to use blkid_do_wipe. */
128 #undef HAVE_BLKID_WIPE
129
130 /* Define to 1 if you have the <byteswap.h> header file. */
131 #undef HAVE_BYTESWAP_H
132
133 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
134    CoreFoundation framework. */
135 #undef HAVE_CFLOCALECOPYCURRENT
136
137 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
138    the CoreFoundation framework. */
139 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
140
141 /* Define to 1 if you have the `clock_gettime' function. */
142 #undef HAVE_CLOCK_GETTIME
143
144 /* Define to 1 if you have the <ctype.h> header file. */
145 #undef HAVE_CTYPE_H
146
147 /* Define if the GNU dcgettext() function is already present or preinstalled.
148    */
149 #undef HAVE_DCGETTEXT
150
151 /* Define to 1 if you have the declaration of `blkid_do_probe', and to 0 if
152    you don't. */
153 #undef HAVE_DECL_BLKID_DO_PROBE
154
155 /* Define to 1 if you have the declaration of `blkid_do_safeprobe', and to 0
156    if you don't. */
157 #undef HAVE_DECL_BLKID_DO_SAFEPROBE
158
159 /* Define to 1 if you have the declaration of
160    `blkid_probe_filter_superblocks_type', and to 0 if you don't. */
161 #undef HAVE_DECL_BLKID_PROBE_FILTER_SUPERBLOCKS_TYPE
162
163 /* Define to 1 if you have the declaration of `blkid_probe_lookup_value ', and
164    to 0 if you don't. */
165 #undef HAVE_DECL_BLKID_PROBE_LOOKUP_VALUE__________
166
167 /* Define to 1 if you have the declaration of `blkid_probe_set_device', and to
168    0 if you don't. */
169 #undef HAVE_DECL_BLKID_PROBE_SET_DEVICE
170
171 /* Define to 1 if you have the declaration of `blkid_reset_probe', and to 0 if
172    you don't. */
173 #undef HAVE_DECL_BLKID_RESET_PROBE
174
175 /* Define to 1 if you have the declaration of `dm_device_get_name', and to 0
176    if you don't. */
177 #undef HAVE_DECL_DM_DEVICE_GET_NAME
178
179 /* Define to 1 if you have the declaration of `DM_DEVICE_GET_TARGET_VERSION',
180    and to 0 if you don't. */
181 #undef HAVE_DECL_DM_DEVICE_GET_TARGET_VERSION
182
183 /* Define to 1 if you have the declaration of `dm_device_has_holders', and to
184    0 if you don't. */
185 #undef HAVE_DECL_DM_DEVICE_HAS_HOLDERS
186
187 /* Define to 1 if you have the declaration of `dm_device_has_mounted_fs', and
188    to 0 if you don't. */
189 #undef HAVE_DECL_DM_DEVICE_HAS_MOUNTED_FS
190
191 /* Define to 1 if you have the declaration of `dm_task_deferred_remove', and
192    to 0 if you don't. */
193 #undef HAVE_DECL_DM_TASK_DEFERRED_REMOVE
194
195 /* Define to 1 if you have the declaration of `dm_task_retry_remove', and to 0
196    if you don't. */
197 #undef HAVE_DECL_DM_TASK_RETRY_REMOVE
198
199 /* Define to 1 if you have the declaration of `dm_task_secure_data', and to 0
200    if you don't. */
201 #undef HAVE_DECL_DM_TASK_SECURE_DATA
202
203 /* Define to 1 if you have the declaration of
204    `DM_UDEV_DISABLE_DISK_RULES_FLAG', and to 0 if you don't. */
205 #undef HAVE_DECL_DM_UDEV_DISABLE_DISK_RULES_FLAG
206
207 /* Define to 1 if you have the declaration of `GCRY_CIPHER_MODE_XTS', and to 0
208    if you don't. */
209 #undef HAVE_DECL_GCRY_CIPHER_MODE_XTS
210
211 /* Define to 1 if you have the declaration of `json_object_deep_copy', and to
212    0 if you don't. */
213 #undef HAVE_DECL_JSON_OBJECT_DEEP_COPY
214
215 /* Define to 1 if you have the declaration of `json_object_object_add_ex', and
216    to 0 if you don't. */
217 #undef HAVE_DECL_JSON_OBJECT_OBJECT_ADD_EX
218
219 /* Define to 1 if you have the declaration of `NSS_GetVersion', and to 0 if
220    you don't. */
221 #undef HAVE_DECL_NSS_GETVERSION
222
223 /* Define to 1 if you have the declaration of `O_CLOEXEC', and to 0 if you
224    don't. */
225 #undef HAVE_DECL_O_CLOEXEC
226
227 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
228    don't. */
229 #undef HAVE_DECL_STRERROR_R
230
231 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
232    */
233 #undef HAVE_DIRENT_H
234
235 /* Define to 1 if you have the <dlfcn.h> header file. */
236 #undef HAVE_DLFCN_H
237
238 /* Define to 1 if you have the <endian.h> header file. */
239 #undef HAVE_ENDIAN_H
240
241 /* Define to 1 if you have the `explicit_bzero' function. */
242 #undef HAVE_EXPLICIT_BZERO
243
244 /* Define to 1 if you have the <fcntl.h> header file. */
245 #undef HAVE_FCNTL_H
246
247 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
248 #undef HAVE_FSEEKO
249
250 /* Define if the GNU gettext() function is already present or preinstalled. */
251 #undef HAVE_GETTEXT
252
253 /* Define if you have the iconv() function and it works. */
254 #undef HAVE_ICONV
255
256 /* Define to 1 if you have the <inttypes.h> header file. */
257 #undef HAVE_INTTYPES_H
258
259 /* Define to 1 if the system has the type `key_serial_t'. */
260 #undef HAVE_KEY_SERIAL_T
261
262 /* Define to 1 if you have the `devmapper' library (-ldevmapper). */
263 #undef HAVE_LIBDEVMAPPER
264
265 /* Define to 1 if you have the `gcrypt' library (-lgcrypt). */
266 #undef HAVE_LIBGCRYPT
267
268 /* Define to 1 if you have the `nettle' library (-lnettle). */
269 #undef HAVE_LIBNETTLE
270
271 /* Define to 1 if you have the `popt' library (-lpopt). */
272 #undef HAVE_LIBPOPT
273
274 /* Define to 1 if you have the `selinux' library (-lselinux). */
275 #undef HAVE_LIBSELINUX
276
277 /* Define to 1 if you have the `sepol' library (-lsepol). */
278 #undef HAVE_LIBSEPOL
279
280 /* Define to 1 if you have the `uuid' library (-luuid). */
281 #undef HAVE_LIBUUID
282
283 /* Define to 1 if you have the <linux/if_alg.h> header file. */
284 #undef HAVE_LINUX_IF_ALG_H
285
286 /* Define to 1 if you have the <linux/keyctl.h> header file. */
287 #undef HAVE_LINUX_KEYCTL_H
288
289 /* Define to 1 if you have the <locale.h> header file. */
290 #undef HAVE_LOCALE_H
291
292 /* Define to 1 if you have the <malloc.h> header file. */
293 #undef HAVE_MALLOC_H
294
295 /* Define to 1 if you have the <memory.h> header file. */
296 #undef HAVE_MEMORY_H
297
298 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
299 #undef HAVE_NDIR_H
300
301 /* Define to 1 if you have the <nettle/sha.h> header file. */
302 #undef HAVE_NETTLE_SHA_H
303
304 /* Define to 1 if you have the <nettle/version.h> header file. */
305 #undef HAVE_NETTLE_VERSION_H
306
307 /* Define to 1 if you have the `posix_fallocate' function. */
308 #undef HAVE_POSIX_FALLOCATE
309
310 /* Define to 1 if you have the `posix_memalign' function. */
311 #undef HAVE_POSIX_MEMALIGN
312
313 /* Define to 1 if you have the <stdint.h> header file. */
314 #undef HAVE_STDINT_H
315
316 /* Define to 1 if you have the <stdlib.h> header file. */
317 #undef HAVE_STDLIB_H
318
319 /* Define to 1 if you have the `strerror_r' function. */
320 #undef HAVE_STRERROR_R
321
322 /* Define to 1 if you have the <strings.h> header file. */
323 #undef HAVE_STRINGS_H
324
325 /* Define to 1 if you have the <string.h> header file. */
326 #undef HAVE_STRING_H
327
328 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
329    */
330 #undef HAVE_SYS_DIR_H
331
332 /* Define to 1 if you have the <sys/ioctl.h> header file. */
333 #undef HAVE_SYS_IOCTL_H
334
335 /* Define to 1 if you have the <sys/mman.h> header file. */
336 #undef HAVE_SYS_MMAN_H
337
338 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
339    */
340 #undef HAVE_SYS_NDIR_H
341
342 /* Define to 1 if you have the <sys/statvfs.h> header file. */
343 #undef HAVE_SYS_STATVFS_H
344
345 /* Define to 1 if you have the <sys/stat.h> header file. */
346 #undef HAVE_SYS_STAT_H
347
348 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
349 #undef HAVE_SYS_SYSMACROS_H
350
351 /* Define to 1 if you have the <sys/types.h> header file. */
352 #undef HAVE_SYS_TYPES_H
353
354 /* Define to 1 if you have the <unistd.h> header file. */
355 #undef HAVE_UNISTD_H
356
357 /* Define to 1 if you have the <uuid/uuid.h> header file. */
358 #undef HAVE_UUID_UUID_H
359
360 /* Define as const if the declaration of iconv() needs const. */
361 #undef ICONV_CONST
362
363 /* Enable kernel keyring service support */
364 #undef KERNEL_KEYRING
365
366 /* Define to the sub-directory where libtool stores uninstalled libraries. */
367 #undef LT_OBJDIR
368
369 /* Defined to 0 if not provided */
370 #undef O_CLOEXEC
371
372 /* Name of package */
373 #undef PACKAGE
374
375 /* Define to the address where bug reports for this package should be sent. */
376 #undef PACKAGE_BUGREPORT
377
378 /* Define to the full name of this package. */
379 #undef PACKAGE_NAME
380
381 /* Define to the full name and version of this package. */
382 #undef PACKAGE_STRING
383
384 /* Define to the one symbol short name of this package. */
385 #undef PACKAGE_TARNAME
386
387 /* Define to the home page for this package. */
388 #undef PACKAGE_URL
389
390 /* Define to the version of this package. */
391 #undef PACKAGE_VERSION
392
393 /* passwdqc library config file */
394 #undef PASSWDQC_CONFIG_FILE
395
396 /* Define to 1 if you have the ANSI C header files. */
397 #undef STDC_HEADERS
398
399 /* Define to 1 if strerror_r returns char *. */
400 #undef STRERROR_R_CHAR_P
401
402 /* Use internal Argon2 */
403 #undef USE_INTERNAL_ARGON2
404
405 /* Use internal PBKDF2 */
406 #undef USE_INTERNAL_PBKDF2
407
408 /* Enable extensions on AIX 3, Interix.  */
409 #ifndef _ALL_SOURCE
410 # undef _ALL_SOURCE
411 #endif
412 /* Enable GNU extensions on systems that have them.  */
413 #ifndef _GNU_SOURCE
414 # undef _GNU_SOURCE
415 #endif
416 /* Enable threading extensions on Solaris.  */
417 #ifndef _POSIX_PTHREAD_SEMANTICS
418 # undef _POSIX_PTHREAD_SEMANTICS
419 #endif
420 /* Enable extensions on HP NonStop.  */
421 #ifndef _TANDEM_SOURCE
422 # undef _TANDEM_SOURCE
423 #endif
424 /* Enable general extensions on Solaris.  */
425 #ifndef __EXTENSIONS__
426 # undef __EXTENSIONS__
427 #endif
428
429
430 /* Try to use udev synchronisation? */
431 #undef USE_UDEV
432
433 /* Version number of package */
434 #undef VERSION
435
436 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
437    significant byte first (like Motorola and SPARC, unlike Intel). */
438 #if defined AC_APPLE_UNIVERSAL_BUILD
439 # if defined __BIG_ENDIAN__
440 #  define WORDS_BIGENDIAN 1
441 # endif
442 #else
443 # ifndef WORDS_BIGENDIAN
444 #  undef WORDS_BIGENDIAN
445 # endif
446 #endif
447
448 /* Enable large inode numbers on Mac OS X 10.5.  */
449 #ifndef _DARWIN_USE_64_BIT_INODE
450 # define _DARWIN_USE_64_BIT_INODE 1
451 #endif
452
453 /* Number of bits in a file offset, on hosts where this is settable. */
454 #undef _FILE_OFFSET_BITS
455
456 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
457 #undef _LARGEFILE_SOURCE
458
459 /* Define for large files, on AIX-style hosts. */
460 #undef _LARGE_FILES
461
462 /* Define to 1 if on MINIX. */
463 #undef _MINIX
464
465 /* Define to 2 if the system does not provide POSIX.1 features except with
466    this defined. */
467 #undef _POSIX_1_SOURCE
468
469 /* Define to 1 if you need to in order for `stat' and other things to work. */
470 #undef _POSIX_SOURCE
471
472 /* Define to empty if `const' does not conform to ANSI C. */
473 #undef const
474
475 /* Define to `long int' if <sys/types.h> does not define. */
476 #undef off_t
477
478 /* Define to the equivalent of the C99 'restrict' keyword, or to
479    nothing if this is not supported.  Do not define if restrict is
480    supported directly.  */
481 #undef restrict
482 /* Work around a bug in Sun C++: it does not support _Restrict or
483    __restrict__, even though the corresponding Sun C compiler ends up with
484    "#define restrict _Restrict" or "#define restrict __restrict__" in the
485    previous line.  Perhaps some future version of Sun C++ will work with
486    restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
487 #if defined __SUNPRO_CC && !defined __RESTRICT
488 # define _Restrict
489 # define __restrict__
490 #endif