xref: /openbmc/linux/drivers/crypto/Kconfig (revision a3358e3d)
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"
152f817418SHerbert Xu	depends on X86 && !UML
161da177e4SLinus Torvalds	help
171da177e4SLinus Torvalds	  Some VIA processors come with an integrated crypto engine
181da177e4SLinus Torvalds	  (so called VIA PadLock ACE, Advanced Cryptography Engine)
191191f0a4SMichal Ludvig	  that provides instructions for very fast cryptographic
201191f0a4SMichal Ludvig	  operations with supported algorithms.
211da177e4SLinus Torvalds
221da177e4SLinus Torvalds	  The instructions are used only when the CPU supports them.
235644bda5SMichal Ludvig	  Otherwise software encryption is used.
245644bda5SMichal Ludvig
251da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK_AES
261191f0a4SMichal Ludvig	tristate "PadLock driver for AES algorithm"
271da177e4SLinus Torvalds	depends on CRYPTO_DEV_PADLOCK
2828ce728aSHerbert Xu	select CRYPTO_BLKCIPHER
297dc748e4SSebastian Siewior	select CRYPTO_AES
301da177e4SLinus Torvalds	help
311da177e4SLinus Torvalds	  Use VIA PadLock for AES algorithm.
321da177e4SLinus Torvalds
331191f0a4SMichal Ludvig	  Available in VIA C3 and newer CPUs.
341191f0a4SMichal Ludvig
351191f0a4SMichal Ludvig	  If unsure say M. The compiled module will be
364737f097SPavel Machek	  called padlock-aes.
371191f0a4SMichal Ludvig
386c833275SMichal Ludvigconfig CRYPTO_DEV_PADLOCK_SHA
396c833275SMichal Ludvig	tristate "PadLock driver for SHA1 and SHA256 algorithms"
406c833275SMichal Ludvig	depends on CRYPTO_DEV_PADLOCK
41bbbee467SHerbert Xu	select CRYPTO_HASH
426c833275SMichal Ludvig	select CRYPTO_SHA1
436c833275SMichal Ludvig	select CRYPTO_SHA256
446c833275SMichal Ludvig	help
456c833275SMichal Ludvig	  Use VIA PadLock for SHA1/SHA256 algorithms.
466c833275SMichal Ludvig
476c833275SMichal Ludvig	  Available in VIA C7 and newer processors.
486c833275SMichal Ludvig
496c833275SMichal Ludvig	  If unsure say M. The compiled module will be
504737f097SPavel Machek	  called padlock-sha.
516c833275SMichal Ludvig
529fe757b0SJordan Crouseconfig CRYPTO_DEV_GEODE
539fe757b0SJordan Crouse	tristate "Support for the Geode LX AES engine"
54f6259deaSSimon Arlott	depends on X86_32 && PCI
559fe757b0SJordan Crouse	select CRYPTO_ALGAPI
569fe757b0SJordan Crouse	select CRYPTO_BLKCIPHER
579fe757b0SJordan Crouse	help
589fe757b0SJordan Crouse	  Say 'Y' here to use the AMD Geode LX processor on-board AES
593dde6ad8SDavid Sterba	  engine for the CryptoAPI AES algorithm.
609fe757b0SJordan Crouse
619fe757b0SJordan Crouse	  To compile this driver as a module, choose M here: the module
629fe757b0SJordan Crouse	  will be called geode-aes.
639fe757b0SJordan Crouse
6461d48c2cSMartin Schwidefskyconfig ZCRYPT
65a3358e3dSHarald Freudenberger	tristate "Support for s390 cryptographic adapters"
6661d48c2cSMartin Schwidefsky	depends on S390
672f7c8bd6SRalph Wuerthner	select HW_RANDOM
6861d48c2cSMartin Schwidefsky	help
69a3358e3dSHarald Freudenberger	  Select this option if you want to enable support for
70a3358e3dSHarald Freudenberger	  s390 cryptographic adapters like:
7161d48c2cSMartin Schwidefsky	  + PCI-X Cryptographic Coprocessor (PCIXCC)
72a3358e3dSHarald Freudenberger	  + Crypto Express 2,3,4 or 5 Coprocessor (CEXxC)
73a3358e3dSHarald Freudenberger	  + Crypto Express 2,3,4 or 5 Accelerator (CEXxA)
74a3358e3dSHarald Freudenberger	  + Crypto Express 4 or 5 EP11 Coprocessor (CEXxP)
7561d48c2cSMartin Schwidefsky
763f5615e0SJan Glauberconfig CRYPTO_SHA1_S390
773f5615e0SJan Glauber	tristate "SHA1 digest algorithm"
783f5615e0SJan Glauber	depends on S390
79563f346dSHerbert Xu	select CRYPTO_HASH
803f5615e0SJan Glauber	help
813f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
823f5615e0SJan Glauber	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
833f5615e0SJan Glauber
84d393d9b8SJan Glauber	  It is available as of z990.
85d393d9b8SJan Glauber
863f5615e0SJan Glauberconfig CRYPTO_SHA256_S390
873f5615e0SJan Glauber	tristate "SHA256 digest algorithm"
883f5615e0SJan Glauber	depends on S390
89563f346dSHerbert Xu	select CRYPTO_HASH
903f5615e0SJan Glauber	help
913f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
923f5615e0SJan Glauber	  SHA256 secure hash standard (DFIPS 180-2).
933f5615e0SJan Glauber
94d393d9b8SJan Glauber	  It is available as of z9.
953f5615e0SJan Glauber
96291dc7c0SJan Glauberconfig CRYPTO_SHA512_S390
974e2c6d7fSJan Glauber	tristate "SHA384 and SHA512 digest algorithm"
98291dc7c0SJan Glauber	depends on S390
99563f346dSHerbert Xu	select CRYPTO_HASH
100291dc7c0SJan Glauber	help
101291dc7c0SJan Glauber	  This is the s390 hardware accelerated implementation of the
102291dc7c0SJan Glauber	  SHA512 secure hash standard.
103291dc7c0SJan Glauber
104d393d9b8SJan Glauber	  It is available as of z10.
105291dc7c0SJan Glauber
1063f5615e0SJan Glauberconfig CRYPTO_DES_S390
1073f5615e0SJan Glauber	tristate "DES and Triple DES cipher algorithms"
1083f5615e0SJan Glauber	depends on S390
1093f5615e0SJan Glauber	select CRYPTO_ALGAPI
1103f5615e0SJan Glauber	select CRYPTO_BLKCIPHER
11163291d40SHeiko Carstens	select CRYPTO_DES
1123f5615e0SJan Glauber	help
1130200f3ecSGerald Schaefer	  This is the s390 hardware accelerated implementation of the
1143f5615e0SJan Glauber	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1153f5615e0SJan Glauber
1160200f3ecSGerald Schaefer	  As of z990 the ECB and CBC mode are hardware accelerated.
1170200f3ecSGerald Schaefer	  As of z196 the CTR mode is hardware accelerated.
1180200f3ecSGerald Schaefer
1193f5615e0SJan Glauberconfig CRYPTO_AES_S390
1203f5615e0SJan Glauber	tristate "AES cipher algorithms"
1213f5615e0SJan Glauber	depends on S390
1223f5615e0SJan Glauber	select CRYPTO_ALGAPI
1233f5615e0SJan Glauber	select CRYPTO_BLKCIPHER
1243f5615e0SJan Glauber	help
1253f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
12699d97222SGerald Schaefer	  AES cipher algorithms (FIPS-197).
1273f5615e0SJan Glauber
12899d97222SGerald Schaefer	  As of z9 the ECB and CBC modes are hardware accelerated
12999d97222SGerald Schaefer	  for 128 bit keys.
13099d97222SGerald Schaefer	  As of z10 the ECB and CBC modes are hardware accelerated
13199d97222SGerald Schaefer	  for all AES key sizes.
1320200f3ecSGerald Schaefer	  As of z196 the CTR mode is hardware accelerated for all AES
1330200f3ecSGerald Schaefer	  key sizes and XTS mode is hardware accelerated for 256 and
13499d97222SGerald Schaefer	  512 bit keys.
1353f5615e0SJan Glauber
1363f5615e0SJan Glauberconfig S390_PRNG
1373f5615e0SJan Glauber	tristate "Pseudo random number generator device driver"
1383f5615e0SJan Glauber	depends on S390
1393f5615e0SJan Glauber	default "m"
1403f5615e0SJan Glauber	help
1413f5615e0SJan Glauber	  Select this option if you want to use the s390 pseudo random number
1423f5615e0SJan Glauber	  generator. The PRNG is part of the cryptographic processor functions
1433f5615e0SJan Glauber	  and uses triple-DES to generate secure random numbers like the
144d393d9b8SJan Glauber	  ANSI X9.17 standard. User-space programs access the
145d393d9b8SJan Glauber	  pseudo-random-number device through the char device /dev/prandom.
146d393d9b8SJan Glauber
147d393d9b8SJan Glauber	  It is available as of z9.
1483f5615e0SJan Glauber
149df1309ceSGerald Schaeferconfig CRYPTO_GHASH_S390
150df1309ceSGerald Schaefer	tristate "GHASH digest algorithm"
151df1309ceSGerald Schaefer	depends on S390
152df1309ceSGerald Schaefer	select CRYPTO_HASH
153df1309ceSGerald Schaefer	help
154df1309ceSGerald Schaefer	  This is the s390 hardware accelerated implementation of the
155df1309ceSGerald Schaefer	  GHASH message digest algorithm for GCM (Galois/Counter Mode).
156df1309ceSGerald Schaefer
157df1309ceSGerald Schaefer	  It is available as of z196.
158df1309ceSGerald Schaefer
159f848dbd3SHendrik Bruecknerconfig CRYPTO_CRC32_S390
160f848dbd3SHendrik Brueckner	tristate "CRC-32 algorithms"
161f848dbd3SHendrik Brueckner	depends on S390
162f848dbd3SHendrik Brueckner	select CRYPTO_HASH
163f848dbd3SHendrik Brueckner	select CRC32
164f848dbd3SHendrik Brueckner	help
165f848dbd3SHendrik Brueckner	  Select this option if you want to use hardware accelerated
166f848dbd3SHendrik Brueckner	  implementations of CRC algorithms.  With this option, you
167f848dbd3SHendrik Brueckner	  can optimize the computation of CRC-32 (IEEE 802.3 Ethernet)
168f848dbd3SHendrik Brueckner	  and CRC-32C (Castagnoli).
169f848dbd3SHendrik Brueckner
170f848dbd3SHendrik Brueckner	  It is available with IBM z13 or later.
171f848dbd3SHendrik Brueckner
17285a7f0acSSebastian Andrzej Siewiorconfig CRYPTO_DEV_MV_CESA
17385a7f0acSSebastian Andrzej Siewior	tristate "Marvell's Cryptographic Engine"
17485a7f0acSSebastian Andrzej Siewior	depends on PLAT_ORION
17585a7f0acSSebastian Andrzej Siewior	select CRYPTO_AES
176596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
1771ebfefcfSAlexander Clouter	select CRYPTO_HASH
17851b44fc8SBoris BREZILLON	select SRAM
17985a7f0acSSebastian Andrzej Siewior	help
18085a7f0acSSebastian Andrzej Siewior	  This driver allows you to utilize the Cryptographic Engines and
18185a7f0acSSebastian Andrzej Siewior	  Security Accelerator (CESA) which can be found on the Marvell Orion
18285a7f0acSSebastian Andrzej Siewior	  and Kirkwood SoCs, such as QNAP's TS-209.
18385a7f0acSSebastian Andrzej Siewior
18485a7f0acSSebastian Andrzej Siewior	  Currently the driver supports AES in ECB and CBC mode without DMA.
18585a7f0acSSebastian Andrzej Siewior
186f63601fdSBoris BREZILLONconfig CRYPTO_DEV_MARVELL_CESA
187f63601fdSBoris BREZILLON	tristate "New Marvell's Cryptographic Engine driver"
188fe55dfdcSBoris Brezillon	depends on PLAT_ORION || ARCH_MVEBU
189f63601fdSBoris BREZILLON	select CRYPTO_AES
190f63601fdSBoris BREZILLON	select CRYPTO_DES
191f63601fdSBoris BREZILLON	select CRYPTO_BLKCIPHER
192f63601fdSBoris BREZILLON	select CRYPTO_HASH
193f63601fdSBoris BREZILLON	select SRAM
194f63601fdSBoris BREZILLON	help
195f63601fdSBoris BREZILLON	  This driver allows you to utilize the Cryptographic Engines and
196f63601fdSBoris BREZILLON	  Security Accelerator (CESA) which can be found on the Armada 370.
197db509a45SBoris BREZILLON	  This driver supports CPU offload through DMA transfers.
198f63601fdSBoris BREZILLON
199f63601fdSBoris BREZILLON	  This driver is aimed at replacing the mv_cesa driver. This will only
200f63601fdSBoris BREZILLON	  happen once it has received proper testing.
201f63601fdSBoris BREZILLON
2020a625fd2SDavid S. Millerconfig CRYPTO_DEV_NIAGARA2
2030a625fd2SDavid S. Miller       tristate "Niagara2 Stream Processing Unit driver"
20450e78161SDavid S. Miller       select CRYPTO_DES
205596103cfSHerbert Xu       select CRYPTO_BLKCIPHER
206596103cfSHerbert Xu       select CRYPTO_HASH
2078054b800SLABBE Corentin       select CRYPTO_MD5
2088054b800SLABBE Corentin       select CRYPTO_SHA1
2098054b800SLABBE Corentin       select CRYPTO_SHA256
2100a625fd2SDavid S. Miller       depends on SPARC64
2110a625fd2SDavid S. Miller       help
2120a625fd2SDavid S. Miller	  Each core of a Niagara2 processor contains a Stream
2130a625fd2SDavid S. Miller	  Processing Unit, which itself contains several cryptographic
2140a625fd2SDavid S. Miller	  sub-units.  One set provides the Modular Arithmetic Unit,
2150a625fd2SDavid S. Miller	  used for SSL offload.  The other set provides the Cipher
2160a625fd2SDavid S. Miller	  Group, which can perform encryption, decryption, hashing,
2170a625fd2SDavid S. Miller	  checksumming, and raw copies.
2180a625fd2SDavid S. Miller
219f7d0561eSEvgeniy Polyakovconfig CRYPTO_DEV_HIFN_795X
220f7d0561eSEvgeniy Polyakov	tristate "Driver HIFN 795x crypto accelerator chips"
221c3041f9cSEvgeniy Polyakov	select CRYPTO_DES
222653ebd9cSHerbert Xu	select CRYPTO_BLKCIPHER
223946fef4eSHerbert Xu	select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
2242707b937SJan Glauber	depends on PCI
22575b76625SRichard Weinberger	depends on !ARCH_DMA_ADDR_T_64BIT
226f7d0561eSEvgeniy Polyakov	help
227f7d0561eSEvgeniy Polyakov	  This option allows you to have support for HIFN 795x crypto adapters.
228f7d0561eSEvgeniy Polyakov
229946fef4eSHerbert Xuconfig CRYPTO_DEV_HIFN_795X_RNG
230946fef4eSHerbert Xu	bool "HIFN 795x random number generator"
231946fef4eSHerbert Xu	depends on CRYPTO_DEV_HIFN_795X
232946fef4eSHerbert Xu	help
233946fef4eSHerbert Xu	  Select this option if you want to enable the random number generator
234946fef4eSHerbert Xu	  on the HIFN 795x crypto adapters.
235f7d0561eSEvgeniy Polyakov
2368e8ec596SKim Phillipssource drivers/crypto/caam/Kconfig
2378e8ec596SKim Phillips
2389c4a7965SKim Phillipsconfig CRYPTO_DEV_TALITOS
2399c4a7965SKim Phillips	tristate "Talitos Freescale Security Engine (SEC)"
240596103cfSHerbert Xu	select CRYPTO_AEAD
2419c4a7965SKim Phillips	select CRYPTO_AUTHENC
242596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
243596103cfSHerbert Xu	select CRYPTO_HASH
2449c4a7965SKim Phillips	select HW_RANDOM
2459c4a7965SKim Phillips	depends on FSL_SOC
2469c4a7965SKim Phillips	help
2479c4a7965SKim Phillips	  Say 'Y' here to use the Freescale Security Engine (SEC)
2489c4a7965SKim Phillips	  to offload cryptographic algorithm computation.
2499c4a7965SKim Phillips
2509c4a7965SKim Phillips	  The Freescale SEC is present on PowerQUICC 'E' processors, such
2519c4a7965SKim Phillips	  as the MPC8349E and MPC8548E.
2529c4a7965SKim Phillips
2539c4a7965SKim Phillips	  To compile this driver as a module, choose M here: the module
2549c4a7965SKim Phillips	  will be called talitos.
2559c4a7965SKim Phillips
2565b841a65SLEROY Christopheconfig CRYPTO_DEV_TALITOS1
2575b841a65SLEROY Christophe	bool "SEC1 (SEC 1.0 and SEC Lite 1.2)"
2585b841a65SLEROY Christophe	depends on CRYPTO_DEV_TALITOS
2595b841a65SLEROY Christophe	depends on PPC_8xx || PPC_82xx
2605b841a65SLEROY Christophe	default y
2615b841a65SLEROY Christophe	help
2625b841a65SLEROY Christophe	  Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0
2635b841a65SLEROY Christophe	  found on MPC82xx or the Freescale Security Engine (SEC Lite)
2645b841a65SLEROY Christophe	  version 1.2 found on MPC8xx
2655b841a65SLEROY Christophe
2665b841a65SLEROY Christopheconfig CRYPTO_DEV_TALITOS2
2675b841a65SLEROY Christophe	bool "SEC2+ (SEC version 2.0 or upper)"
2685b841a65SLEROY Christophe	depends on CRYPTO_DEV_TALITOS
2695b841a65SLEROY Christophe	default y if !PPC_8xx
2705b841a65SLEROY Christophe	help
2715b841a65SLEROY Christophe	  Say 'Y' here to use the Freescale Security Engine (SEC)
2725b841a65SLEROY Christophe	  version 2 and following as found on MPC83xx, MPC85xx, etc ...
2735b841a65SLEROY Christophe
27481bef015SChristian Hohnstaedtconfig CRYPTO_DEV_IXP4XX
27581bef015SChristian Hohnstaedt	tristate "Driver for IXP4xx crypto hardware acceleration"
2769665c52bSKrzysztof Hałasa	depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE
27781bef015SChristian Hohnstaedt	select CRYPTO_DES
278596103cfSHerbert Xu	select CRYPTO_AEAD
279090657e4SImre Kaloz	select CRYPTO_AUTHENC
28081bef015SChristian Hohnstaedt	select CRYPTO_BLKCIPHER
28181bef015SChristian Hohnstaedt	help
28281bef015SChristian Hohnstaedt	  Driver for the IXP4xx NPE crypto engine.
28381bef015SChristian Hohnstaedt
284049359d6SJames Hsiaoconfig CRYPTO_DEV_PPC4XX
285049359d6SJames Hsiao	tristate "Driver AMCC PPC4xx crypto accelerator"
286049359d6SJames Hsiao	depends on PPC && 4xx
287049359d6SJames Hsiao	select CRYPTO_HASH
288049359d6SJames Hsiao	select CRYPTO_BLKCIPHER
289049359d6SJames Hsiao	help
290049359d6SJames Hsiao	  This option allows you to have support for AMCC crypto acceleration.
291049359d6SJames Hsiao
2925343e674SChristian Lamparterconfig HW_RANDOM_PPC4XX
2935343e674SChristian Lamparter	bool "PowerPC 4xx generic true random number generator support"
2945343e674SChristian Lamparter	depends on CRYPTO_DEV_PPC4XX && HW_RANDOM
2955343e674SChristian Lamparter	default y
2965343e674SChristian Lamparter	---help---
2975343e674SChristian Lamparter	 This option provides the kernel-side support for the TRNG hardware
2985343e674SChristian Lamparter	 found in the security function of some PowerPC 4xx SoCs.
2995343e674SChristian Lamparter
3008628e7c8SDmitry Kasatkinconfig CRYPTO_DEV_OMAP_SHAM
301eaef7e3fSLokesh Vutla	tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
302eaef7e3fSLokesh Vutla	depends on ARCH_OMAP2PLUS
3038628e7c8SDmitry Kasatkin	select CRYPTO_SHA1
3048628e7c8SDmitry Kasatkin	select CRYPTO_MD5
305eaef7e3fSLokesh Vutla	select CRYPTO_SHA256
306eaef7e3fSLokesh Vutla	select CRYPTO_SHA512
307eaef7e3fSLokesh Vutla	select CRYPTO_HMAC
3088628e7c8SDmitry Kasatkin	help
309eaef7e3fSLokesh Vutla	  OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you
310eaef7e3fSLokesh Vutla	  want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
3118628e7c8SDmitry Kasatkin
312537559a5SDmitry Kasatkinconfig CRYPTO_DEV_OMAP_AES
313537559a5SDmitry Kasatkin	tristate "Support for OMAP AES hw engine"
3141bbf6437SJoel Fernandes	depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS
315537559a5SDmitry Kasatkin	select CRYPTO_AES
316596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
3170529900aSBaolin Wang	select CRYPTO_ENGINE
3189fcb191aSLokesh Vutla	select CRYPTO_CBC
3199fcb191aSLokesh Vutla	select CRYPTO_ECB
3209fcb191aSLokesh Vutla	select CRYPTO_CTR
321537559a5SDmitry Kasatkin	help
322537559a5SDmitry Kasatkin	  OMAP processors have AES module accelerator. Select this if you
323537559a5SDmitry Kasatkin	  want to use the OMAP module for AES algorithms.
324537559a5SDmitry Kasatkin
325701d0f19SJoel Fernandesconfig CRYPTO_DEV_OMAP_DES
32697ee7ed3SPeter Meerwald	tristate "Support for OMAP DES/3DES hw engine"
327701d0f19SJoel Fernandes	depends on ARCH_OMAP2PLUS
328701d0f19SJoel Fernandes	select CRYPTO_DES
329596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
330f1b77aacSBaolin Wang	select CRYPTO_ENGINE
331701d0f19SJoel Fernandes	help
332701d0f19SJoel Fernandes	  OMAP processors have DES/3DES module accelerator. Select this if you
333701d0f19SJoel Fernandes	  want to use the OMAP module for DES and 3DES algorithms. Currently
33497ee7ed3SPeter Meerwald	  the ECB and CBC modes of operation are supported by the driver. Also
33597ee7ed3SPeter Meerwald	  accesses made on unaligned boundaries are supported.
336701d0f19SJoel Fernandes
337ce921368SJamie Ilesconfig CRYPTO_DEV_PICOXCELL
338ce921368SJamie Iles	tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
339fad8fa47SJamie Iles	depends on ARCH_PICOXCELL && HAVE_CLK
340596103cfSHerbert Xu	select CRYPTO_AEAD
341ce921368SJamie Iles	select CRYPTO_AES
342ce921368SJamie Iles	select CRYPTO_AUTHENC
343596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
344ce921368SJamie Iles	select CRYPTO_DES
345ce921368SJamie Iles	select CRYPTO_CBC
346ce921368SJamie Iles	select CRYPTO_ECB
347ce921368SJamie Iles	select CRYPTO_SEQIV
348ce921368SJamie Iles	help
349ce921368SJamie Iles	  This option enables support for the hardware offload engines in the
350ce921368SJamie Iles	  Picochip picoXcell SoC devices. Select this for IPSEC ESP offload
351ce921368SJamie Iles	  and for 3gpp Layer 2 ciphering support.
352ce921368SJamie Iles
353ce921368SJamie Iles	  Saying m here will build a module named pipcoxcell_crypto.
354ce921368SJamie Iles
3555de88752SJavier Martinconfig CRYPTO_DEV_SAHARA
3565de88752SJavier Martin	tristate "Support for SAHARA crypto accelerator"
35774d24d83SPaul Bolle	depends on ARCH_MXC && OF
3585de88752SJavier Martin	select CRYPTO_BLKCIPHER
3595de88752SJavier Martin	select CRYPTO_AES
3605de88752SJavier Martin	select CRYPTO_ECB
3615de88752SJavier Martin	help
3625de88752SJavier Martin	  This option enables support for the SAHARA HW crypto accelerator
3635de88752SJavier Martin	  found in some Freescale i.MX chips.
3645de88752SJavier Martin
365d293b640SSteffen Trumtrarconfig CRYPTO_DEV_MXC_SCC
366d293b640SSteffen Trumtrar	tristate "Support for Freescale Security Controller (SCC)"
367d293b640SSteffen Trumtrar	depends on ARCH_MXC && OF
368d293b640SSteffen Trumtrar	select CRYPTO_BLKCIPHER
369d293b640SSteffen Trumtrar	select CRYPTO_DES
370d293b640SSteffen Trumtrar	help
371d293b640SSteffen Trumtrar	  This option enables support for the Security Controller (SCC)
372d293b640SSteffen Trumtrar	  found in Freescale i.MX25 chips.
373d293b640SSteffen Trumtrar
374a49e490cSVladimir Zapolskiyconfig CRYPTO_DEV_S5P
375e922e96fSNaveen Krishna Chatradhi	tristate "Support for Samsung S5PV210/Exynos crypto accelerator"
376dc1d9deeSKrzysztof Kozlowski	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
377dc1d9deeSKrzysztof Kozlowski	depends on HAS_IOMEM && HAS_DMA
378a49e490cSVladimir Zapolskiy	select CRYPTO_AES
379a49e490cSVladimir Zapolskiy	select CRYPTO_BLKCIPHER
380a49e490cSVladimir Zapolskiy	help
381a49e490cSVladimir Zapolskiy	  This option allows you to have support for S5P crypto acceleration.
382e922e96fSNaveen Krishna Chatradhi	  Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES
383a49e490cSVladimir Zapolskiy	  algorithms execution.
384a49e490cSVladimir Zapolskiy
385aef7b31cSKent Yoderconfig CRYPTO_DEV_NX
3867011a122SDan Streetman	bool "Support for IBM PowerPC Nest (NX) cryptographic acceleration"
3877011a122SDan Streetman	depends on PPC64
388aef7b31cSKent Yoder	help
3897011a122SDan Streetman	  This enables support for the NX hardware cryptographic accelerator
3907011a122SDan Streetman	  coprocessor that is in IBM PowerPC P7+ or later processors.  This
3917011a122SDan Streetman	  does not actually enable any drivers, it only allows you to select
3927011a122SDan Streetman	  which acceleration type (encryption and/or compression) to enable.
393322cacceSSeth Jennings
394322cacceSSeth Jenningsif CRYPTO_DEV_NX
395322cacceSSeth Jennings	source "drivers/crypto/nx/Kconfig"
396322cacceSSeth Jenningsendif
397aef7b31cSKent Yoder
3982789c08fSAndreas Westinconfig CRYPTO_DEV_UX500
3992789c08fSAndreas Westin	tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration"
4002789c08fSAndreas Westin	depends on ARCH_U8500
4012789c08fSAndreas Westin	help
4022789c08fSAndreas Westin	  Driver for ST-Ericsson UX500 crypto engine.
4032789c08fSAndreas Westin
4042789c08fSAndreas Westinif CRYPTO_DEV_UX500
4052789c08fSAndreas Westin	source "drivers/crypto/ux500/Kconfig"
4062789c08fSAndreas Westinendif # if CRYPTO_DEV_UX500
4072789c08fSAndreas Westin
408b8840098SSonic Zhangconfig CRYPTO_DEV_BFIN_CRC
409b8840098SSonic Zhang	tristate "Support for Blackfin CRC hardware"
410b8840098SSonic Zhang	depends on BF60x
411b8840098SSonic Zhang	help
412b8840098SSonic Zhang	  Newer Blackfin processors have CRC hardware. Select this if you
413b8840098SSonic Zhang	  want to use the Blackfin CRC module.
414b8840098SSonic Zhang
415bd3c7b5cSNicolas Royerconfig CRYPTO_DEV_ATMEL_AES
416bd3c7b5cSNicolas Royer	tristate "Support for Atmel AES hw accelerator"
417cbafd643SGeert Uytterhoeven	depends on HAS_DMA
41856b85c9dSArnd Bergmann	depends on AT_XDMAC || AT_HDMAC || COMPILE_TEST
419bd3c7b5cSNicolas Royer	select CRYPTO_AES
420d4419548SCyrille Pitchen	select CRYPTO_AEAD
421bd3c7b5cSNicolas Royer	select CRYPTO_BLKCIPHER
422bd3c7b5cSNicolas Royer	help
423bd3c7b5cSNicolas Royer	  Some Atmel processors have AES hw accelerator.
424bd3c7b5cSNicolas Royer	  Select this if you want to use the Atmel module for
425bd3c7b5cSNicolas Royer	  AES algorithms.
426bd3c7b5cSNicolas Royer
427bd3c7b5cSNicolas Royer	  To compile this driver as a module, choose M here: the module
428bd3c7b5cSNicolas Royer	  will be called atmel-aes.
429bd3c7b5cSNicolas Royer
43013802005SNicolas Royerconfig CRYPTO_DEV_ATMEL_TDES
43113802005SNicolas Royer	tristate "Support for Atmel DES/TDES hw accelerator"
43213802005SNicolas Royer	depends on ARCH_AT91
43313802005SNicolas Royer	select CRYPTO_DES
43413802005SNicolas Royer	select CRYPTO_BLKCIPHER
43513802005SNicolas Royer	help
43613802005SNicolas Royer	  Some Atmel processors have DES/TDES hw accelerator.
43713802005SNicolas Royer	  Select this if you want to use the Atmel module for
43813802005SNicolas Royer	  DES/TDES algorithms.
43913802005SNicolas Royer
44013802005SNicolas Royer	  To compile this driver as a module, choose M here: the module
44113802005SNicolas Royer	  will be called atmel-tdes.
44213802005SNicolas Royer
443ebc82efaSNicolas Royerconfig CRYPTO_DEV_ATMEL_SHA
444d4905b38SNicolas Royer	tristate "Support for Atmel SHA hw accelerator"
445ebc82efaSNicolas Royer	depends on ARCH_AT91
446596103cfSHerbert Xu	select CRYPTO_HASH
447ebc82efaSNicolas Royer	help
448d4905b38SNicolas Royer	  Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512
449d4905b38SNicolas Royer	  hw accelerator.
450ebc82efaSNicolas Royer	  Select this if you want to use the Atmel module for
451d4905b38SNicolas Royer	  SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
452ebc82efaSNicolas Royer
453ebc82efaSNicolas Royer	  To compile this driver as a module, choose M here: the module
454ebc82efaSNicolas Royer	  will be called atmel-sha.
455ebc82efaSNicolas Royer
456f1147660STom Lendackyconfig CRYPTO_DEV_CCP
457f1147660STom Lendacky	bool "Support for AMD Cryptographic Coprocessor"
4586c506343STom Lendacky	depends on ((X86 && PCI) || (ARM64 && (OF_ADDRESS || ACPI))) && HAS_IOMEM
459f1147660STom Lendacky	help
46021dc9e8fSTom Lendacky	  The AMD Cryptographic Coprocessor provides hardware offload support
461f1147660STom Lendacky	  for encryption, hashing and related operations.
462f1147660STom Lendacky
463f1147660STom Lendackyif CRYPTO_DEV_CCP
464f1147660STom Lendacky	source "drivers/crypto/ccp/Kconfig"
465f1147660STom Lendackyendif
466f1147660STom Lendacky
46715b59e7cSMarek Vasutconfig CRYPTO_DEV_MXS_DCP
46815b59e7cSMarek Vasut	tristate "Support for Freescale MXS DCP"
469a2712e6cSFabio Estevam	depends on (ARCH_MXS || ARCH_MXC)
470dc97fa02SArnd Bergmann	select STMP_DEVICE
47115b59e7cSMarek Vasut	select CRYPTO_CBC
47215b59e7cSMarek Vasut	select CRYPTO_ECB
47315b59e7cSMarek Vasut	select CRYPTO_AES
47415b59e7cSMarek Vasut	select CRYPTO_BLKCIPHER
475596103cfSHerbert Xu	select CRYPTO_HASH
47615b59e7cSMarek Vasut	help
47715b59e7cSMarek Vasut	  The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
47815b59e7cSMarek Vasut	  co-processor on the die.
47915b59e7cSMarek Vasut
48015b59e7cSMarek Vasut	  To compile this driver as a module, choose M here: the module
48115b59e7cSMarek Vasut	  will be called mxs-dcp.
48215b59e7cSMarek Vasut
483cea4001aSTadeusz Struksource "drivers/crypto/qat/Kconfig"
484c672752dSStanimir Varbanov
485c672752dSStanimir Varbanovconfig CRYPTO_DEV_QCE
486c672752dSStanimir Varbanov	tristate "Qualcomm crypto engine accelerator"
48771d932d9SChen Gang	depends on (ARCH_QCOM || COMPILE_TEST) && HAS_DMA && HAS_IOMEM
488c672752dSStanimir Varbanov	select CRYPTO_AES
489c672752dSStanimir Varbanov	select CRYPTO_DES
490c672752dSStanimir Varbanov	select CRYPTO_ECB
491c672752dSStanimir Varbanov	select CRYPTO_CBC
492c672752dSStanimir Varbanov	select CRYPTO_XTS
493c672752dSStanimir Varbanov	select CRYPTO_CTR
494c672752dSStanimir Varbanov	select CRYPTO_BLKCIPHER
495c672752dSStanimir Varbanov	help
496c672752dSStanimir Varbanov	  This driver supports Qualcomm crypto engine accelerator
497c672752dSStanimir Varbanov	  hardware. To compile this driver as a module, choose M here. The
498c672752dSStanimir Varbanov	  module will be called qcrypto.
499c672752dSStanimir Varbanov
500d2e3ae6fSLeonidas S. Barbosaconfig CRYPTO_DEV_VMX
501d2e3ae6fSLeonidas S. Barbosa	bool "Support for VMX cryptographic acceleration instructions"
502f1ab4287SMichael Ellerman	depends on PPC64 && VSX
503d2e3ae6fSLeonidas S. Barbosa	help
504d2e3ae6fSLeonidas S. Barbosa	  Support for VMX cryptographic acceleration instructions.
505d2e3ae6fSLeonidas S. Barbosa
506d2e3ae6fSLeonidas S. Barbosasource "drivers/crypto/vmx/Kconfig"
507d2e3ae6fSLeonidas S. Barbosa
508d358f1abSJames Hartleyconfig CRYPTO_DEV_IMGTEC_HASH
509d358f1abSJames Hartley	tristate "Imagination Technologies hardware hash accelerator"
5108c98ebd7SGeert Uytterhoeven	depends on MIPS || COMPILE_TEST
5118c98ebd7SGeert Uytterhoeven	depends on HAS_DMA
512d358f1abSJames Hartley	select CRYPTO_MD5
513d358f1abSJames Hartley	select CRYPTO_SHA1
514d358f1abSJames Hartley	select CRYPTO_SHA256
515d358f1abSJames Hartley	select CRYPTO_HASH
516d358f1abSJames Hartley	help
517d358f1abSJames Hartley	  This driver interfaces with the Imagination Technologies
518d358f1abSJames Hartley	  hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256
519d358f1abSJames Hartley	  hashing algorithms.
520d358f1abSJames Hartley
5216298e948SLABBE Corentinconfig CRYPTO_DEV_SUN4I_SS
5226298e948SLABBE Corentin	tristate "Support for Allwinner Security System cryptographic accelerator"
523f823ab93SAndre Przywara	depends on ARCH_SUNXI && !64BIT
5246298e948SLABBE Corentin	select CRYPTO_MD5
5256298e948SLABBE Corentin	select CRYPTO_SHA1
5266298e948SLABBE Corentin	select CRYPTO_AES
5276298e948SLABBE Corentin	select CRYPTO_DES
5286298e948SLABBE Corentin	select CRYPTO_BLKCIPHER
5296298e948SLABBE Corentin	help
5306298e948SLABBE Corentin	  Some Allwinner SoC have a crypto accelerator named
5316298e948SLABBE Corentin	  Security System. Select this if you want to use it.
5326298e948SLABBE Corentin	  The Security System handle AES/DES/3DES ciphers in CBC mode
5336298e948SLABBE Corentin	  and SHA1 and MD5 hash algorithms.
5346298e948SLABBE Corentin
5356298e948SLABBE Corentin	  To compile this driver as a module, choose M here: the module
5366298e948SLABBE Corentin	  will be called sun4i-ss.
5376298e948SLABBE Corentin
538433cd2c6SZain Wangconfig CRYPTO_DEV_ROCKCHIP
539433cd2c6SZain Wang	tristate "Rockchip's Cryptographic Engine driver"
540433cd2c6SZain Wang	depends on OF && ARCH_ROCKCHIP
541433cd2c6SZain Wang	select CRYPTO_AES
542433cd2c6SZain Wang	select CRYPTO_DES
543bfd927ffSZain Wang	select CRYPTO_MD5
544bfd927ffSZain Wang	select CRYPTO_SHA1
545bfd927ffSZain Wang	select CRYPTO_SHA256
546bfd927ffSZain Wang	select CRYPTO_HASH
547433cd2c6SZain Wang	select CRYPTO_BLKCIPHER
548433cd2c6SZain Wang
549433cd2c6SZain Wang	help
550433cd2c6SZain Wang	  This driver interfaces with the hardware crypto accelerator.
551433cd2c6SZain Wang	  Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
552433cd2c6SZain Wang
55302038fd6SHariprasad Shenaisource "drivers/crypto/chelsio/Kconfig"
55402038fd6SHariprasad Shenai
555dbaf0624SGongleisource "drivers/crypto/virtio/Kconfig"
556dbaf0624SGonglei
557b511431dSJan Engelhardtendif # CRYPTO_HW
558