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