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 keyfile size (in KiB) */
7 #undef DEFAULT_KEYFILE_SIZE_MAXKB
9 /* cipher for loop-AES mode */
10 #undef DEFAULT_LOOPAES_CIPHER
12 /* key length in bits for loop-AES mode */
13 #undef DEFAULT_LOOPAES_KEYBITS
15 /* cipher for LUKS1 */
16 #undef DEFAULT_LUKS1_CIPHER
18 /* hash function for LUKS1 header */
19 #undef DEFAULT_LUKS1_HASH
21 /* PBKDF2 iteration time for LUKS1 (in ms) */
22 #undef DEFAULT_LUKS1_ITER_TIME
24 /* key length in bits for LUKS1 */
25 #undef DEFAULT_LUKS1_KEYBITS
27 /* cipher mode for LUKS1 */
28 #undef DEFAULT_LUKS1_MODE
30 /* Argon2 PBKDF iteration time for LUKS2 (in ms) */
31 #undef DEFAULT_LUKS2_ITER_TIME
33 /* fallback cipher for LUKS2 keyslot (if data encryption is incompatible) */
34 #undef DEFAULT_LUKS2_KEYSLOT_CIPHER
36 /* fallback key size for LUKS2 keyslot (if data encryption is incompatible) */
37 #undef DEFAULT_LUKS2_KEYSLOT_KEYBITS
39 /* default luks2 locking directory permissions */
40 #undef DEFAULT_LUKS2_LOCK_DIR_PERMS
42 /* path to directory for LUKSv2 locks */
43 #undef DEFAULT_LUKS2_LOCK_PATH
45 /* Argon2 PBKDF memory cost for LUKS2 (in kB) */
46 #undef DEFAULT_LUKS2_MEMORY_KB
48 /* Argon2 PBKDF max parallel cost for LUKS2 (if CPUs available) */
49 #undef DEFAULT_LUKS2_PARALLEL_THREADS
51 /* Default PBKDF algorithm (pbkdf2 or argon2i/argon2id) for LUKS2 */
52 #undef DEFAULT_LUKS2_PBKDF
54 /* default LUKS format version */
55 #undef DEFAULT_LUKS_FORMAT
57 /* maximum keyfile size (in characters) */
58 #undef DEFAULT_PASSPHRASE_SIZE_MAX
60 /* cipher for plain mode */
61 #undef DEFAULT_PLAIN_CIPHER
63 /* password hashing function for plain mode */
64 #undef DEFAULT_PLAIN_HASH
66 /* key length in bits for plain mode */
67 #undef DEFAULT_PLAIN_KEYBITS
69 /* cipher mode for plain mode */
70 #undef DEFAULT_PLAIN_MODE
72 /* default RNG type for key generator */
75 /* override default path to directory with systemd temporary files */
76 #undef DEFAULT_TMPFILESDIR
78 /* data block size for verity mode */
79 #undef DEFAULT_VERITY_DATA_BLOCK
81 /* parity bytes for verity FEC */
82 #undef DEFAULT_VERITY_FEC_ROOTS
84 /* hash function for verity mode */
85 #undef DEFAULT_VERITY_HASH
87 /* hash block size for verity mode */
88 #undef DEFAULT_VERITY_HASH_BLOCK
90 /* salt size for verity mode */
91 #undef DEFAULT_VERITY_SALT_SIZE
93 /* Enable using of kernel userspace crypto */
96 /* Enable FIPS mode restrictions */
99 /* XTS mode - double default LUKS keysize if needed */
100 #undef ENABLE_LUKS_ADJUST_XTS_KEYSIZE
102 /* Define to 1 if translation of program messages to the user's native
103 language is requested. */
106 /* Enable password quality checking using passwdqc library */
107 #undef ENABLE_PASSWDQC
109 /* Enable password quality checking using pwquality library */
110 #undef ENABLE_PWQUALITY
112 /* Requested gcrypt version */
113 #undef GCRYPT_REQ_VERSION
115 /* Define to 1 if you have the <argon2.h> header file. */
118 /* Define to 1 to use blkid for detection of disk signatures. */
121 /* Define to 1 if you have the <blkid/blkid.h> header file. */
122 #undef HAVE_BLKID_BLKID_H
124 /* Define to 1 to use blkid_probe_step_back. */
125 #undef HAVE_BLKID_STEP_BACK
127 /* Define to 1 to use blkid_do_wipe. */
128 #undef HAVE_BLKID_WIPE
130 /* Define to 1 if you have the <byteswap.h> header file. */
131 #undef HAVE_BYTESWAP_H
133 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
134 CoreFoundation framework. */
135 #undef HAVE_CFLOCALECOPYCURRENT
137 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
138 the CoreFoundation framework. */
139 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
141 /* Define to 1 if you have the `clock_gettime' function. */
142 #undef HAVE_CLOCK_GETTIME
144 /* Define to 1 if you have the <ctype.h> header file. */
147 /* Define if the GNU dcgettext() function is already present or preinstalled.
149 #undef HAVE_DCGETTEXT
151 /* Define to 1 if you have the declaration of `blkid_do_probe', and to 0 if
153 #undef HAVE_DECL_BLKID_DO_PROBE
155 /* Define to 1 if you have the declaration of `blkid_do_safeprobe', and to 0
157 #undef HAVE_DECL_BLKID_DO_SAFEPROBE
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
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__________
167 /* Define to 1 if you have the declaration of `blkid_probe_set_device', and to
169 #undef HAVE_DECL_BLKID_PROBE_SET_DEVICE
171 /* Define to 1 if you have the declaration of `blkid_reset_probe', and to 0 if
173 #undef HAVE_DECL_BLKID_RESET_PROBE
175 /* Define to 1 if you have the declaration of `dm_device_get_name', and to 0
177 #undef HAVE_DECL_DM_DEVICE_GET_NAME
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
183 /* Define to 1 if you have the declaration of `dm_device_has_holders', and to
185 #undef HAVE_DECL_DM_DEVICE_HAS_HOLDERS
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
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
195 /* Define to 1 if you have the declaration of `dm_task_retry_remove', and to 0
197 #undef HAVE_DECL_DM_TASK_RETRY_REMOVE
199 /* Define to 1 if you have the declaration of `dm_task_secure_data', and to 0
201 #undef HAVE_DECL_DM_TASK_SECURE_DATA
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
207 /* Define to 1 if you have the declaration of `GCRY_CIPHER_MODE_XTS', and to 0
209 #undef HAVE_DECL_GCRY_CIPHER_MODE_XTS
211 /* Define to 1 if you have the declaration of `json_object_deep_copy', and to
213 #undef HAVE_DECL_JSON_OBJECT_DEEP_COPY
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
219 /* Define to 1 if you have the declaration of `NSS_GetVersion', and to 0 if
221 #undef HAVE_DECL_NSS_GETVERSION
223 /* Define to 1 if you have the declaration of `O_CLOEXEC', and to 0 if you
225 #undef HAVE_DECL_O_CLOEXEC
227 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
229 #undef HAVE_DECL_STRERROR_R
231 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
235 /* Define to 1 if you have the <dlfcn.h> header file. */
238 /* Define to 1 if you have the <endian.h> header file. */
241 /* Define to 1 if you have the `explicit_bzero' function. */
242 #undef HAVE_EXPLICIT_BZERO
244 /* Define to 1 if you have the <fcntl.h> header file. */
247 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
250 /* Define if the GNU gettext() function is already present or preinstalled. */
253 /* Define if you have the iconv() function and it works. */
256 /* Define to 1 if you have the <inttypes.h> header file. */
257 #undef HAVE_INTTYPES_H
259 /* Define to 1 if the system has the type `key_serial_t'. */
260 #undef HAVE_KEY_SERIAL_T
262 /* Define to 1 if you have the `devmapper' library (-ldevmapper). */
263 #undef HAVE_LIBDEVMAPPER
265 /* Define to 1 if you have the `gcrypt' library (-lgcrypt). */
266 #undef HAVE_LIBGCRYPT
268 /* Define to 1 if you have the `nettle' library (-lnettle). */
269 #undef HAVE_LIBNETTLE
271 /* Define to 1 if you have the `popt' library (-lpopt). */
274 /* Define to 1 if you have the `selinux' library (-lselinux). */
275 #undef HAVE_LIBSELINUX
277 /* Define to 1 if you have the `sepol' library (-lsepol). */
280 /* Define to 1 if you have the `uuid' library (-luuid). */
283 /* Define to 1 if you have the <linux/if_alg.h> header file. */
284 #undef HAVE_LINUX_IF_ALG_H
286 /* Define to 1 if you have the <linux/keyctl.h> header file. */
287 #undef HAVE_LINUX_KEYCTL_H
289 /* Define to 1 if you have the <locale.h> header file. */
292 /* Define to 1 if you have the <malloc.h> header file. */
295 /* Define to 1 if you have the <memory.h> header file. */
298 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
301 /* Define to 1 if you have the <nettle/sha.h> header file. */
302 #undef HAVE_NETTLE_SHA_H
304 /* Define to 1 if you have the <nettle/version.h> header file. */
305 #undef HAVE_NETTLE_VERSION_H
307 /* Define to 1 if you have the `posix_fallocate' function. */
308 #undef HAVE_POSIX_FALLOCATE
310 /* Define to 1 if you have the `posix_memalign' function. */
311 #undef HAVE_POSIX_MEMALIGN
313 /* Define to 1 if you have the <stdint.h> header file. */
316 /* Define to 1 if you have the <stdlib.h> header file. */
319 /* Define to 1 if you have the `strerror_r' function. */
320 #undef HAVE_STRERROR_R
322 /* Define to 1 if you have the <strings.h> header file. */
323 #undef HAVE_STRINGS_H
325 /* Define to 1 if you have the <string.h> header file. */
328 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
330 #undef HAVE_SYS_DIR_H
332 /* Define to 1 if you have the <sys/ioctl.h> header file. */
333 #undef HAVE_SYS_IOCTL_H
335 /* Define to 1 if you have the <sys/mman.h> header file. */
336 #undef HAVE_SYS_MMAN_H
338 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
340 #undef HAVE_SYS_NDIR_H
342 /* Define to 1 if you have the <sys/statvfs.h> header file. */
343 #undef HAVE_SYS_STATVFS_H
345 /* Define to 1 if you have the <sys/stat.h> header file. */
346 #undef HAVE_SYS_STAT_H
348 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
349 #undef HAVE_SYS_SYSMACROS_H
351 /* Define to 1 if you have the <sys/types.h> header file. */
352 #undef HAVE_SYS_TYPES_H
354 /* Define to 1 if you have the <unistd.h> header file. */
357 /* Define to 1 if you have the <uuid/uuid.h> header file. */
358 #undef HAVE_UUID_UUID_H
360 /* Define as const if the declaration of iconv() needs const. */
363 /* Enable kernel keyring service support */
364 #undef KERNEL_KEYRING
366 /* Define to the sub-directory where libtool stores uninstalled libraries. */
369 /* Defined to 0 if not provided */
372 /* Name of package */
375 /* Define to the address where bug reports for this package should be sent. */
376 #undef PACKAGE_BUGREPORT
378 /* Define to the full name of this package. */
381 /* Define to the full name and version of this package. */
382 #undef PACKAGE_STRING
384 /* Define to the one symbol short name of this package. */
385 #undef PACKAGE_TARNAME
387 /* Define to the home page for this package. */
390 /* Define to the version of this package. */
391 #undef PACKAGE_VERSION
393 /* passwdqc library config file */
394 #undef PASSWDQC_CONFIG_FILE
396 /* Define to 1 if you have the ANSI C header files. */
399 /* Define to 1 if strerror_r returns char *. */
400 #undef STRERROR_R_CHAR_P
402 /* Use internal Argon2 */
403 #undef USE_INTERNAL_ARGON2
405 /* Use internal PBKDF2 */
406 #undef USE_INTERNAL_PBKDF2
408 /* Enable extensions on AIX 3, Interix. */
412 /* Enable GNU extensions on systems that have them. */
416 /* Enable threading extensions on Solaris. */
417 #ifndef _POSIX_PTHREAD_SEMANTICS
418 # undef _POSIX_PTHREAD_SEMANTICS
420 /* Enable extensions on HP NonStop. */
421 #ifndef _TANDEM_SOURCE
422 # undef _TANDEM_SOURCE
424 /* Enable general extensions on Solaris. */
425 #ifndef __EXTENSIONS__
426 # undef __EXTENSIONS__
430 /* Try to use udev synchronisation? */
433 /* Version number of package */
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
443 # ifndef WORDS_BIGENDIAN
444 # undef WORDS_BIGENDIAN
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
453 /* Number of bits in a file offset, on hosts where this is settable. */
454 #undef _FILE_OFFSET_BITS
456 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
457 #undef _LARGEFILE_SOURCE
459 /* Define for large files, on AIX-style hosts. */
462 /* Define to 1 if on MINIX. */
465 /* Define to 2 if the system does not provide POSIX.1 features except with
467 #undef _POSIX_1_SOURCE
469 /* Define to 1 if you need to in order for `stat' and other things to work. */
472 /* Define to empty if `const' does not conform to ANSI C. */
475 /* Define to `long int' if <sys/types.h> does not define. */
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. */
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
489 # define __restrict__