xref: /linux/drivers/crypto/Kconfig (revision f7d0561ea1dadec5462846520b1f4fb304294fd5)
1
2menuconfig CRYPTO_HW
3	bool "Hardware crypto devices"
4	default y
5	---help---
6	  Say Y here to get to see options for hardware crypto devices and
7	  processors. This option alone does not add any kernel code.
8
9	  If you say N, all options in this submenu will be skipped and disabled.
10
11if CRYPTO_HW
12
13config CRYPTO_DEV_PADLOCK
14	tristate "Support for VIA PadLock ACE"
15	depends on X86_32
16	select CRYPTO_ALGAPI
17	help
18	  Some VIA processors come with an integrated crypto engine
19	  (so called VIA PadLock ACE, Advanced Cryptography Engine)
20	  that provides instructions for very fast cryptographic
21	  operations with supported algorithms.
22
23	  The instructions are used only when the CPU supports them.
24	  Otherwise software encryption is used.
25
26config CRYPTO_DEV_PADLOCK_AES
27	tristate "PadLock driver for AES algorithm"
28	depends on CRYPTO_DEV_PADLOCK
29	select CRYPTO_BLKCIPHER
30	help
31	  Use VIA PadLock for AES algorithm.
32
33	  Available in VIA C3 and newer CPUs.
34
35	  If unsure say M. The compiled module will be
36	  called padlock-aes.ko
37
38config CRYPTO_DEV_PADLOCK_SHA
39	tristate "PadLock driver for SHA1 and SHA256 algorithms"
40	depends on CRYPTO_DEV_PADLOCK
41	select CRYPTO_SHA1
42	select CRYPTO_SHA256
43	help
44	  Use VIA PadLock for SHA1/SHA256 algorithms.
45
46	  Available in VIA C7 and newer processors.
47
48	  If unsure say M. The compiled module will be
49	  called padlock-sha.ko
50
51source "arch/s390/crypto/Kconfig"
52
53config CRYPTO_DEV_GEODE
54	tristate "Support for the Geode LX AES engine"
55	depends on X86_32 && PCI
56	select CRYPTO_ALGAPI
57	select CRYPTO_BLKCIPHER
58	help
59	  Say 'Y' here to use the AMD Geode LX processor on-board AES
60	  engine for the CryptoAPI AES algorithm.
61
62	  To compile this driver as a module, choose M here: the module
63	  will be called geode-aes.
64
65config ZCRYPT
66	tristate "Support for PCI-attached cryptographic adapters"
67	depends on S390
68	select ZCRYPT_MONOLITHIC if ZCRYPT="y"
69	help
70	  Select this option if you want to use a PCI-attached cryptographic
71	  adapter like:
72	  + PCI Cryptographic Accelerator (PCICA)
73	  + PCI Cryptographic Coprocessor (PCICC)
74	  + PCI-X Cryptographic Coprocessor (PCIXCC)
75	  + Crypto Express2 Coprocessor (CEX2C)
76	  + Crypto Express2 Accelerator (CEX2A)
77
78config ZCRYPT_MONOLITHIC
79	bool "Monolithic zcrypt module"
80	depends on ZCRYPT="m"
81	help
82	  Select this option if you want to have a single module z90crypt.ko
83	  that contains all parts of the crypto device driver (ap bus,
84	  request router and all the card drivers).
85
86config CRYPTO_DEV_HIFN_795X
87	tristate "Driver HIFN 795x crypto accelerator chips"
88	select CRYPTO_ALGAPI
89	select CRYPTO_ABLKCIPHER
90	select CRYPTO_BLKCIPHER
91	help
92	  This option allows you to have support for HIFN 795x crypto adapters.
93
94
95
96endif # CRYPTO_HW
97