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