summaryrefslogtreecommitdiffstats
path: root/rules/cryptsetup.in
blob: 551280d5002793a73a134fc430d774fd72ec0283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
## SECTION=disk_and_file

menuconfig CRYPTSETUP
	select LVM2
	select LIBUUID
	select LIBPOPT
	select LIBGCRYPT if CRYPTSETUP_CRYPT_BACKEND_GCRYPT
	select OPENSSL if CRYPTSETUP_CRYPT_BACKEND_OPENSSL
	select NETTLE if CRYPTSETUP_CRYPT_BACKEND_NETTLE
	tristate
	prompt "cryptsetup                    "
	help
	  Cryptsetup is a utility used to conveniently setup disk encryption
	  based on DMCrypt kernel module.

if CRYPTSETUP

choice
	prompt "Crypto backend"

	config CRYPTSETUP_CRYPT_BACKEND_KERNEL
	bool "kernel"

	config CRYPTSETUP_CRYPT_BACKEND_GCRYPT
	bool "gcrypt"

	config CRYPTSETUP_CRYPT_BACKEND_OPENSSL
	bool "openssl"

	config CRYPTSETUP_CRYPT_BACKEND_NETTLE
	bool "nettle"
endchoice

config CRYPTSETUP_CRYPTSETUP
	bool
	prompt "install cryptsetup"

config CRYPTSETUP_VERITYSETUP
	bool
	prompt "install veritysetup"

endif