1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Define if building universal (internal helper macro) */
4 #undef AC_APPLE_UNIVERSAL_BUILD
6 /* maximum integritysetup keyfile size (in KiB) */
7 #undef DEFAULT_INTEGRITY_KEYFILE_SIZE_MAXKB
9 /* maximum keyfile size (in KiB) */
10 #undef DEFAULT_KEYFILE_SIZE_MAXKB
12 /* cipher for loop-AES mode */
13 #undef DEFAULT_LOOPAES_CIPHER
15 /* key length in bits for loop-AES mode */
16 #undef DEFAULT_LOOPAES_KEYBITS
18 /* cipher for LUKS1 */
19 #undef DEFAULT_LUKS1_CIPHER
21 /* hash function for LUKS1 header */
22 #undef DEFAULT_LUKS1_HASH
24 /* PBKDF2 iteration time for LUKS1 (in ms) */
25 #undef DEFAULT_LUKS1_ITER_TIME
27 /* key length in bits for LUKS1 */
28 #undef DEFAULT_LUKS1_KEYBITS
30 /* cipher mode for LUKS1 */
31 #undef DEFAULT_LUKS1_MODE
33 /* Argon2 PBKDF iteration time for LUKS2 (in ms) */
34 #undef DEFAULT_LUKS2_ITER_TIME
36 /* fallback cipher for LUKS2 keyslot (if data encryption is incompatible) */
37 #undef DEFAULT_LUKS2_KEYSLOT_CIPHER
39 /* fallback key size for LUKS2 keyslot (if data encryption is incompatible) */
40 #undef DEFAULT_LUKS2_KEYSLOT_KEYBITS
42 /* default luks2 locking directory permissions */
43 #undef DEFAULT_LUKS2_LOCK_DIR_PERMS
45 /* path to directory for LUKSv2 locks */
46 #undef DEFAULT_LUKS2_LOCK_PATH
48 /* Argon2 PBKDF memory cost for LUKS2 (in kB) */
49 #undef DEFAULT_LUKS2_MEMORY_KB
51 /* Argon2 PBKDF max parallel cost for LUKS2 (if CPUs available) */
52 #undef DEFAULT_LUKS2_PARALLEL_THREADS
54 /* Default PBKDF algorithm (pbkdf2 or argon2i/argon2id) for LUKS2 */
55 #undef DEFAULT_LUKS2_PBKDF
57 /* default LUKS format version */
58 #undef DEFAULT_LUKS_FORMAT
60 /* maximum passphrase size (in characters) */
61 #undef DEFAULT_PASSPHRASE_SIZE_MAX
63 /* cipher for plain mode */
64 #undef DEFAULT_PLAIN_CIPHER
66 /* password hashing function for plain mode */
67 #undef DEFAULT_PLAIN_HASH
69 /* key length in bits for plain mode */
70 #undef DEFAULT_PLAIN_KEYBITS
72 /* cipher mode for plain mode */
73 #undef DEFAULT_PLAIN_MODE
75 /* default RNG type for key generator */
78 /* override default path to directory with systemd temporary files */
79 #undef DEFAULT_TMPFILESDIR
81 /* data block size for verity mode */
82 #undef DEFAULT_VERITY_DATA_BLOCK
84 /* parity bytes for verity FEC */
85 #undef DEFAULT_VERITY_FEC_ROOTS
87 /* hash function for verity mode */
88 #undef DEFAULT_VERITY_HASH
90 /* hash block size for verity mode */
91 #undef DEFAULT_VERITY_HASH_BLOCK
93 /* salt size for verity mode */
94 #undef DEFAULT_VERITY_SALT_SIZE
96 /* Enable using of kernel userspace crypto */
99 /* Enable FIPS mode restrictions */
102 /* XTS mode - double default LUKS keysize if needed */
103 #undef ENABLE_LUKS_ADJUST_XTS_KEYSIZE
105 /* Define to 1 if translation of program messages to the user's native
106 language is requested. */
109 /* Enable password quality checking using passwdqc library */
110 #undef ENABLE_PASSWDQC
112 /* Enable password quality checking using pwquality library */
113 #undef ENABLE_PWQUALITY
115 /* Requested gcrypt version */
116 #undef GCRYPT_REQ_VERSION
118 /* Define to 1 if you have the <argon2.h> header file. */
121 /* Define to 1 to use blkid for detection of disk signatures. */
124 /* Define to 1 if you have the <blkid/blkid.h> header file. */
125 #undef HAVE_BLKID_BLKID_H
127 /* Define to 1 to use blkid_probe_step_back. */
128 #undef HAVE_BLKID_STEP_BACK
130 /* Define to 1 to use blkid_do_wipe. */
131 #undef HAVE_BLKID_WIPE
133 /* Define to 1 if you have the <byteswap.h> header file. */
134 #undef HAVE_BYTESWAP_H
136 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
137 CoreFoundation framework. */
138 #undef HAVE_CFLOCALECOPYCURRENT
140 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
141 the CoreFoundation framework. */
142 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
144 /* Define to 1 if you have the `clock_gettime' function. */
145 #undef HAVE_CLOCK_GETTIME
147 /* Define to 1 if you have the <ctype.h> header file. */
150 /* Define if the GNU dcgettext() function is already present or preinstalled.
152 #undef HAVE_DCGETTEXT
154 /* Define to 1 if you have the declaration of `blkid_do_probe', and to 0 if
156 #undef HAVE_DECL_BLKID_DO_PROBE
158 /* Define to 1 if you have the declaration of `blkid_do_safeprobe', and to 0
160 #undef HAVE_DECL_BLKID_DO_SAFEPROBE
162 /* Define to 1 if you have the declaration of
163 `blkid_probe_filter_superblocks_type', and to 0 if you don't. */
164 #undef HAVE_DECL_BLKID_PROBE_FILTER_SUPERBLOCKS_TYPE
166 /* Define to 1 if you have the declaration of `blkid_probe_lookup_value ', and
167 to 0 if you don't. */
168 #undef HAVE_DECL_BLKID_PROBE_LOOKUP_VALUE__________
170 /* Define to 1 if you have the declaration of `blkid_probe_set_device', and to
172 #undef HAVE_DECL_BLKID_PROBE_SET_DEVICE
174 /* Define to 1 if you have the declaration of `blkid_reset_probe', and to 0 if
176 #undef HAVE_DECL_BLKID_RESET_PROBE
178 /* Define to 1 if you have the declaration of `dm_device_get_name', and to 0
180 #undef HAVE_DECL_DM_DEVICE_GET_NAME
182 /* Define to 1 if you have the declaration of `DM_DEVICE_GET_TARGET_VERSION',
183 and to 0 if you don't. */
184 #undef HAVE_DECL_DM_DEVICE_GET_TARGET_VERSION
186 /* Define to 1 if you have the declaration of `dm_device_has_holders', and to
188 #undef HAVE_DECL_DM_DEVICE_HAS_HOLDERS
190 /* Define to 1 if you have the declaration of `dm_device_has_mounted_fs', and
191 to 0 if you don't. */
192 #undef HAVE_DECL_DM_DEVICE_HAS_MOUNTED_FS
194 /* Define to 1 if you have the declaration of `dm_task_deferred_remove', and
195 to 0 if you don't. */
196 #undef HAVE_DECL_DM_TASK_DEFERRED_REMOVE
198 /* Define to 1 if you have the declaration of `dm_task_retry_remove', and to 0
200 #undef HAVE_DECL_DM_TASK_RETRY_REMOVE
202 /* Define to 1 if you have the declaration of `dm_task_secure_data', and to 0
204 #undef HAVE_DECL_DM_TASK_SECURE_DATA
206 /* Define to 1 if you have the declaration of
207 `DM_UDEV_DISABLE_DISK_RULES_FLAG', and to 0 if you don't. */
208 #undef HAVE_DECL_DM_UDEV_DISABLE_DISK_RULES_FLAG
210 /* Define to 1 if you have the declaration of `GCRY_CIPHER_MODE_XTS', and to 0
212 #undef HAVE_DECL_GCRY_CIPHER_MODE_XTS
214 /* Define to 1 if you have the declaration of `json_object_deep_copy', and to
216 #undef HAVE_DECL_JSON_OBJECT_DEEP_COPY
218 /* Define to 1 if you have the declaration of `json_object_object_add_ex', and
219 to 0 if you don't. */
220 #undef HAVE_DECL_JSON_OBJECT_OBJECT_ADD_EX
222 /* Define to 1 if you have the declaration of `NSS_GetVersion', and to 0 if
224 #undef HAVE_DECL_NSS_GETVERSION
226 /* Define to 1 if you have the declaration of `O_CLOEXEC', and to 0 if you
228 #undef HAVE_DECL_O_CLOEXEC
230 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
232 #undef HAVE_DECL_STRERROR_R
234 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
238 /* Define to 1 if you have the <dlfcn.h> header file. */
241 /* Define to 1 if you have the <endian.h> header file. */
244 /* Define to 1 if you have the `explicit_bzero' function. */
245 #undef HAVE_EXPLICIT_BZERO
247 /* Define to 1 if you have the <fcntl.h> header file. */
250 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
253 /* Define if the GNU gettext() function is already present or preinstalled. */
256 /* Define if you have the iconv() function and it works. */
259 /* Define to 1 if you have the <inttypes.h> header file. */
260 #undef HAVE_INTTYPES_H
262 /* Define to 1 if the system has the type `key_serial_t'. */
263 #undef HAVE_KEY_SERIAL_T
265 /* Define to 1 if you have the `devmapper' library (-ldevmapper). */
266 #undef HAVE_LIBDEVMAPPER
268 /* Define to 1 if you have the `gcrypt' library (-lgcrypt). */
269 #undef HAVE_LIBGCRYPT
271 /* Define to 1 if you have the `nettle' library (-lnettle). */
272 #undef HAVE_LIBNETTLE
274 /* Define to 1 if you have the `popt' library (-lpopt). */
277 /* Define to 1 if you have the `selinux' library (-lselinux). */
278 #undef HAVE_LIBSELINUX
280 /* Define to 1 if you have the `sepol' library (-lsepol). */
283 /* Define to 1 if you have the `uuid' library (-luuid). */
286 /* Define to 1 if you have the <linux/if_alg.h> header file. */
287 #undef HAVE_LINUX_IF_ALG_H
289 /* Define to 1 if you have the <linux/keyctl.h> header file. */
290 #undef HAVE_LINUX_KEYCTL_H
292 /* Define to 1 if you have the <locale.h> header file. */
295 /* Define to 1 if you have the <malloc.h> header file. */
298 /* Define to 1 if you have the <minix/config.h> header file. */
299 #undef HAVE_MINIX_CONFIG_H
301 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
304 /* Define to 1 if you have the <nettle/sha.h> header file. */
305 #undef HAVE_NETTLE_SHA_H
307 /* Define to 1 if you have the <nettle/version.h> header file. */
308 #undef HAVE_NETTLE_VERSION_H
310 /* Define to 1 if you have the `passwdqc_params_free' function. */
311 #undef HAVE_PASSWDQC_PARAMS_FREE
313 /* Define to 1 if you have the `posix_fallocate' function. */
314 #undef HAVE_POSIX_FALLOCATE
316 /* Define to 1 if you have the `posix_memalign' function. */
317 #undef HAVE_POSIX_MEMALIGN
319 /* Define to 1 if you have the <stdint.h> header file. */
322 /* Define to 1 if you have the <stdio.h> header file. */
325 /* Define to 1 if you have the <stdlib.h> header file. */
328 /* Define if you have `strerror_r'. */
329 #undef HAVE_STRERROR_R
331 /* Define to 1 if you have the <strings.h> header file. */
332 #undef HAVE_STRINGS_H
334 /* Define to 1 if you have the <string.h> header file. */
337 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
339 #undef HAVE_SYS_DIR_H
341 /* Define to 1 if you have the <sys/ioctl.h> header file. */
342 #undef HAVE_SYS_IOCTL_H
344 /* Define to 1 if you have the <sys/mman.h> header file. */
345 #undef HAVE_SYS_MMAN_H
347 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
349 #undef HAVE_SYS_NDIR_H
351 /* Define to 1 if you have the <sys/statvfs.h> header file. */
352 #undef HAVE_SYS_STATVFS_H
354 /* Define to 1 if you have the <sys/stat.h> header file. */
355 #undef HAVE_SYS_STAT_H
357 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
358 #undef HAVE_SYS_SYSMACROS_H
360 /* Define to 1 if you have the <sys/types.h> header file. */
361 #undef HAVE_SYS_TYPES_H
363 /* Define to 1 if you have the <unistd.h> header file. */
366 /* Define to 1 if you have the <uuid/uuid.h> header file. */
367 #undef HAVE_UUID_UUID_H
369 /* Define to 1 if you have the <wchar.h> header file. */
372 /* Define as const if the declaration of iconv() needs const. */
375 /* Enable kernel keyring service support */
376 #undef KERNEL_KEYRING
378 /* Define to the sub-directory where libtool stores uninstalled libraries. */
381 /* Defined to 0 if not provided */
384 /* Name of package */
387 /* Define to the address where bug reports for this package should be sent. */
388 #undef PACKAGE_BUGREPORT
390 /* Define to the full name of this package. */
393 /* Define to the full name and version of this package. */
394 #undef PACKAGE_STRING
396 /* Define to the one symbol short name of this package. */
397 #undef PACKAGE_TARNAME
399 /* Define to the home page for this package. */
402 /* Define to the version of this package. */
403 #undef PACKAGE_VERSION
405 /* passwdqc library config file */
406 #undef PASSWDQC_CONFIG_FILE
408 /* Define to 1 if all of the C90 standard headers exist (not just the ones
409 required in a freestanding environment). This macro is provided for
410 backward compatibility; new code need not use it. */
413 /* Define to 1 if strerror_r returns char *. */
414 #undef STRERROR_R_CHAR_P
416 /* Use internal Argon2 */
417 #undef USE_INTERNAL_ARGON2
419 /* Use internal PBKDF2 */
420 #undef USE_INTERNAL_PBKDF2
422 /* Use LUKS2 online reencryption extension */
423 #undef USE_LUKS2_REENCRYPTION
425 /* Enable extensions on AIX 3, Interix. */
429 /* Enable general extensions on macOS. */
430 #ifndef _DARWIN_C_SOURCE
431 # undef _DARWIN_C_SOURCE
433 /* Enable general extensions on Solaris. */
434 #ifndef __EXTENSIONS__
435 # undef __EXTENSIONS__
437 /* Enable GNU extensions on systems that have them. */
441 /* Enable X/Open compliant socket functions that do not require linking
442 with -lxnet on HP-UX 11.11. */
443 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
444 # undef _HPUX_ALT_XOPEN_SOCKET_API
446 /* Identify the host operating system as Minix.
447 This macro does not affect the system headers' behavior.
448 A future release of Autoconf may stop defining this macro. */
452 /* Enable general extensions on NetBSD.
453 Enable NetBSD compatibility extensions on Minix. */
454 #ifndef _NETBSD_SOURCE
455 # undef _NETBSD_SOURCE
457 /* Enable OpenBSD compatibility extensions on NetBSD.
458 Oddly enough, this does nothing on OpenBSD. */
459 #ifndef _OPENBSD_SOURCE
460 # undef _OPENBSD_SOURCE
462 /* Define to 1 if needed for POSIX-compatible behavior. */
463 #ifndef _POSIX_SOURCE
464 # undef _POSIX_SOURCE
466 /* Define to 2 if needed for POSIX-compatible behavior. */
467 #ifndef _POSIX_1_SOURCE
468 # undef _POSIX_1_SOURCE
470 /* Enable POSIX-compatible threading on Solaris. */
471 #ifndef _POSIX_PTHREAD_SEMANTICS
472 # undef _POSIX_PTHREAD_SEMANTICS
474 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
475 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
476 # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
478 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
479 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
480 # undef __STDC_WANT_IEC_60559_BFP_EXT__
482 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
483 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
484 # undef __STDC_WANT_IEC_60559_DFP_EXT__
486 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
487 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
488 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
490 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
491 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
492 # undef __STDC_WANT_IEC_60559_TYPES_EXT__
494 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
495 #ifndef __STDC_WANT_LIB_EXT2__
496 # undef __STDC_WANT_LIB_EXT2__
498 /* Enable extensions specified by ISO/IEC 24747:2009. */
499 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
500 # undef __STDC_WANT_MATH_SPEC_FUNCS__
502 /* Enable extensions on HP NonStop. */
503 #ifndef _TANDEM_SOURCE
504 # undef _TANDEM_SOURCE
506 /* Enable X/Open extensions. Define to 500 only if necessary
507 to make mbstate_t available. */
508 #ifndef _XOPEN_SOURCE
509 # undef _XOPEN_SOURCE
513 /* Try to use udev synchronisation? */
516 /* Version number of package */
519 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
520 significant byte first (like Motorola and SPARC, unlike Intel). */
521 #if defined AC_APPLE_UNIVERSAL_BUILD
522 # if defined __BIG_ENDIAN__
523 # define WORDS_BIGENDIAN 1
526 # ifndef WORDS_BIGENDIAN
527 # undef WORDS_BIGENDIAN
531 /* Number of bits in a file offset, on hosts where this is settable. */
532 #undef _FILE_OFFSET_BITS
534 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
535 #undef _LARGEFILE_SOURCE
537 /* Define for large files, on AIX-style hosts. */
540 /* Define to empty if `const' does not conform to ANSI C. */
543 /* Define to `long int' if <sys/types.h> does not define. */
546 /* Define to the equivalent of the C99 'restrict' keyword, or to
547 nothing if this is not supported. Do not define if restrict is
548 supported only directly. */
550 /* Work around a bug in older versions of Sun C++, which did not
551 #define __restrict__ or support _Restrict or __restrict__
552 even though the corresponding Sun C compiler ended up with
553 "#define restrict _Restrict" or "#define restrict __restrict__"
554 in the previous line. This workaround can be removed once
555 we assume Oracle Developer Studio 12.5 (2016) or later. */
556 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
558 # define __restrict__