"Fossies" - the Fresh Open Source Software Archive 
Member "cryptsetup-2.4.3/config.h.in" (13 Jan 2022, 16774 Bytes) of package /linux/misc/cryptsetup-2.4.3.tar.xz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "config.h.in":
2.4.2_vs_2.4.3.
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 integritysetup keyfile size (in KiB) */
7 #undef DEFAULT_INTEGRITY_KEYFILE_SIZE_MAXKB
8
9 /* maximum keyfile size (in KiB) */
10 #undef DEFAULT_KEYFILE_SIZE_MAXKB
11
12 /* cipher for loop-AES mode */
13 #undef DEFAULT_LOOPAES_CIPHER
14
15 /* key length in bits for loop-AES mode */
16 #undef DEFAULT_LOOPAES_KEYBITS
17
18 /* cipher for LUKS1 */
19 #undef DEFAULT_LUKS1_CIPHER
20
21 /* hash function for LUKS1 header */
22 #undef DEFAULT_LUKS1_HASH
23
24 /* PBKDF2 iteration time for LUKS1 (in ms) */
25 #undef DEFAULT_LUKS1_ITER_TIME
26
27 /* key length in bits for LUKS1 */
28 #undef DEFAULT_LUKS1_KEYBITS
29
30 /* cipher mode for LUKS1 */
31 #undef DEFAULT_LUKS1_MODE
32
33 /* path to directory with LUKSv2 external token handlers (plugins) */
34 #undef DEFAULT_LUKS2_EXTERNAL_TOKENS_PATH
35
36 /* Argon2 PBKDF iteration time for LUKS2 (in ms) */
37 #undef DEFAULT_LUKS2_ITER_TIME
38
39 /* fallback cipher for LUKS2 keyslot (if data encryption is incompatible) */
40 #undef DEFAULT_LUKS2_KEYSLOT_CIPHER
41
42 /* fallback key size for LUKS2 keyslot (if data encryption is incompatible) */
43 #undef DEFAULT_LUKS2_KEYSLOT_KEYBITS
44
45 /* default luks2 locking directory permissions */
46 #undef DEFAULT_LUKS2_LOCK_DIR_PERMS
47
48 /* path to directory for LUKSv2 locks */
49 #undef DEFAULT_LUKS2_LOCK_PATH
50
51 /* Argon2 PBKDF memory cost for LUKS2 (in kB) */
52 #undef DEFAULT_LUKS2_MEMORY_KB
53
54 /* Argon2 PBKDF max parallel cost for LUKS2 (if CPUs available) */
55 #undef DEFAULT_LUKS2_PARALLEL_THREADS
56
57 /* Default PBKDF algorithm (pbkdf2 or argon2i/argon2id) for LUKS2 */
58 #undef DEFAULT_LUKS2_PBKDF
59
60 /* default LUKS format version */
61 #undef DEFAULT_LUKS_FORMAT
62
63 /* maximum passphrase size (in characters) */
64 #undef DEFAULT_PASSPHRASE_SIZE_MAX
65
66 /* cipher for plain mode */
67 #undef DEFAULT_PLAIN_CIPHER
68
69 /* password hashing function for plain mode */
70 #undef DEFAULT_PLAIN_HASH
71
72 /* key length in bits for plain mode */
73 #undef DEFAULT_PLAIN_KEYBITS
74
75 /* cipher mode for plain mode */
76 #undef DEFAULT_PLAIN_MODE
77
78 /* default RNG type for key generator */
79 #undef DEFAULT_RNG
80
81 /* override default path to directory with systemd temporary files */
82 #undef DEFAULT_TMPFILESDIR
83
84 /* data block size for verity mode */
85 #undef DEFAULT_VERITY_DATA_BLOCK
86
87 /* parity bytes for verity FEC */
88 #undef DEFAULT_VERITY_FEC_ROOTS
89
90 /* hash function for verity mode */
91 #undef DEFAULT_VERITY_HASH
92
93 /* hash block size for verity mode */
94 #undef DEFAULT_VERITY_HASH_BLOCK
95
96 /* salt size for verity mode */
97 #undef DEFAULT_VERITY_SALT_SIZE
98
99 /* Enable using of kernel userspace crypto */
100 #undef ENABLE_AF_ALG
101
102 /* Enable FIPS mode restrictions */
103 #undef ENABLE_FIPS
104
105 /* XTS mode - double default LUKS keysize if needed */
106 #undef ENABLE_LUKS_ADJUST_XTS_KEYSIZE
107
108 /* Define to 1 if translation of program messages to the user's native
109 language is requested. */
110 #undef ENABLE_NLS
111
112 /* Enable password quality checking using passwdqc library */
113 #undef ENABLE_PASSWDQC
114
115 /* Enable password quality checking using pwquality library */
116 #undef ENABLE_PWQUALITY
117
118 /* Requested gcrypt version */
119 #undef GCRYPT_REQ_VERSION
120
121 /* Define to 1 if you have the <argon2.h> header file. */
122 #undef HAVE_ARGON2_H
123
124 /* Define to 1 to use blkid for detection of disk signatures. */
125 #undef HAVE_BLKID
126
127 /* Define to 1 if you have the <blkid/blkid.h> header file. */
128 #undef HAVE_BLKID_BLKID_H
129
130 /* Define to 1 to use blkid_probe_step_back. */
131 #undef HAVE_BLKID_STEP_BACK
132
133 /* Define to 1 to use blkid_do_wipe. */
134 #undef HAVE_BLKID_WIPE
135
136 /* Define to 1 if you have the <byteswap.h> header file. */
137 #undef HAVE_BYTESWAP_H
138
139 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
140 CoreFoundation framework. */
141 #undef HAVE_CFLOCALECOPYCURRENT
142
143 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
144 the CoreFoundation framework. */
145 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
146
147 /* Define to 1 if you have the `clock_gettime' function. */
148 #undef HAVE_CLOCK_GETTIME
149
150 /* Define to 1 if you have the <ctype.h> header file. */
151 #undef HAVE_CTYPE_H
152
153 /* Define if the GNU dcgettext() function is already present or preinstalled.
154 */
155 #undef HAVE_DCGETTEXT
156
157 /* Define to 1 if you have the declaration of `blkid_do_probe', and to 0 if
158 you don't. */
159 #undef HAVE_DECL_BLKID_DO_PROBE
160
161 /* Define to 1 if you have the declaration of `blkid_do_safeprobe', and to 0
162 if you don't. */
163 #undef HAVE_DECL_BLKID_DO_SAFEPROBE
164
165 /* Define to 1 if you have the declaration of
166 `blkid_probe_filter_superblocks_type', and to 0 if you don't. */
167 #undef HAVE_DECL_BLKID_PROBE_FILTER_SUPERBLOCKS_TYPE
168
169 /* Define to 1 if you have the declaration of `blkid_probe_lookup_value ', and
170 to 0 if you don't. */
171 #undef HAVE_DECL_BLKID_PROBE_LOOKUP_VALUE__________
172
173 /* Define to 1 if you have the declaration of `blkid_probe_set_device', and to
174 0 if you don't. */
175 #undef HAVE_DECL_BLKID_PROBE_SET_DEVICE
176
177 /* Define to 1 if you have the declaration of `blkid_reset_probe', and to 0 if
178 you don't. */
179 #undef HAVE_DECL_BLKID_RESET_PROBE
180
181 /* Define to 1 if you have the declaration of `dm_device_get_name', and to 0
182 if you don't. */
183 #undef HAVE_DECL_DM_DEVICE_GET_NAME
184
185 /* Define to 1 if you have the declaration of `DM_DEVICE_GET_TARGET_VERSION',
186 and to 0 if you don't. */
187 #undef HAVE_DECL_DM_DEVICE_GET_TARGET_VERSION
188
189 /* Define to 1 if you have the declaration of `dm_device_has_holders', and to
190 0 if you don't. */
191 #undef HAVE_DECL_DM_DEVICE_HAS_HOLDERS
192
193 /* Define to 1 if you have the declaration of `dm_device_has_mounted_fs', and
194 to 0 if you don't. */
195 #undef HAVE_DECL_DM_DEVICE_HAS_MOUNTED_FS
196
197 /* Define to 1 if you have the declaration of `dm_task_deferred_remove', and
198 to 0 if you don't. */
199 #undef HAVE_DECL_DM_TASK_DEFERRED_REMOVE
200
201 /* Define to 1 if you have the declaration of `dm_task_retry_remove', and to 0
202 if you don't. */
203 #undef HAVE_DECL_DM_TASK_RETRY_REMOVE
204
205 /* Define to 1 if you have the declaration of `dm_task_secure_data', and to 0
206 if you don't. */
207 #undef HAVE_DECL_DM_TASK_SECURE_DATA
208
209 /* Define to 1 if you have the declaration of
210 `DM_UDEV_DISABLE_DISK_RULES_FLAG', and to 0 if you don't. */
211 #undef HAVE_DECL_DM_UDEV_DISABLE_DISK_RULES_FLAG
212
213 /* Define to 1 if you have the declaration of `GCRY_CIPHER_MODE_XTS', and to 0
214 if you don't. */
215 #undef HAVE_DECL_GCRY_CIPHER_MODE_XTS
216
217 /* Define to 1 if you have the declaration of `json_object_deep_copy', and to
218 0 if you don't. */
219 #undef HAVE_DECL_JSON_OBJECT_DEEP_COPY
220
221 /* Define to 1 if you have the declaration of `json_object_object_add_ex', and
222 to 0 if you don't. */
223 #undef HAVE_DECL_JSON_OBJECT_OBJECT_ADD_EX
224
225 /* Define to 1 if you have the declaration of `NSS_GetVersion', and to 0 if
226 you don't. */
227 #undef HAVE_DECL_NSS_GETVERSION
228
229 /* Define to 1 if you have the declaration of `O_CLOEXEC', and to 0 if you
230 don't. */
231 #undef HAVE_DECL_O_CLOEXEC
232
233 /* Define to 1 if you have the declaration of `ssh_session_is_known_server',
234 and to 0 if you don't. */
235 #undef HAVE_DECL_SSH_SESSION_IS_KNOWN_SERVER
236
237 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
238 don't. */
239 #undef HAVE_DECL_STRERROR_R
240
241 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
242 */
243 #undef HAVE_DIRENT_H
244
245 /* Define to 1 if you have the <dlfcn.h> header file. */
246 #undef HAVE_DLFCN_H
247
248 /* Define to 1 if you have the `dlvsym' function. */
249 #undef HAVE_DLVSYM
250
251 /* Define to 1 if you have the <endian.h> header file. */
252 #undef HAVE_ENDIAN_H
253
254 /* Define to 1 if you have the `explicit_bzero' function. */
255 #undef HAVE_EXPLICIT_BZERO
256
257 /* Define to 1 if you have the <fcntl.h> header file. */
258 #undef HAVE_FCNTL_H
259
260 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
261 #undef HAVE_FSEEKO
262
263 /* Define if the GNU gettext() function is already present or preinstalled. */
264 #undef HAVE_GETTEXT
265
266 /* Define if you have the iconv() function and it works. */
267 #undef HAVE_ICONV
268
269 /* Define to 1 if you have the <inttypes.h> header file. */
270 #undef HAVE_INTTYPES_H
271
272 /* Define to 1 if the system has the type `key_serial_t'. */
273 #undef HAVE_KEY_SERIAL_T
274
275 /* Define to 1 if you have the `devmapper' library (-ldevmapper). */
276 #undef HAVE_LIBDEVMAPPER
277
278 /* Define to 1 if you have the `gcrypt' library (-lgcrypt). */
279 #undef HAVE_LIBGCRYPT
280
281 /* Define to 1 if you have the `nettle' library (-lnettle). */
282 #undef HAVE_LIBNETTLE
283
284 /* Define to 1 if you have the `popt' library (-lpopt). */
285 #undef HAVE_LIBPOPT
286
287 /* Define to 1 if you have the `selinux' library (-lselinux). */
288 #undef HAVE_LIBSELINUX
289
290 /* Define to 1 if you have the `sepol' library (-lsepol). */
291 #undef HAVE_LIBSEPOL
292
293 /* Define to 1 if you have the `uuid' library (-luuid). */
294 #undef HAVE_LIBUUID
295
296 /* Define to 1 if you have the <linux/if_alg.h> header file. */
297 #undef HAVE_LINUX_IF_ALG_H
298
299 /* Define to 1 if you have the <linux/keyctl.h> header file. */
300 #undef HAVE_LINUX_KEYCTL_H
301
302 /* Define to 1 if you have the <locale.h> header file. */
303 #undef HAVE_LOCALE_H
304
305 /* Define to 1 if you have the <malloc.h> header file. */
306 #undef HAVE_MALLOC_H
307
308 /* Define to 1 if you have the <minix/config.h> header file. */
309 #undef HAVE_MINIX_CONFIG_H
310
311 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
312 #undef HAVE_NDIR_H
313
314 /* Define to 1 if you have the <nettle/sha.h> header file. */
315 #undef HAVE_NETTLE_SHA_H
316
317 /* Define to 1 if you have the <nettle/version.h> header file. */
318 #undef HAVE_NETTLE_VERSION_H
319
320 /* Define to 1 if you have the `passwdqc_params_free' function. */
321 #undef HAVE_PASSWDQC_PARAMS_FREE
322
323 /* Define to 1 if you have the `posix_fallocate' function. */
324 #undef HAVE_POSIX_FALLOCATE
325
326 /* Define to 1 if you have the `posix_memalign' function. */
327 #undef HAVE_POSIX_MEMALIGN
328
329 /* Define to 1 if you have the <stdint.h> header file. */
330 #undef HAVE_STDINT_H
331
332 /* Define to 1 if you have the <stdio.h> header file. */
333 #undef HAVE_STDIO_H
334
335 /* Define to 1 if you have the <stdlib.h> header file. */
336 #undef HAVE_STDLIB_H
337
338 /* Define if you have `strerror_r'. */
339 #undef HAVE_STRERROR_R
340
341 /* Define to 1 if you have the <strings.h> header file. */
342 #undef HAVE_STRINGS_H
343
344 /* Define to 1 if you have the <string.h> header file. */
345 #undef HAVE_STRING_H
346
347 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
348 */
349 #undef HAVE_SYS_DIR_H
350
351 /* Define to 1 if you have the <sys/ioctl.h> header file. */
352 #undef HAVE_SYS_IOCTL_H
353
354 /* Define to 1 if you have the <sys/mman.h> header file. */
355 #undef HAVE_SYS_MMAN_H
356
357 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
358 */
359 #undef HAVE_SYS_NDIR_H
360
361 /* Define to 1 if you have the <sys/statvfs.h> header file. */
362 #undef HAVE_SYS_STATVFS_H
363
364 /* Define to 1 if you have the <sys/stat.h> header file. */
365 #undef HAVE_SYS_STAT_H
366
367 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
368 #undef HAVE_SYS_SYSMACROS_H
369
370 /* Define to 1 if you have the <sys/types.h> header file. */
371 #undef HAVE_SYS_TYPES_H
372
373 /* Define to 1 if you have the <unistd.h> header file. */
374 #undef HAVE_UNISTD_H
375
376 /* Define to 1 if you have the <uuid/uuid.h> header file. */
377 #undef HAVE_UUID_UUID_H
378
379 /* Define to 1 if you have the <wchar.h> header file. */
380 #undef HAVE_WCHAR_H
381
382 /* Define as const if the declaration of iconv() needs const. */
383 #undef ICONV_CONST
384
385 /* Enable kernel keyring service support */
386 #undef KERNEL_KEYRING
387
388 /* Define to the sub-directory where libtool stores uninstalled libraries. */
389 #undef LT_OBJDIR
390
391 /* Defined to 0 if not provided */
392 #undef O_CLOEXEC
393
394 /* Name of package */
395 #undef PACKAGE
396
397 /* Define to the address where bug reports for this package should be sent. */
398 #undef PACKAGE_BUGREPORT
399
400 /* Define to the full name of this package. */
401 #undef PACKAGE_NAME
402
403 /* Define to the full name and version of this package. */
404 #undef PACKAGE_STRING
405
406 /* Define to the one symbol short name of this package. */
407 #undef PACKAGE_TARNAME
408
409 /* Define to the home page for this package. */
410 #undef PACKAGE_URL
411
412 /* Define to the version of this package. */
413 #undef PACKAGE_VERSION
414
415 /* passwdqc library config file */
416 #undef PASSWDQC_CONFIG_FILE
417
418 /* Define to 1 if all of the C90 standard headers exist (not just the ones
419 required in a freestanding environment). This macro is provided for
420 backward compatibility; new code need not use it. */
421 #undef STDC_HEADERS
422
423 /* Define to 1 if strerror_r returns char *. */
424 #undef STRERROR_R_CHAR_P
425
426 /* Use external tokens */
427 #undef USE_EXTERNAL_TOKENS
428
429 /* Use internal Argon2 */
430 #undef USE_INTERNAL_ARGON2
431
432 /* Use internal PBKDF2 */
433 #undef USE_INTERNAL_PBKDF2
434
435 /* Use LUKS2 online reencryption extension */
436 #undef USE_LUKS2_REENCRYPTION
437
438 /* Enable extensions on AIX 3, Interix. */
439 #ifndef _ALL_SOURCE
440 # undef _ALL_SOURCE
441 #endif
442 /* Enable general extensions on macOS. */
443 #ifndef _DARWIN_C_SOURCE
444 # undef _DARWIN_C_SOURCE
445 #endif
446 /* Enable general extensions on Solaris. */
447 #ifndef __EXTENSIONS__
448 # undef __EXTENSIONS__
449 #endif
450 /* Enable GNU extensions on systems that have them. */
451 #ifndef _GNU_SOURCE
452 # undef _GNU_SOURCE
453 #endif
454 /* Enable X/Open compliant socket functions that do not require linking
455 with -lxnet on HP-UX 11.11. */
456 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
457 # undef _HPUX_ALT_XOPEN_SOCKET_API
458 #endif
459 /* Identify the host operating system as Minix.
460 This macro does not affect the system headers' behavior.
461 A future release of Autoconf may stop defining this macro. */
462 #ifndef _MINIX
463 # undef _MINIX
464 #endif
465 /* Enable general extensions on NetBSD.
466 Enable NetBSD compatibility extensions on Minix. */
467 #ifndef _NETBSD_SOURCE
468 # undef _NETBSD_SOURCE
469 #endif
470 /* Enable OpenBSD compatibility extensions on NetBSD.
471 Oddly enough, this does nothing on OpenBSD. */
472 #ifndef _OPENBSD_SOURCE
473 # undef _OPENBSD_SOURCE
474 #endif
475 /* Define to 1 if needed for POSIX-compatible behavior. */
476 #ifndef _POSIX_SOURCE
477 # undef _POSIX_SOURCE
478 #endif
479 /* Define to 2 if needed for POSIX-compatible behavior. */
480 #ifndef _POSIX_1_SOURCE
481 # undef _POSIX_1_SOURCE
482 #endif
483 /* Enable POSIX-compatible threading on Solaris. */
484 #ifndef _POSIX_PTHREAD_SEMANTICS
485 # undef _POSIX_PTHREAD_SEMANTICS
486 #endif
487 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
488 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
489 # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
490 #endif
491 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
492 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
493 # undef __STDC_WANT_IEC_60559_BFP_EXT__
494 #endif
495 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
496 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
497 # undef __STDC_WANT_IEC_60559_DFP_EXT__
498 #endif
499 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
500 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
501 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
502 #endif
503 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
504 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
505 # undef __STDC_WANT_IEC_60559_TYPES_EXT__
506 #endif
507 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
508 #ifndef __STDC_WANT_LIB_EXT2__
509 # undef __STDC_WANT_LIB_EXT2__
510 #endif
511 /* Enable extensions specified by ISO/IEC 24747:2009. */
512 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
513 # undef __STDC_WANT_MATH_SPEC_FUNCS__
514 #endif
515 /* Enable extensions on HP NonStop. */
516 #ifndef _TANDEM_SOURCE
517 # undef _TANDEM_SOURCE
518 #endif
519 /* Enable X/Open extensions. Define to 500 only if necessary
520 to make mbstate_t available. */
521 #ifndef _XOPEN_SOURCE
522 # undef _XOPEN_SOURCE
523 #endif
524
525
526 /* Try to use udev synchronisation? */
527 #undef USE_UDEV
528
529 /* Version number of package */
530 #undef VERSION
531
532 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
533 significant byte first (like Motorola and SPARC, unlike Intel). */
534 #if defined AC_APPLE_UNIVERSAL_BUILD
535 # if defined __BIG_ENDIAN__
536 # define WORDS_BIGENDIAN 1
537 # endif
538 #else
539 # ifndef WORDS_BIGENDIAN
540 # undef WORDS_BIGENDIAN
541 # endif
542 #endif
543
544 /* Number of bits in a file offset, on hosts where this is settable. */
545 #undef _FILE_OFFSET_BITS
546
547 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
548 #undef _LARGEFILE_SOURCE
549
550 /* Define for large files, on AIX-style hosts. */
551 #undef _LARGE_FILES
552
553 /* Define to empty if `const' does not conform to ANSI C. */
554 #undef const
555
556 /* Define to `long int' if <sys/types.h> does not define. */
557 #undef off_t
558
559 /* Define to the equivalent of the C99 'restrict' keyword, or to
560 nothing if this is not supported. Do not define if restrict is
561 supported only directly. */
562 #undef restrict
563 /* Work around a bug in older versions of Sun C++, which did not
564 #define __restrict__ or support _Restrict or __restrict__
565 even though the corresponding Sun C compiler ended up with
566 "#define restrict _Restrict" or "#define restrict __restrict__"
567 in the previous line. This workaround can be removed once
568 we assume Oracle Developer Studio 12.5 (2016) or later. */
569 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
570 # define _Restrict
571 # define __restrict__
572 #endif