Merge "Merge branch 'upstream' into tizen" into tizen
[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 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 /* Argon2 PBKDF iteration time for LUKS2 (in ms) */
34 #undef DEFAULT_LUKS2_ITER_TIME
35
36 /* fallback cipher for LUKS2 keyslot (if data encryption is incompatible) */
37 #undef DEFAULT_LUKS2_KEYSLOT_CIPHER
38
39 /* fallback key size for LUKS2 keyslot (if data encryption is incompatible) */
40 #undef DEFAULT_LUKS2_KEYSLOT_KEYBITS
41
42 /* default luks2 locking directory permissions */
43 #undef DEFAULT_LUKS2_LOCK_DIR_PERMS
44
45 /* path to directory for LUKSv2 locks */
46 #undef DEFAULT_LUKS2_LOCK_PATH
47
48 /* Argon2 PBKDF memory cost for LUKS2 (in kB) */
49 #undef DEFAULT_LUKS2_MEMORY_KB
50
51 /* Argon2 PBKDF max parallel cost for LUKS2 (if CPUs available) */
52 #undef DEFAULT_LUKS2_PARALLEL_THREADS
53
54 /* Default PBKDF algorithm (pbkdf2 or argon2i/argon2id) for LUKS2 */
55 #undef DEFAULT_LUKS2_PBKDF
56
57 /* default LUKS format version */
58 #undef DEFAULT_LUKS_FORMAT
59
60 /* maximum passphrase size (in characters) */
61 #undef DEFAULT_PASSPHRASE_SIZE_MAX
62
63 /* cipher for plain mode */
64 #undef DEFAULT_PLAIN_CIPHER
65
66 /* password hashing function for plain mode */
67 #undef DEFAULT_PLAIN_HASH
68
69 /* key length in bits for plain mode */
70 #undef DEFAULT_PLAIN_KEYBITS
71
72 /* cipher mode for plain mode */
73 #undef DEFAULT_PLAIN_MODE
74
75 /* default RNG type for key generator */
76 #undef DEFAULT_RNG
77
78 /* override default path to directory with systemd temporary files */
79 #undef DEFAULT_TMPFILESDIR
80
81 /* data block size for verity mode */
82 #undef DEFAULT_VERITY_DATA_BLOCK
83
84 /* parity bytes for verity FEC */
85 #undef DEFAULT_VERITY_FEC_ROOTS
86
87 /* hash function for verity mode */
88 #undef DEFAULT_VERITY_HASH
89
90 /* hash block size for verity mode */
91 #undef DEFAULT_VERITY_HASH_BLOCK
92
93 /* salt size for verity mode */
94 #undef DEFAULT_VERITY_SALT_SIZE
95
96 /* Enable using of kernel userspace crypto */
97 #undef ENABLE_AF_ALG
98
99 /* Enable FIPS mode restrictions */
100 #undef ENABLE_FIPS
101
102 /* XTS mode - double default LUKS keysize if needed */
103 #undef ENABLE_LUKS_ADJUST_XTS_KEYSIZE
104
105 /* Define to 1 if translation of program messages to the user's native
106    language is requested. */
107 #undef ENABLE_NLS
108
109 /* Enable password quality checking using passwdqc library */
110 #undef ENABLE_PASSWDQC
111
112 /* Enable password quality checking using pwquality library */
113 #undef ENABLE_PWQUALITY
114
115 /* Requested gcrypt version */
116 #undef GCRYPT_REQ_VERSION
117
118 /* Define to 1 if you have the <argon2.h> header file. */
119 #undef HAVE_ARGON2_H
120
121 /* Define to 1 to use blkid for detection of disk signatures. */
122 #undef HAVE_BLKID
123
124 /* Define to 1 if you have the <blkid/blkid.h> header file. */
125 #undef HAVE_BLKID_BLKID_H
126
127 /* Define to 1 to use blkid_probe_step_back. */
128 #undef HAVE_BLKID_STEP_BACK
129
130 /* Define to 1 to use blkid_do_wipe. */
131 #undef HAVE_BLKID_WIPE
132
133 /* Define to 1 if you have the <byteswap.h> header file. */
134 #undef HAVE_BYTESWAP_H
135
136 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
137    CoreFoundation framework. */
138 #undef HAVE_CFLOCALECOPYCURRENT
139
140 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
141    the CoreFoundation framework. */
142 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
143
144 /* Define to 1 if you have the `clock_gettime' function. */
145 #undef HAVE_CLOCK_GETTIME
146
147 /* Define to 1 if you have the <ctype.h> header file. */
148 #undef HAVE_CTYPE_H
149
150 /* Define if the GNU dcgettext() function is already present or preinstalled.
151    */
152 #undef HAVE_DCGETTEXT
153
154 /* Define to 1 if you have the declaration of `blkid_do_probe', and to 0 if
155    you don't. */
156 #undef HAVE_DECL_BLKID_DO_PROBE
157
158 /* Define to 1 if you have the declaration of `blkid_do_safeprobe', and to 0
159    if you don't. */
160 #undef HAVE_DECL_BLKID_DO_SAFEPROBE
161
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
165
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__________
169
170 /* Define to 1 if you have the declaration of `blkid_probe_set_device', and to
171    0 if you don't. */
172 #undef HAVE_DECL_BLKID_PROBE_SET_DEVICE
173
174 /* Define to 1 if you have the declaration of `blkid_reset_probe', and to 0 if
175    you don't. */
176 #undef HAVE_DECL_BLKID_RESET_PROBE
177
178 /* Define to 1 if you have the declaration of `dm_device_get_name', and to 0
179    if you don't. */
180 #undef HAVE_DECL_DM_DEVICE_GET_NAME
181
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
185
186 /* Define to 1 if you have the declaration of `dm_device_has_holders', and to
187    0 if you don't. */
188 #undef HAVE_DECL_DM_DEVICE_HAS_HOLDERS
189
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
193
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
197
198 /* Define to 1 if you have the declaration of `dm_task_retry_remove', and to 0
199    if you don't. */
200 #undef HAVE_DECL_DM_TASK_RETRY_REMOVE
201
202 /* Define to 1 if you have the declaration of `dm_task_secure_data', and to 0
203    if you don't. */
204 #undef HAVE_DECL_DM_TASK_SECURE_DATA
205
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
209
210 /* Define to 1 if you have the declaration of `GCRY_CIPHER_MODE_XTS', and to 0
211    if you don't. */
212 #undef HAVE_DECL_GCRY_CIPHER_MODE_XTS
213
214 /* Define to 1 if you have the declaration of `json_object_deep_copy', and to
215    0 if you don't. */
216 #undef HAVE_DECL_JSON_OBJECT_DEEP_COPY
217
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
221
222 /* Define to 1 if you have the declaration of `NSS_GetVersion', and to 0 if
223    you don't. */
224 #undef HAVE_DECL_NSS_GETVERSION
225
226 /* Define to 1 if you have the declaration of `O_CLOEXEC', and to 0 if you
227    don't. */
228 #undef HAVE_DECL_O_CLOEXEC
229
230 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
231    don't. */
232 #undef HAVE_DECL_STRERROR_R
233
234 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
235    */
236 #undef HAVE_DIRENT_H
237
238 /* Define to 1 if you have the <dlfcn.h> header file. */
239 #undef HAVE_DLFCN_H
240
241 /* Define to 1 if you have the <endian.h> header file. */
242 #undef HAVE_ENDIAN_H
243
244 /* Define to 1 if you have the `explicit_bzero' function. */
245 #undef HAVE_EXPLICIT_BZERO
246
247 /* Define to 1 if you have the <fcntl.h> header file. */
248 #undef HAVE_FCNTL_H
249
250 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
251 #undef HAVE_FSEEKO
252
253 /* Define if the GNU gettext() function is already present or preinstalled. */
254 #undef HAVE_GETTEXT
255
256 /* Define if you have the iconv() function and it works. */
257 #undef HAVE_ICONV
258
259 /* Define to 1 if you have the <inttypes.h> header file. */
260 #undef HAVE_INTTYPES_H
261
262 /* Define to 1 if the system has the type `key_serial_t'. */
263 #undef HAVE_KEY_SERIAL_T
264
265 /* Define to 1 if you have the `devmapper' library (-ldevmapper). */
266 #undef HAVE_LIBDEVMAPPER
267
268 /* Define to 1 if you have the `gcrypt' library (-lgcrypt). */
269 #undef HAVE_LIBGCRYPT
270
271 /* Define to 1 if you have the `nettle' library (-lnettle). */
272 #undef HAVE_LIBNETTLE
273
274 /* Define to 1 if you have the `popt' library (-lpopt). */
275 #undef HAVE_LIBPOPT
276
277 /* Define to 1 if you have the `selinux' library (-lselinux). */
278 #undef HAVE_LIBSELINUX
279
280 /* Define to 1 if you have the `sepol' library (-lsepol). */
281 #undef HAVE_LIBSEPOL
282
283 /* Define to 1 if you have the `uuid' library (-luuid). */
284 #undef HAVE_LIBUUID
285
286 /* Define to 1 if you have the <linux/if_alg.h> header file. */
287 #undef HAVE_LINUX_IF_ALG_H
288
289 /* Define to 1 if you have the <linux/keyctl.h> header file. */
290 #undef HAVE_LINUX_KEYCTL_H
291
292 /* Define to 1 if you have the <locale.h> header file. */
293 #undef HAVE_LOCALE_H
294
295 /* Define to 1 if you have the <malloc.h> header file. */
296 #undef HAVE_MALLOC_H
297
298 /* Define to 1 if you have the <minix/config.h> header file. */
299 #undef HAVE_MINIX_CONFIG_H
300
301 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
302 #undef HAVE_NDIR_H
303
304 /* Define to 1 if you have the <nettle/sha.h> header file. */
305 #undef HAVE_NETTLE_SHA_H
306
307 /* Define to 1 if you have the <nettle/version.h> header file. */
308 #undef HAVE_NETTLE_VERSION_H
309
310 /* Define to 1 if you have the `passwdqc_params_free' function. */
311 #undef HAVE_PASSWDQC_PARAMS_FREE
312
313 /* Define to 1 if you have the `posix_fallocate' function. */
314 #undef HAVE_POSIX_FALLOCATE
315
316 /* Define to 1 if you have the `posix_memalign' function. */
317 #undef HAVE_POSIX_MEMALIGN
318
319 /* Define to 1 if you have the <stdint.h> header file. */
320 #undef HAVE_STDINT_H
321
322 /* Define to 1 if you have the <stdio.h> header file. */
323 #undef HAVE_STDIO_H
324
325 /* Define to 1 if you have the <stdlib.h> header file. */
326 #undef HAVE_STDLIB_H
327
328 /* Define if you have `strerror_r'. */
329 #undef HAVE_STRERROR_R
330
331 /* Define to 1 if you have the <strings.h> header file. */
332 #undef HAVE_STRINGS_H
333
334 /* Define to 1 if you have the <string.h> header file. */
335 #undef HAVE_STRING_H
336
337 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
338    */
339 #undef HAVE_SYS_DIR_H
340
341 /* Define to 1 if you have the <sys/ioctl.h> header file. */
342 #undef HAVE_SYS_IOCTL_H
343
344 /* Define to 1 if you have the <sys/mman.h> header file. */
345 #undef HAVE_SYS_MMAN_H
346
347 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
348    */
349 #undef HAVE_SYS_NDIR_H
350
351 /* Define to 1 if you have the <sys/statvfs.h> header file. */
352 #undef HAVE_SYS_STATVFS_H
353
354 /* Define to 1 if you have the <sys/stat.h> header file. */
355 #undef HAVE_SYS_STAT_H
356
357 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
358 #undef HAVE_SYS_SYSMACROS_H
359
360 /* Define to 1 if you have the <sys/types.h> header file. */
361 #undef HAVE_SYS_TYPES_H
362
363 /* Define to 1 if you have the <unistd.h> header file. */
364 #undef HAVE_UNISTD_H
365
366 /* Define to 1 if you have the <uuid/uuid.h> header file. */
367 #undef HAVE_UUID_UUID_H
368
369 /* Define to 1 if you have the <wchar.h> header file. */
370 #undef HAVE_WCHAR_H
371
372 /* Define as const if the declaration of iconv() needs const. */
373 #undef ICONV_CONST
374
375 /* Enable kernel keyring service support */
376 #undef KERNEL_KEYRING
377
378 /* Define to the sub-directory where libtool stores uninstalled libraries. */
379 #undef LT_OBJDIR
380
381 /* Defined to 0 if not provided */
382 #undef O_CLOEXEC
383
384 /* Name of package */
385 #undef PACKAGE
386
387 /* Define to the address where bug reports for this package should be sent. */
388 #undef PACKAGE_BUGREPORT
389
390 /* Define to the full name of this package. */
391 #undef PACKAGE_NAME
392
393 /* Define to the full name and version of this package. */
394 #undef PACKAGE_STRING
395
396 /* Define to the one symbol short name of this package. */
397 #undef PACKAGE_TARNAME
398
399 /* Define to the home page for this package. */
400 #undef PACKAGE_URL
401
402 /* Define to the version of this package. */
403 #undef PACKAGE_VERSION
404
405 /* passwdqc library config file */
406 #undef PASSWDQC_CONFIG_FILE
407
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. */
411 #undef STDC_HEADERS
412
413 /* Define to 1 if strerror_r returns char *. */
414 #undef STRERROR_R_CHAR_P
415
416 /* Use internal Argon2 */
417 #undef USE_INTERNAL_ARGON2
418
419 /* Use internal PBKDF2 */
420 #undef USE_INTERNAL_PBKDF2
421
422 /* Use LUKS2 online reencryption extension */
423 #undef USE_LUKS2_REENCRYPTION
424
425 /* Enable extensions on AIX 3, Interix.  */
426 #ifndef _ALL_SOURCE
427 # undef _ALL_SOURCE
428 #endif
429 /* Enable general extensions on macOS.  */
430 #ifndef _DARWIN_C_SOURCE
431 # undef _DARWIN_C_SOURCE
432 #endif
433 /* Enable general extensions on Solaris.  */
434 #ifndef __EXTENSIONS__
435 # undef __EXTENSIONS__
436 #endif
437 /* Enable GNU extensions on systems that have them.  */
438 #ifndef _GNU_SOURCE
439 # undef _GNU_SOURCE
440 #endif
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
445 #endif
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.  */
449 #ifndef _MINIX
450 # undef _MINIX
451 #endif
452 /* Enable general extensions on NetBSD.
453    Enable NetBSD compatibility extensions on Minix.  */
454 #ifndef _NETBSD_SOURCE
455 # undef _NETBSD_SOURCE
456 #endif
457 /* Enable OpenBSD compatibility extensions on NetBSD.
458    Oddly enough, this does nothing on OpenBSD.  */
459 #ifndef _OPENBSD_SOURCE
460 # undef _OPENBSD_SOURCE
461 #endif
462 /* Define to 1 if needed for POSIX-compatible behavior.  */
463 #ifndef _POSIX_SOURCE
464 # undef _POSIX_SOURCE
465 #endif
466 /* Define to 2 if needed for POSIX-compatible behavior.  */
467 #ifndef _POSIX_1_SOURCE
468 # undef _POSIX_1_SOURCE
469 #endif
470 /* Enable POSIX-compatible threading on Solaris.  */
471 #ifndef _POSIX_PTHREAD_SEMANTICS
472 # undef _POSIX_PTHREAD_SEMANTICS
473 #endif
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__
477 #endif
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__
481 #endif
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__
485 #endif
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__
489 #endif
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__
493 #endif
494 /* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
495 #ifndef __STDC_WANT_LIB_EXT2__
496 # undef __STDC_WANT_LIB_EXT2__
497 #endif
498 /* Enable extensions specified by ISO/IEC 24747:2009.  */
499 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
500 # undef __STDC_WANT_MATH_SPEC_FUNCS__
501 #endif
502 /* Enable extensions on HP NonStop.  */
503 #ifndef _TANDEM_SOURCE
504 # undef _TANDEM_SOURCE
505 #endif
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
510 #endif
511
512
513 /* Try to use udev synchronisation? */
514 #undef USE_UDEV
515
516 /* Version number of package */
517 #undef VERSION
518
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
524 # endif
525 #else
526 # ifndef WORDS_BIGENDIAN
527 #  undef WORDS_BIGENDIAN
528 # endif
529 #endif
530
531 /* Number of bits in a file offset, on hosts where this is settable. */
532 #undef _FILE_OFFSET_BITS
533
534 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
535 #undef _LARGEFILE_SOURCE
536
537 /* Define for large files, on AIX-style hosts. */
538 #undef _LARGE_FILES
539
540 /* Define to empty if `const' does not conform to ANSI C. */
541 #undef const
542
543 /* Define to `long int' if <sys/types.h> does not define. */
544 #undef off_t
545
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.  */
549 #undef restrict
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__
557 # define _Restrict
558 # define __restrict__
559 #endif