xref: /openbmc/linux/drivers/crypto/Kconfig (revision 06bfb7eb)
1b511431dSJan Engelhardt
2b511431dSJan Engelhardtmenuconfig CRYPTO_HW
3b511431dSJan Engelhardt	bool "Hardware crypto devices"
4b511431dSJan Engelhardt	default y
506bfb7ebSJan Engelhardt	---help---
606bfb7ebSJan Engelhardt	  Say Y here to get to see options for hardware crypto devices and
706bfb7ebSJan Engelhardt	  processors. This option alone does not add any kernel code.
806bfb7ebSJan Engelhardt
906bfb7ebSJan Engelhardt	  If you say N, all options in this submenu will be skipped and disabled.
10b511431dSJan Engelhardt
11b511431dSJan Engelhardtif CRYPTO_HW
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK
14d158325eSHerbert Xu	tristate "Support for VIA PadLock ACE"
15cce9e06dSHerbert Xu	depends on X86_32
16cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
17d158325eSHerbert Xu	default m
181da177e4SLinus Torvalds	help
191da177e4SLinus Torvalds	  Some VIA processors come with an integrated crypto engine
201da177e4SLinus Torvalds	  (so called VIA PadLock ACE, Advanced Cryptography Engine)
211191f0a4SMichal Ludvig	  that provides instructions for very fast cryptographic
221191f0a4SMichal Ludvig	  operations with supported algorithms.
231da177e4SLinus Torvalds
241da177e4SLinus Torvalds	  The instructions are used only when the CPU supports them.
255644bda5SMichal Ludvig	  Otherwise software encryption is used.
265644bda5SMichal Ludvig
271da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK_AES
281191f0a4SMichal Ludvig	tristate "PadLock driver for AES algorithm"
291da177e4SLinus Torvalds	depends on CRYPTO_DEV_PADLOCK
3028ce728aSHerbert Xu	select CRYPTO_BLKCIPHER
311191f0a4SMichal Ludvig	default m
321da177e4SLinus Torvalds	help
331da177e4SLinus Torvalds	  Use VIA PadLock for AES algorithm.
341da177e4SLinus Torvalds
351191f0a4SMichal Ludvig	  Available in VIA C3 and newer CPUs.
361191f0a4SMichal Ludvig
371191f0a4SMichal Ludvig	  If unsure say M. The compiled module will be
381191f0a4SMichal Ludvig	  called padlock-aes.ko
391191f0a4SMichal Ludvig
406c833275SMichal Ludvigconfig CRYPTO_DEV_PADLOCK_SHA
416c833275SMichal Ludvig	tristate "PadLock driver for SHA1 and SHA256 algorithms"
426c833275SMichal Ludvig	depends on CRYPTO_DEV_PADLOCK
436c833275SMichal Ludvig	select CRYPTO_SHA1
446c833275SMichal Ludvig	select CRYPTO_SHA256
456c833275SMichal Ludvig	default m
466c833275SMichal Ludvig	help
476c833275SMichal Ludvig	  Use VIA PadLock for SHA1/SHA256 algorithms.
486c833275SMichal Ludvig
496c833275SMichal Ludvig	  Available in VIA C7 and newer processors.
506c833275SMichal Ludvig
516c833275SMichal Ludvig	  If unsure say M. The compiled module will be
526c833275SMichal Ludvig	  called padlock-sha.ko
536c833275SMichal Ludvig
541b278294SJan Glaubersource "arch/s390/crypto/Kconfig"
551b278294SJan Glauber
569fe757b0SJordan Crouseconfig CRYPTO_DEV_GEODE
579fe757b0SJordan Crouse	tristate "Support for the Geode LX AES engine"
58f6259deaSSimon Arlott	depends on X86_32 && PCI
599fe757b0SJordan Crouse	select CRYPTO_ALGAPI
609fe757b0SJordan Crouse	select CRYPTO_BLKCIPHER
619fe757b0SJordan Crouse	default m
629fe757b0SJordan Crouse	help
639fe757b0SJordan Crouse	  Say 'Y' here to use the AMD Geode LX processor on-board AES
643dde6ad8SDavid Sterba	  engine for the CryptoAPI AES algorithm.
659fe757b0SJordan Crouse
669fe757b0SJordan Crouse	  To compile this driver as a module, choose M here: the module
679fe757b0SJordan Crouse	  will be called geode-aes.
689fe757b0SJordan Crouse
6961d48c2cSMartin Schwidefskyconfig ZCRYPT
7061d48c2cSMartin Schwidefsky	tristate "Support for PCI-attached cryptographic adapters"
7161d48c2cSMartin Schwidefsky	depends on S390
7261d48c2cSMartin Schwidefsky	select ZCRYPT_MONOLITHIC if ZCRYPT="y"
7361d48c2cSMartin Schwidefsky	default "m"
7461d48c2cSMartin Schwidefsky	help
7561d48c2cSMartin Schwidefsky	  Select this option if you want to use a PCI-attached cryptographic
7661d48c2cSMartin Schwidefsky	  adapter like:
7761d48c2cSMartin Schwidefsky	  + PCI Cryptographic Accelerator (PCICA)
7861d48c2cSMartin Schwidefsky	  + PCI Cryptographic Coprocessor (PCICC)
7961d48c2cSMartin Schwidefsky	  + PCI-X Cryptographic Coprocessor (PCIXCC)
8061d48c2cSMartin Schwidefsky	  + Crypto Express2 Coprocessor (CEX2C)
8161d48c2cSMartin Schwidefsky	  + Crypto Express2 Accelerator (CEX2A)
8261d48c2cSMartin Schwidefsky
8361d48c2cSMartin Schwidefskyconfig ZCRYPT_MONOLITHIC
8461d48c2cSMartin Schwidefsky	bool "Monolithic zcrypt module"
8561d48c2cSMartin Schwidefsky	depends on ZCRYPT="m"
8661d48c2cSMartin Schwidefsky	help
8761d48c2cSMartin Schwidefsky	  Select this option if you want to have a single module z90crypt.ko
8861d48c2cSMartin Schwidefsky	  that contains all parts of the crypto device driver (ap bus,
8961d48c2cSMartin Schwidefsky	  request router and all the card drivers).
9061d48c2cSMartin Schwidefsky
91b511431dSJan Engelhardtendif # CRYPTO_HW
92