xref: /openbmc/linux/drivers/crypto/Kconfig (revision 61d48c2c)
11da177e4SLinus Torvaldsmenu "Hardware crypto devices"
21da177e4SLinus Torvalds
31da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK
4f6259deaSSimon Arlott	bool "Support for VIA PadLock ACE"
5cce9e06dSHerbert Xu	depends on X86_32
6cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
7f6259deaSSimon Arlott	default y
81da177e4SLinus Torvalds	help
91da177e4SLinus Torvalds	  Some VIA processors come with an integrated crypto engine
101da177e4SLinus Torvalds	  (so called VIA PadLock ACE, Advanced Cryptography Engine)
111191f0a4SMichal Ludvig	  that provides instructions for very fast cryptographic
121191f0a4SMichal Ludvig	  operations with supported algorithms.
131da177e4SLinus Torvalds
141da177e4SLinus Torvalds	  The instructions are used only when the CPU supports them.
155644bda5SMichal Ludvig	  Otherwise software encryption is used.
165644bda5SMichal Ludvig
171da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK_AES
181191f0a4SMichal Ludvig	tristate "PadLock driver for AES algorithm"
191da177e4SLinus Torvalds	depends on CRYPTO_DEV_PADLOCK
2028ce728aSHerbert Xu	select CRYPTO_BLKCIPHER
211191f0a4SMichal Ludvig	default m
221da177e4SLinus Torvalds	help
231da177e4SLinus Torvalds	  Use VIA PadLock for AES algorithm.
241da177e4SLinus Torvalds
251191f0a4SMichal Ludvig	  Available in VIA C3 and newer CPUs.
261191f0a4SMichal Ludvig
271191f0a4SMichal Ludvig	  If unsure say M. The compiled module will be
281191f0a4SMichal Ludvig	  called padlock-aes.ko
291191f0a4SMichal Ludvig
306c833275SMichal Ludvigconfig CRYPTO_DEV_PADLOCK_SHA
316c833275SMichal Ludvig	tristate "PadLock driver for SHA1 and SHA256 algorithms"
326c833275SMichal Ludvig	depends on CRYPTO_DEV_PADLOCK
336c833275SMichal Ludvig	select CRYPTO_SHA1
346c833275SMichal Ludvig	select CRYPTO_SHA256
356c833275SMichal Ludvig	default m
366c833275SMichal Ludvig	help
376c833275SMichal Ludvig	  Use VIA PadLock for SHA1/SHA256 algorithms.
386c833275SMichal Ludvig
396c833275SMichal Ludvig	  Available in VIA C7 and newer processors.
406c833275SMichal Ludvig
416c833275SMichal Ludvig	  If unsure say M. The compiled module will be
426c833275SMichal Ludvig	  called padlock-sha.ko
436c833275SMichal Ludvig
441b278294SJan Glaubersource "arch/s390/crypto/Kconfig"
451b278294SJan Glauber
469fe757b0SJordan Crouseconfig CRYPTO_DEV_GEODE
479fe757b0SJordan Crouse	tristate "Support for the Geode LX AES engine"
48f6259deaSSimon Arlott	depends on X86_32 && PCI
499fe757b0SJordan Crouse	select CRYPTO_ALGAPI
509fe757b0SJordan Crouse	select CRYPTO_BLKCIPHER
519fe757b0SJordan Crouse	default m
529fe757b0SJordan Crouse	help
539fe757b0SJordan Crouse	  Say 'Y' here to use the AMD Geode LX processor on-board AES
543dde6ad8SDavid Sterba	  engine for the CryptoAPI AES algorithm.
559fe757b0SJordan Crouse
569fe757b0SJordan Crouse	  To compile this driver as a module, choose M here: the module
579fe757b0SJordan Crouse	  will be called geode-aes.
589fe757b0SJordan Crouse
5961d48c2cSMartin Schwidefskyconfig ZCRYPT
6061d48c2cSMartin Schwidefsky	tristate "Support for PCI-attached cryptographic adapters"
6161d48c2cSMartin Schwidefsky	depends on S390
6261d48c2cSMartin Schwidefsky	select ZCRYPT_MONOLITHIC if ZCRYPT="y"
6361d48c2cSMartin Schwidefsky	default "m"
6461d48c2cSMartin Schwidefsky	help
6561d48c2cSMartin Schwidefsky	  Select this option if you want to use a PCI-attached cryptographic
6661d48c2cSMartin Schwidefsky	  adapter like:
6761d48c2cSMartin Schwidefsky	  + PCI Cryptographic Accelerator (PCICA)
6861d48c2cSMartin Schwidefsky	  + PCI Cryptographic Coprocessor (PCICC)
6961d48c2cSMartin Schwidefsky	  + PCI-X Cryptographic Coprocessor (PCIXCC)
7061d48c2cSMartin Schwidefsky	  + Crypto Express2 Coprocessor (CEX2C)
7161d48c2cSMartin Schwidefsky	  + Crypto Express2 Accelerator (CEX2A)
7261d48c2cSMartin Schwidefsky
7361d48c2cSMartin Schwidefskyconfig ZCRYPT_MONOLITHIC
7461d48c2cSMartin Schwidefsky	bool "Monolithic zcrypt module"
7561d48c2cSMartin Schwidefsky	depends on ZCRYPT="m"
7661d48c2cSMartin Schwidefsky	help
7761d48c2cSMartin Schwidefsky	  Select this option if you want to have a single module z90crypt.ko
7861d48c2cSMartin Schwidefsky	  that contains all parts of the crypto device driver (ap bus,
7961d48c2cSMartin Schwidefsky	  request router and all the card drivers).
8061d48c2cSMartin Schwidefsky
811da177e4SLinus Torvaldsendmenu
82