xref: /linux/drivers/crypto/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2b511431dSJan Engelhardt
3b511431dSJan Engelhardtmenuconfig CRYPTO_HW
4b511431dSJan Engelhardt	bool "Hardware crypto devices"
5b511431dSJan Engelhardt	default y
606bfb7ebSJan Engelhardt	---help---
706bfb7ebSJan Engelhardt	  Say Y here to get to see options for hardware crypto devices and
806bfb7ebSJan Engelhardt	  processors. This option alone does not add any kernel code.
906bfb7ebSJan Engelhardt
1006bfb7ebSJan Engelhardt	  If you say N, all options in this submenu will be skipped and disabled.
11b511431dSJan Engelhardt
12b511431dSJan Engelhardtif CRYPTO_HW
131da177e4SLinus Torvalds
141da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK
15d158325eSHerbert Xu	tristate "Support for VIA PadLock ACE"
162f817418SHerbert Xu	depends on X86 && !UML
171da177e4SLinus Torvalds	help
181da177e4SLinus Torvalds	  Some VIA processors come with an integrated crypto engine
191da177e4SLinus Torvalds	  (so called VIA PadLock ACE, Advanced Cryptography Engine)
201191f0a4SMichal Ludvig	  that provides instructions for very fast cryptographic
211191f0a4SMichal Ludvig	  operations with supported algorithms.
221da177e4SLinus Torvalds
231da177e4SLinus Torvalds	  The instructions are used only when the CPU supports them.
245644bda5SMichal Ludvig	  Otherwise software encryption is used.
255644bda5SMichal Ludvig
261da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK_AES
271191f0a4SMichal Ludvig	tristate "PadLock driver for AES algorithm"
281da177e4SLinus Torvalds	depends on CRYPTO_DEV_PADLOCK
2928ce728aSHerbert Xu	select CRYPTO_BLKCIPHER
307dc748e4SSebastian Siewior	select CRYPTO_AES
311da177e4SLinus Torvalds	help
321da177e4SLinus Torvalds	  Use VIA PadLock for AES algorithm.
331da177e4SLinus Torvalds
341191f0a4SMichal Ludvig	  Available in VIA C3 and newer CPUs.
351191f0a4SMichal Ludvig
361191f0a4SMichal Ludvig	  If unsure say M. The compiled module will be
374737f097SPavel Machek	  called padlock-aes.
381191f0a4SMichal Ludvig
396c833275SMichal Ludvigconfig CRYPTO_DEV_PADLOCK_SHA
406c833275SMichal Ludvig	tristate "PadLock driver for SHA1 and SHA256 algorithms"
416c833275SMichal Ludvig	depends on CRYPTO_DEV_PADLOCK
42bbbee467SHerbert Xu	select CRYPTO_HASH
436c833275SMichal Ludvig	select CRYPTO_SHA1
446c833275SMichal Ludvig	select CRYPTO_SHA256
456c833275SMichal Ludvig	help
466c833275SMichal Ludvig	  Use VIA PadLock for SHA1/SHA256 algorithms.
476c833275SMichal Ludvig
486c833275SMichal Ludvig	  Available in VIA C7 and newer processors.
496c833275SMichal Ludvig
506c833275SMichal Ludvig	  If unsure say M. The compiled module will be
514737f097SPavel Machek	  called padlock-sha.
526c833275SMichal Ludvig
539fe757b0SJordan Crouseconfig CRYPTO_DEV_GEODE
549fe757b0SJordan Crouse	tristate "Support for the Geode LX AES engine"
55f6259deaSSimon Arlott	depends on X86_32 && PCI
569fe757b0SJordan Crouse	select CRYPTO_ALGAPI
579fe757b0SJordan Crouse	select CRYPTO_BLKCIPHER
589fe757b0SJordan Crouse	help
599fe757b0SJordan Crouse	  Say 'Y' here to use the AMD Geode LX processor on-board AES
603dde6ad8SDavid Sterba	  engine for the CryptoAPI AES algorithm.
619fe757b0SJordan Crouse
629fe757b0SJordan Crouse	  To compile this driver as a module, choose M here: the module
639fe757b0SJordan Crouse	  will be called geode-aes.
649fe757b0SJordan Crouse
6561d48c2cSMartin Schwidefskyconfig ZCRYPT
66a3358e3dSHarald Freudenberger	tristate "Support for s390 cryptographic adapters"
6761d48c2cSMartin Schwidefsky	depends on S390
682f7c8bd6SRalph Wuerthner	select HW_RANDOM
6961d48c2cSMartin Schwidefsky	help
70a3358e3dSHarald Freudenberger	  Select this option if you want to enable support for
71a3358e3dSHarald Freudenberger	  s390 cryptographic adapters like:
7261d48c2cSMartin Schwidefsky	  + PCI-X Cryptographic Coprocessor (PCIXCC)
73a3358e3dSHarald Freudenberger	  + Crypto Express 2,3,4 or 5 Coprocessor (CEXxC)
74a3358e3dSHarald Freudenberger	  + Crypto Express 2,3,4 or 5 Accelerator (CEXxA)
75a3358e3dSHarald Freudenberger	  + Crypto Express 4 or 5 EP11 Coprocessor (CEXxP)
7661d48c2cSMartin Schwidefsky
7700fab235SHarald Freudenbergerconfig ZCRYPT_MULTIDEVNODES
7800fab235SHarald Freudenberger	bool "Support for multiple zcrypt device nodes"
7900fab235SHarald Freudenberger	default y
8000fab235SHarald Freudenberger	depends on S390
8100fab235SHarald Freudenberger	depends on ZCRYPT
8200fab235SHarald Freudenberger	help
8300fab235SHarald Freudenberger	  With this option enabled the zcrypt device driver can
8400fab235SHarald Freudenberger	  provide multiple devices nodes in /dev. Each device
8500fab235SHarald Freudenberger	  node can get customized to limit access and narrow
8600fab235SHarald Freudenberger	  down the use of the available crypto hardware.
8700fab235SHarald Freudenberger
88e80d4af0SHarald Freudenbergerconfig PKEY
89e80d4af0SHarald Freudenberger	tristate "Kernel API for protected key handling"
90e80d4af0SHarald Freudenberger	depends on S390
91e80d4af0SHarald Freudenberger	depends on ZCRYPT
92e80d4af0SHarald Freudenberger	help
93e80d4af0SHarald Freudenberger	  With this option enabled the pkey kernel module provides an API
94e80d4af0SHarald Freudenberger	  for creation and handling of protected keys. Other parts of the
95e80d4af0SHarald Freudenberger	  kernel or userspace applications may use these functions.
96e80d4af0SHarald Freudenberger
97e80d4af0SHarald Freudenberger	  Select this option if you want to enable the kernel and userspace
98e80d4af0SHarald Freudenberger	  API for proteced key handling.
99e80d4af0SHarald Freudenberger
100e80d4af0SHarald Freudenberger	  Please note that creation of protected keys from secure keys
101e80d4af0SHarald Freudenberger	  requires to have at least one CEX card in coprocessor mode
102e80d4af0SHarald Freudenberger	  available at runtime.
10361d48c2cSMartin Schwidefsky
104c4684f98SHarald Freudenbergerconfig CRYPTO_PAES_S390
105c4684f98SHarald Freudenberger	tristate "PAES cipher algorithms"
106c4684f98SHarald Freudenberger	depends on S390
107c4684f98SHarald Freudenberger	depends on ZCRYPT
108c4684f98SHarald Freudenberger	depends on PKEY
109c4684f98SHarald Freudenberger	select CRYPTO_ALGAPI
110c4684f98SHarald Freudenberger	select CRYPTO_BLKCIPHER
111c4684f98SHarald Freudenberger	help
112c4684f98SHarald Freudenberger	  This is the s390 hardware accelerated implementation of the
113c4684f98SHarald Freudenberger	  AES cipher algorithms for use with protected key.
114c4684f98SHarald Freudenberger
115c4684f98SHarald Freudenberger	  Select this option if you want to use the paes cipher
116c4684f98SHarald Freudenberger	  for example to use protected key encrypted devices.
117c4684f98SHarald Freudenberger
1183f5615e0SJan Glauberconfig CRYPTO_SHA1_S390
1193f5615e0SJan Glauber	tristate "SHA1 digest algorithm"
1203f5615e0SJan Glauber	depends on S390
121563f346dSHerbert Xu	select CRYPTO_HASH
1223f5615e0SJan Glauber	help
1233f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
1243f5615e0SJan Glauber	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
1253f5615e0SJan Glauber
126d393d9b8SJan Glauber	  It is available as of z990.
127d393d9b8SJan Glauber
1283f5615e0SJan Glauberconfig CRYPTO_SHA256_S390
1293f5615e0SJan Glauber	tristate "SHA256 digest algorithm"
1303f5615e0SJan Glauber	depends on S390
131563f346dSHerbert Xu	select CRYPTO_HASH
1323f5615e0SJan Glauber	help
1333f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
1343f5615e0SJan Glauber	  SHA256 secure hash standard (DFIPS 180-2).
1353f5615e0SJan Glauber
136d393d9b8SJan Glauber	  It is available as of z9.
1373f5615e0SJan Glauber
138291dc7c0SJan Glauberconfig CRYPTO_SHA512_S390
1394e2c6d7fSJan Glauber	tristate "SHA384 and SHA512 digest algorithm"
140291dc7c0SJan Glauber	depends on S390
141563f346dSHerbert Xu	select CRYPTO_HASH
142291dc7c0SJan Glauber	help
143291dc7c0SJan Glauber	  This is the s390 hardware accelerated implementation of the
144291dc7c0SJan Glauber	  SHA512 secure hash standard.
145291dc7c0SJan Glauber
146d393d9b8SJan Glauber	  It is available as of z10.
147291dc7c0SJan Glauber
1483f5615e0SJan Glauberconfig CRYPTO_DES_S390
1493f5615e0SJan Glauber	tristate "DES and Triple DES cipher algorithms"
1503f5615e0SJan Glauber	depends on S390
1513f5615e0SJan Glauber	select CRYPTO_ALGAPI
1523f5615e0SJan Glauber	select CRYPTO_BLKCIPHER
15363291d40SHeiko Carstens	select CRYPTO_DES
1543f5615e0SJan Glauber	help
1550200f3ecSGerald Schaefer	  This is the s390 hardware accelerated implementation of the
1563f5615e0SJan Glauber	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1573f5615e0SJan Glauber
1580200f3ecSGerald Schaefer	  As of z990 the ECB and CBC mode are hardware accelerated.
1590200f3ecSGerald Schaefer	  As of z196 the CTR mode is hardware accelerated.
1600200f3ecSGerald Schaefer
1613f5615e0SJan Glauberconfig CRYPTO_AES_S390
1623f5615e0SJan Glauber	tristate "AES cipher algorithms"
1633f5615e0SJan Glauber	depends on S390
1643f5615e0SJan Glauber	select CRYPTO_ALGAPI
1653f5615e0SJan Glauber	select CRYPTO_BLKCIPHER
1663f5615e0SJan Glauber	help
1673f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
16899d97222SGerald Schaefer	  AES cipher algorithms (FIPS-197).
1693f5615e0SJan Glauber
17099d97222SGerald Schaefer	  As of z9 the ECB and CBC modes are hardware accelerated
17199d97222SGerald Schaefer	  for 128 bit keys.
17299d97222SGerald Schaefer	  As of z10 the ECB and CBC modes are hardware accelerated
17399d97222SGerald Schaefer	  for all AES key sizes.
1740200f3ecSGerald Schaefer	  As of z196 the CTR mode is hardware accelerated for all AES
1750200f3ecSGerald Schaefer	  key sizes and XTS mode is hardware accelerated for 256 and
17699d97222SGerald Schaefer	  512 bit keys.
1773f5615e0SJan Glauber
1783f5615e0SJan Glauberconfig S390_PRNG
1793f5615e0SJan Glauber	tristate "Pseudo random number generator device driver"
1803f5615e0SJan Glauber	depends on S390
1813f5615e0SJan Glauber	default "m"
1823f5615e0SJan Glauber	help
1833f5615e0SJan Glauber	  Select this option if you want to use the s390 pseudo random number
1843f5615e0SJan Glauber	  generator. The PRNG is part of the cryptographic processor functions
1853f5615e0SJan Glauber	  and uses triple-DES to generate secure random numbers like the
186d393d9b8SJan Glauber	  ANSI X9.17 standard. User-space programs access the
187d393d9b8SJan Glauber	  pseudo-random-number device through the char device /dev/prandom.
188d393d9b8SJan Glauber
189d393d9b8SJan Glauber	  It is available as of z9.
1903f5615e0SJan Glauber
191df1309ceSGerald Schaeferconfig CRYPTO_GHASH_S390
192df1309ceSGerald Schaefer	tristate "GHASH digest algorithm"
193df1309ceSGerald Schaefer	depends on S390
194df1309ceSGerald Schaefer	select CRYPTO_HASH
195df1309ceSGerald Schaefer	help
196df1309ceSGerald Schaefer	  This is the s390 hardware accelerated implementation of the
197df1309ceSGerald Schaefer	  GHASH message digest algorithm for GCM (Galois/Counter Mode).
198df1309ceSGerald Schaefer
199df1309ceSGerald Schaefer	  It is available as of z196.
200df1309ceSGerald Schaefer
201f848dbd3SHendrik Bruecknerconfig CRYPTO_CRC32_S390
202f848dbd3SHendrik Brueckner	tristate "CRC-32 algorithms"
203f848dbd3SHendrik Brueckner	depends on S390
204f848dbd3SHendrik Brueckner	select CRYPTO_HASH
205f848dbd3SHendrik Brueckner	select CRC32
206f848dbd3SHendrik Brueckner	help
207f848dbd3SHendrik Brueckner	  Select this option if you want to use hardware accelerated
208f848dbd3SHendrik Brueckner	  implementations of CRC algorithms.  With this option, you
209f848dbd3SHendrik Brueckner	  can optimize the computation of CRC-32 (IEEE 802.3 Ethernet)
210f848dbd3SHendrik Brueckner	  and CRC-32C (Castagnoli).
211f848dbd3SHendrik Brueckner
212f848dbd3SHendrik Brueckner	  It is available with IBM z13 or later.
213f848dbd3SHendrik Brueckner
214f63601fdSBoris BREZILLONconfig CRYPTO_DEV_MARVELL_CESA
21527b43fd9SBoris BREZILLON	tristate "Marvell's Cryptographic Engine driver"
216fe55dfdcSBoris Brezillon	depends on PLAT_ORION || ARCH_MVEBU
217f63601fdSBoris BREZILLON	select CRYPTO_AES
218f63601fdSBoris BREZILLON	select CRYPTO_DES
219f63601fdSBoris BREZILLON	select CRYPTO_BLKCIPHER
220f63601fdSBoris BREZILLON	select CRYPTO_HASH
221f63601fdSBoris BREZILLON	select SRAM
222f63601fdSBoris BREZILLON	help
223f63601fdSBoris BREZILLON	  This driver allows you to utilize the Cryptographic Engines and
22427b43fd9SBoris BREZILLON	  Security Accelerator (CESA) which can be found on MVEBU and ORION
22527b43fd9SBoris BREZILLON	  platforms.
226db509a45SBoris BREZILLON	  This driver supports CPU offload through DMA transfers.
227f63601fdSBoris BREZILLON
2280a625fd2SDavid S. Millerconfig CRYPTO_DEV_NIAGARA2
2290a625fd2SDavid S. Miller       tristate "Niagara2 Stream Processing Unit driver"
23050e78161SDavid S. Miller       select CRYPTO_DES
231596103cfSHerbert Xu       select CRYPTO_BLKCIPHER
232596103cfSHerbert Xu       select CRYPTO_HASH
2338054b800SLABBE Corentin       select CRYPTO_MD5
2348054b800SLABBE Corentin       select CRYPTO_SHA1
2358054b800SLABBE Corentin       select CRYPTO_SHA256
2360a625fd2SDavid S. Miller       depends on SPARC64
2370a625fd2SDavid S. Miller       help
2380a625fd2SDavid S. Miller	  Each core of a Niagara2 processor contains a Stream
2390a625fd2SDavid S. Miller	  Processing Unit, which itself contains several cryptographic
2400a625fd2SDavid S. Miller	  sub-units.  One set provides the Modular Arithmetic Unit,
2410a625fd2SDavid S. Miller	  used for SSL offload.  The other set provides the Cipher
2420a625fd2SDavid S. Miller	  Group, which can perform encryption, decryption, hashing,
2430a625fd2SDavid S. Miller	  checksumming, and raw copies.
2440a625fd2SDavid S. Miller
245f7d0561eSEvgeniy Polyakovconfig CRYPTO_DEV_HIFN_795X
246f7d0561eSEvgeniy Polyakov	tristate "Driver HIFN 795x crypto accelerator chips"
247c3041f9cSEvgeniy Polyakov	select CRYPTO_DES
248653ebd9cSHerbert Xu	select CRYPTO_BLKCIPHER
249946fef4eSHerbert Xu	select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
2502707b937SJan Glauber	depends on PCI
25175b76625SRichard Weinberger	depends on !ARCH_DMA_ADDR_T_64BIT
252f7d0561eSEvgeniy Polyakov	help
253f7d0561eSEvgeniy Polyakov	  This option allows you to have support for HIFN 795x crypto adapters.
254f7d0561eSEvgeniy Polyakov
255946fef4eSHerbert Xuconfig CRYPTO_DEV_HIFN_795X_RNG
256946fef4eSHerbert Xu	bool "HIFN 795x random number generator"
257946fef4eSHerbert Xu	depends on CRYPTO_DEV_HIFN_795X
258946fef4eSHerbert Xu	help
259946fef4eSHerbert Xu	  Select this option if you want to enable the random number generator
260946fef4eSHerbert Xu	  on the HIFN 795x crypto adapters.
261f7d0561eSEvgeniy Polyakov
2628636a1f9SMasahiro Yamadasource "drivers/crypto/caam/Kconfig"
2638e8ec596SKim Phillips
2649c4a7965SKim Phillipsconfig CRYPTO_DEV_TALITOS
2659c4a7965SKim Phillips	tristate "Talitos Freescale Security Engine (SEC)"
266596103cfSHerbert Xu	select CRYPTO_AEAD
2679c4a7965SKim Phillips	select CRYPTO_AUTHENC
268596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
269596103cfSHerbert Xu	select CRYPTO_HASH
2709c4a7965SKim Phillips	select HW_RANDOM
2719c4a7965SKim Phillips	depends on FSL_SOC
2729c4a7965SKim Phillips	help
2739c4a7965SKim Phillips	  Say 'Y' here to use the Freescale Security Engine (SEC)
2749c4a7965SKim Phillips	  to offload cryptographic algorithm computation.
2759c4a7965SKim Phillips
2769c4a7965SKim Phillips	  The Freescale SEC is present on PowerQUICC 'E' processors, such
2779c4a7965SKim Phillips	  as the MPC8349E and MPC8548E.
2789c4a7965SKim Phillips
2799c4a7965SKim Phillips	  To compile this driver as a module, choose M here: the module
2809c4a7965SKim Phillips	  will be called talitos.
2819c4a7965SKim Phillips
2825b841a65SLEROY Christopheconfig CRYPTO_DEV_TALITOS1
2835b841a65SLEROY Christophe	bool "SEC1 (SEC 1.0 and SEC Lite 1.2)"
2845b841a65SLEROY Christophe	depends on CRYPTO_DEV_TALITOS
2855b841a65SLEROY Christophe	depends on PPC_8xx || PPC_82xx
2865b841a65SLEROY Christophe	default y
2875b841a65SLEROY Christophe	help
2885b841a65SLEROY Christophe	  Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0
2895b841a65SLEROY Christophe	  found on MPC82xx or the Freescale Security Engine (SEC Lite)
2905b841a65SLEROY Christophe	  version 1.2 found on MPC8xx
2915b841a65SLEROY Christophe
2925b841a65SLEROY Christopheconfig CRYPTO_DEV_TALITOS2
2935b841a65SLEROY Christophe	bool "SEC2+ (SEC version 2.0 or upper)"
2945b841a65SLEROY Christophe	depends on CRYPTO_DEV_TALITOS
2955b841a65SLEROY Christophe	default y if !PPC_8xx
2965b841a65SLEROY Christophe	help
2975b841a65SLEROY Christophe	  Say 'Y' here to use the Freescale Security Engine (SEC)
2985b841a65SLEROY Christophe	  version 2 and following as found on MPC83xx, MPC85xx, etc ...
2995b841a65SLEROY Christophe
30081bef015SChristian Hohnstaedtconfig CRYPTO_DEV_IXP4XX
30181bef015SChristian Hohnstaedt	tristate "Driver for IXP4xx crypto hardware acceleration"
3029665c52bSKrzysztof Hałasa	depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE
30381bef015SChristian Hohnstaedt	select CRYPTO_DES
304596103cfSHerbert Xu	select CRYPTO_AEAD
305090657e4SImre Kaloz	select CRYPTO_AUTHENC
30681bef015SChristian Hohnstaedt	select CRYPTO_BLKCIPHER
30781bef015SChristian Hohnstaedt	help
30881bef015SChristian Hohnstaedt	  Driver for the IXP4xx NPE crypto engine.
30981bef015SChristian Hohnstaedt
310049359d6SJames Hsiaoconfig CRYPTO_DEV_PPC4XX
311049359d6SJames Hsiao	tristate "Driver AMCC PPC4xx crypto accelerator"
312049359d6SJames Hsiao	depends on PPC && 4xx
313049359d6SJames Hsiao	select CRYPTO_HASH
314a0aae821SChristian Lamparter	select CRYPTO_AEAD
315a0aae821SChristian Lamparter	select CRYPTO_AES
316a0aae821SChristian Lamparter	select CRYPTO_CCM
31798e87e3dSChristian Lamparter	select CRYPTO_CTR
318a0aae821SChristian Lamparter	select CRYPTO_GCM
319049359d6SJames Hsiao	select CRYPTO_BLKCIPHER
320049359d6SJames Hsiao	help
321049359d6SJames Hsiao	  This option allows you to have support for AMCC crypto acceleration.
322049359d6SJames Hsiao
3235343e674SChristian Lamparterconfig HW_RANDOM_PPC4XX
3245343e674SChristian Lamparter	bool "PowerPC 4xx generic true random number generator support"
3255343e674SChristian Lamparter	depends on CRYPTO_DEV_PPC4XX && HW_RANDOM
3265343e674SChristian Lamparter	default y
3275343e674SChristian Lamparter	---help---
3285343e674SChristian Lamparter	 This option provides the kernel-side support for the TRNG hardware
3295343e674SChristian Lamparter	 found in the security function of some PowerPC 4xx SoCs.
3305343e674SChristian Lamparter
33174ed87e7STero Kristoconfig CRYPTO_DEV_OMAP
33274ed87e7STero Kristo	tristate "Support for OMAP crypto HW accelerators"
33374ed87e7STero Kristo	depends on ARCH_OMAP2PLUS
33474ed87e7STero Kristo	help
33574ed87e7STero Kristo	  OMAP processors have various crypto HW accelerators. Select this if
33674ed87e7STero Kristo          you want to use the OMAP modules for any of the crypto algorithms.
33774ed87e7STero Kristo
33874ed87e7STero Kristoif CRYPTO_DEV_OMAP
33974ed87e7STero Kristo
3408628e7c8SDmitry Kasatkinconfig CRYPTO_DEV_OMAP_SHAM
341eaef7e3fSLokesh Vutla	tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
342eaef7e3fSLokesh Vutla	depends on ARCH_OMAP2PLUS
3438628e7c8SDmitry Kasatkin	select CRYPTO_SHA1
3448628e7c8SDmitry Kasatkin	select CRYPTO_MD5
345eaef7e3fSLokesh Vutla	select CRYPTO_SHA256
346eaef7e3fSLokesh Vutla	select CRYPTO_SHA512
347eaef7e3fSLokesh Vutla	select CRYPTO_HMAC
3488628e7c8SDmitry Kasatkin	help
349eaef7e3fSLokesh Vutla	  OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you
350eaef7e3fSLokesh Vutla	  want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
3518628e7c8SDmitry Kasatkin
352537559a5SDmitry Kasatkinconfig CRYPTO_DEV_OMAP_AES
353537559a5SDmitry Kasatkin	tristate "Support for OMAP AES hw engine"
3541bbf6437SJoel Fernandes	depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS
355537559a5SDmitry Kasatkin	select CRYPTO_AES
356596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
3570529900aSBaolin Wang	select CRYPTO_ENGINE
3589fcb191aSLokesh Vutla	select CRYPTO_CBC
3599fcb191aSLokesh Vutla	select CRYPTO_ECB
3609fcb191aSLokesh Vutla	select CRYPTO_CTR
361ad18cc9dSTero Kristo	select CRYPTO_AEAD
362537559a5SDmitry Kasatkin	help
363537559a5SDmitry Kasatkin	  OMAP processors have AES module accelerator. Select this if you
364537559a5SDmitry Kasatkin	  want to use the OMAP module for AES algorithms.
365537559a5SDmitry Kasatkin
366701d0f19SJoel Fernandesconfig CRYPTO_DEV_OMAP_DES
36797ee7ed3SPeter Meerwald	tristate "Support for OMAP DES/3DES hw engine"
368701d0f19SJoel Fernandes	depends on ARCH_OMAP2PLUS
369701d0f19SJoel Fernandes	select CRYPTO_DES
370596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
371f1b77aacSBaolin Wang	select CRYPTO_ENGINE
372701d0f19SJoel Fernandes	help
373701d0f19SJoel Fernandes	  OMAP processors have DES/3DES module accelerator. Select this if you
374701d0f19SJoel Fernandes	  want to use the OMAP module for DES and 3DES algorithms. Currently
37597ee7ed3SPeter Meerwald	  the ECB and CBC modes of operation are supported by the driver. Also
37697ee7ed3SPeter Meerwald	  accesses made on unaligned boundaries are supported.
377701d0f19SJoel Fernandes
37874ed87e7STero Kristoendif # CRYPTO_DEV_OMAP
37974ed87e7STero Kristo
380ce921368SJamie Ilesconfig CRYPTO_DEV_PICOXCELL
381ce921368SJamie Iles	tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
3824f44d86dSJavier Martinez Canillas	depends on (ARCH_PICOXCELL || COMPILE_TEST) && HAVE_CLK
383596103cfSHerbert Xu	select CRYPTO_AEAD
384ce921368SJamie Iles	select CRYPTO_AES
385ce921368SJamie Iles	select CRYPTO_AUTHENC
386596103cfSHerbert Xu	select CRYPTO_BLKCIPHER
387ce921368SJamie Iles	select CRYPTO_DES
388ce921368SJamie Iles	select CRYPTO_CBC
389ce921368SJamie Iles	select CRYPTO_ECB
390ce921368SJamie Iles	select CRYPTO_SEQIV
391ce921368SJamie Iles	help
392ce921368SJamie Iles	  This option enables support for the hardware offload engines in the
393ce921368SJamie Iles	  Picochip picoXcell SoC devices. Select this for IPSEC ESP offload
394ce921368SJamie Iles	  and for 3gpp Layer 2 ciphering support.
395ce921368SJamie Iles
396ce921368SJamie Iles	  Saying m here will build a module named pipcoxcell_crypto.
397ce921368SJamie Iles
3985de88752SJavier Martinconfig CRYPTO_DEV_SAHARA
3995de88752SJavier Martin	tristate "Support for SAHARA crypto accelerator"
40074d24d83SPaul Bolle	depends on ARCH_MXC && OF
4015de88752SJavier Martin	select CRYPTO_BLKCIPHER
4025de88752SJavier Martin	select CRYPTO_AES
4035de88752SJavier Martin	select CRYPTO_ECB
4045de88752SJavier Martin	help
4055de88752SJavier Martin	  This option enables support for the SAHARA HW crypto accelerator
4065de88752SJavier Martin	  found in some Freescale i.MX chips.
4075de88752SJavier Martin
408c46ea13fSKrzysztof Kozlowskiconfig CRYPTO_DEV_EXYNOS_RNG
409c46ea13fSKrzysztof Kozlowski	tristate "EXYNOS HW pseudo random number generator support"
410c46ea13fSKrzysztof Kozlowski	depends on ARCH_EXYNOS || COMPILE_TEST
411c46ea13fSKrzysztof Kozlowski	depends on HAS_IOMEM
412c46ea13fSKrzysztof Kozlowski	select CRYPTO_RNG
413c46ea13fSKrzysztof Kozlowski	---help---
414c46ea13fSKrzysztof Kozlowski	  This driver provides kernel-side support through the
415c46ea13fSKrzysztof Kozlowski	  cryptographic API for the pseudo random number generator hardware
416c46ea13fSKrzysztof Kozlowski	  found on Exynos SoCs.
417c46ea13fSKrzysztof Kozlowski
418c46ea13fSKrzysztof Kozlowski	  To compile this driver as a module, choose M here: the
419c46ea13fSKrzysztof Kozlowski	  module will be called exynos-rng.
420c46ea13fSKrzysztof Kozlowski
421c46ea13fSKrzysztof Kozlowski	  If unsure, say Y.
422c46ea13fSKrzysztof Kozlowski
423a49e490cSVladimir Zapolskiyconfig CRYPTO_DEV_S5P
424e922e96fSNaveen Krishna Chatradhi	tristate "Support for Samsung S5PV210/Exynos crypto accelerator"
425dc1d9deeSKrzysztof Kozlowski	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
426ee1b23d1SGeert Uytterhoeven	depends on HAS_IOMEM
427a49e490cSVladimir Zapolskiy	select CRYPTO_AES
428a49e490cSVladimir Zapolskiy	select CRYPTO_BLKCIPHER
429a49e490cSVladimir Zapolskiy	help
430a49e490cSVladimir Zapolskiy	  This option allows you to have support for S5P crypto acceleration.
431e922e96fSNaveen Krishna Chatradhi	  Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES
432a49e490cSVladimir Zapolskiy	  algorithms execution.
433a49e490cSVladimir Zapolskiy
434c2afad6cSKamil Koniecznyconfig CRYPTO_DEV_EXYNOS_HASH
435c2afad6cSKamil Konieczny	bool "Support for Samsung Exynos HASH accelerator"
436c2afad6cSKamil Konieczny	depends on CRYPTO_DEV_S5P
437c2afad6cSKamil Konieczny	depends on !CRYPTO_DEV_EXYNOS_RNG && CRYPTO_DEV_EXYNOS_RNG!=m
438c2afad6cSKamil Konieczny	select CRYPTO_SHA1
439c2afad6cSKamil Konieczny	select CRYPTO_MD5
440c2afad6cSKamil Konieczny	select CRYPTO_SHA256
441c2afad6cSKamil Konieczny	help
442c2afad6cSKamil Konieczny	  Select this to offload Exynos from HASH MD5/SHA1/SHA256.
443c2afad6cSKamil Konieczny	  This will select software SHA1, MD5 and SHA256 as they are
444c2afad6cSKamil Konieczny	  needed for small and zero-size messages.
445c2afad6cSKamil Konieczny	  HASH algorithms will be disabled if EXYNOS_RNG
446c2afad6cSKamil Konieczny	  is enabled due to hw conflict.
447c2afad6cSKamil Konieczny
448aef7b31cSKent Yoderconfig CRYPTO_DEV_NX
4497011a122SDan Streetman	bool "Support for IBM PowerPC Nest (NX) cryptographic acceleration"
4507011a122SDan Streetman	depends on PPC64
451aef7b31cSKent Yoder	help
4527011a122SDan Streetman	  This enables support for the NX hardware cryptographic accelerator
4537011a122SDan Streetman	  coprocessor that is in IBM PowerPC P7+ or later processors.  This
4547011a122SDan Streetman	  does not actually enable any drivers, it only allows you to select
4557011a122SDan Streetman	  which acceleration type (encryption and/or compression) to enable.
456322cacceSSeth Jennings
457322cacceSSeth Jenningsif CRYPTO_DEV_NX
458322cacceSSeth Jennings	source "drivers/crypto/nx/Kconfig"
459322cacceSSeth Jenningsendif
460aef7b31cSKent Yoder
4612789c08fSAndreas Westinconfig CRYPTO_DEV_UX500
4622789c08fSAndreas Westin	tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration"
4632789c08fSAndreas Westin	depends on ARCH_U8500
4642789c08fSAndreas Westin	help
4652789c08fSAndreas Westin	  Driver for ST-Ericsson UX500 crypto engine.
4662789c08fSAndreas Westin
4672789c08fSAndreas Westinif CRYPTO_DEV_UX500
4682789c08fSAndreas Westin	source "drivers/crypto/ux500/Kconfig"
4692789c08fSAndreas Westinendif # if CRYPTO_DEV_UX500
4702789c08fSAndreas Westin
47189a82ef8SCyrille Pitchenconfig CRYPTO_DEV_ATMEL_AUTHENC
47289a82ef8SCyrille Pitchen	tristate "Support for Atmel IPSEC/SSL hw accelerator"
473ceb4afb3SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
47489a82ef8SCyrille Pitchen	select CRYPTO_AUTHENC
47589a82ef8SCyrille Pitchen	select CRYPTO_DEV_ATMEL_AES
47689a82ef8SCyrille Pitchen	select CRYPTO_DEV_ATMEL_SHA
47789a82ef8SCyrille Pitchen	help
47889a82ef8SCyrille Pitchen	  Some Atmel processors can combine the AES and SHA hw accelerators
47989a82ef8SCyrille Pitchen	  to enhance support of IPSEC/SSL.
48089a82ef8SCyrille Pitchen	  Select this if you want to use the Atmel modules for
48189a82ef8SCyrille Pitchen	  authenc(hmac(shaX),Y(cbc)) algorithms.
48289a82ef8SCyrille Pitchen
483bd3c7b5cSNicolas Royerconfig CRYPTO_DEV_ATMEL_AES
484bd3c7b5cSNicolas Royer	tristate "Support for Atmel AES hw accelerator"
485ceb4afb3SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
486bd3c7b5cSNicolas Royer	select CRYPTO_AES
487d4419548SCyrille Pitchen	select CRYPTO_AEAD
488bd3c7b5cSNicolas Royer	select CRYPTO_BLKCIPHER
489bd3c7b5cSNicolas Royer	help
490bd3c7b5cSNicolas Royer	  Some Atmel processors have AES hw accelerator.
491bd3c7b5cSNicolas Royer	  Select this if you want to use the Atmel module for
492bd3c7b5cSNicolas Royer	  AES algorithms.
493bd3c7b5cSNicolas Royer
494bd3c7b5cSNicolas Royer	  To compile this driver as a module, choose M here: the module
495bd3c7b5cSNicolas Royer	  will be called atmel-aes.
496bd3c7b5cSNicolas Royer
49713802005SNicolas Royerconfig CRYPTO_DEV_ATMEL_TDES
49813802005SNicolas Royer	tristate "Support for Atmel DES/TDES hw accelerator"
499ceb4afb3SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
50013802005SNicolas Royer	select CRYPTO_DES
50113802005SNicolas Royer	select CRYPTO_BLKCIPHER
50213802005SNicolas Royer	help
50313802005SNicolas Royer	  Some Atmel processors have DES/TDES hw accelerator.
50413802005SNicolas Royer	  Select this if you want to use the Atmel module for
50513802005SNicolas Royer	  DES/TDES algorithms.
50613802005SNicolas Royer
50713802005SNicolas Royer	  To compile this driver as a module, choose M here: the module
50813802005SNicolas Royer	  will be called atmel-tdes.
50913802005SNicolas Royer
510ebc82efaSNicolas Royerconfig CRYPTO_DEV_ATMEL_SHA
511d4905b38SNicolas Royer	tristate "Support for Atmel SHA hw accelerator"
512ceb4afb3SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
513596103cfSHerbert Xu	select CRYPTO_HASH
514ebc82efaSNicolas Royer	help
515d4905b38SNicolas Royer	  Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512
516d4905b38SNicolas Royer	  hw accelerator.
517ebc82efaSNicolas Royer	  Select this if you want to use the Atmel module for
518d4905b38SNicolas Royer	  SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
519ebc82efaSNicolas Royer
520ebc82efaSNicolas Royer	  To compile this driver as a module, choose M here: the module
521ebc82efaSNicolas Royer	  will be called atmel-sha.
522ebc82efaSNicolas Royer
52311105693STudor-Dan Ambarusconfig CRYPTO_DEV_ATMEL_ECC
52411105693STudor-Dan Ambarus	tristate "Support for Microchip / Atmel ECC hw accelerator"
52511105693STudor-Dan Ambarus	depends on ARCH_AT91 || COMPILE_TEST
52611105693STudor-Dan Ambarus	depends on I2C
52711105693STudor-Dan Ambarus	select CRYPTO_ECDH
52811105693STudor-Dan Ambarus	select CRC16
52911105693STudor-Dan Ambarus	help
53011105693STudor-Dan Ambarus	  Microhip / Atmel ECC hw accelerator.
53111105693STudor-Dan Ambarus	  Select this if you want to use the Microchip / Atmel module for
53211105693STudor-Dan Ambarus	  ECDH algorithm.
53311105693STudor-Dan Ambarus
53411105693STudor-Dan Ambarus	  To compile this driver as a module, choose M here: the module
53511105693STudor-Dan Ambarus	  will be called atmel-ecc.
53611105693STudor-Dan Ambarus
537f1147660STom Lendackyconfig CRYPTO_DEV_CCP
538720419f0SBrijesh Singh	bool "Support for AMD Secure Processor"
5396c506343STom Lendacky	depends on ((X86 && PCI) || (ARM64 && (OF_ADDRESS || ACPI))) && HAS_IOMEM
540f1147660STom Lendacky	help
541720419f0SBrijesh Singh	  The AMD Secure Processor provides support for the Cryptographic Coprocessor
542720419f0SBrijesh Singh	  (CCP) and the Platform Security Processor (PSP) devices.
543f1147660STom Lendacky
544f1147660STom Lendackyif CRYPTO_DEV_CCP
545f1147660STom Lendacky	source "drivers/crypto/ccp/Kconfig"
546f1147660STom Lendackyendif
547f1147660STom Lendacky
54815b59e7cSMarek Vasutconfig CRYPTO_DEV_MXS_DCP
54915b59e7cSMarek Vasut	tristate "Support for Freescale MXS DCP"
550a2712e6cSFabio Estevam	depends on (ARCH_MXS || ARCH_MXC)
551dc97fa02SArnd Bergmann	select STMP_DEVICE
55215b59e7cSMarek Vasut	select CRYPTO_CBC
55315b59e7cSMarek Vasut	select CRYPTO_ECB
55415b59e7cSMarek Vasut	select CRYPTO_AES
55515b59e7cSMarek Vasut	select CRYPTO_BLKCIPHER
556596103cfSHerbert Xu	select CRYPTO_HASH
55715b59e7cSMarek Vasut	help
55815b59e7cSMarek Vasut	  The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
55915b59e7cSMarek Vasut	  co-processor on the die.
56015b59e7cSMarek Vasut
56115b59e7cSMarek Vasut	  To compile this driver as a module, choose M here: the module
56215b59e7cSMarek Vasut	  will be called mxs-dcp.
56315b59e7cSMarek Vasut
564cea4001aSTadeusz Struksource "drivers/crypto/qat/Kconfig"
56562ad8b5cSGeorge Cheriansource "drivers/crypto/cavium/cpt/Kconfig"
56614fa93cdSSrikanth Jampalasource "drivers/crypto/cavium/nitrox/Kconfig"
567c672752dSStanimir Varbanov
568640035a2SMahipal Challaconfig CRYPTO_DEV_CAVIUM_ZIP
569640035a2SMahipal Challa	tristate "Cavium ZIP driver"
570640035a2SMahipal Challa	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
571640035a2SMahipal Challa	---help---
572640035a2SMahipal Challa	  Select this option if you want to enable compression/decompression
573640035a2SMahipal Challa	  acceleration on Cavium's ARM based SoCs
574640035a2SMahipal Challa
575c672752dSStanimir Varbanovconfig CRYPTO_DEV_QCE
576c672752dSStanimir Varbanov	tristate "Qualcomm crypto engine accelerator"
577ee1b23d1SGeert Uytterhoeven	depends on ARCH_QCOM || COMPILE_TEST
578ee1b23d1SGeert Uytterhoeven	depends on HAS_IOMEM
579c672752dSStanimir Varbanov	select CRYPTO_AES
580c672752dSStanimir Varbanov	select CRYPTO_DES
581c672752dSStanimir Varbanov	select CRYPTO_ECB
582c672752dSStanimir Varbanov	select CRYPTO_CBC
583c672752dSStanimir Varbanov	select CRYPTO_XTS
584c672752dSStanimir Varbanov	select CRYPTO_CTR
585c672752dSStanimir Varbanov	select CRYPTO_BLKCIPHER
586c672752dSStanimir Varbanov	help
587c672752dSStanimir Varbanov	  This driver supports Qualcomm crypto engine accelerator
588c672752dSStanimir Varbanov	  hardware. To compile this driver as a module, choose M here. The
589c672752dSStanimir Varbanov	  module will be called qcrypto.
590c672752dSStanimir Varbanov
591ceec5f5bSVinod Koulconfig CRYPTO_DEV_QCOM_RNG
592ceec5f5bSVinod Koul	tristate "Qualcomm Random Number Generator Driver"
593ceec5f5bSVinod Koul	depends on ARCH_QCOM || COMPILE_TEST
594ceec5f5bSVinod Koul	select CRYPTO_RNG
595ceec5f5bSVinod Koul	help
596ceec5f5bSVinod Koul	  This driver provides support for the Random Number
597ceec5f5bSVinod Koul	  Generator hardware found on Qualcomm SoCs.
598ceec5f5bSVinod Koul
599ceec5f5bSVinod Koul	  To compile this driver as a module, choose M here. The
600ceec5f5bSVinod Koul          module will be called qcom-rng. If unsure, say N.
601ceec5f5bSVinod Koul
602d2e3ae6fSLeonidas S. Barbosaconfig CRYPTO_DEV_VMX
603d2e3ae6fSLeonidas S. Barbosa	bool "Support for VMX cryptographic acceleration instructions"
604f1ab4287SMichael Ellerman	depends on PPC64 && VSX
605d2e3ae6fSLeonidas S. Barbosa	help
606d2e3ae6fSLeonidas S. Barbosa	  Support for VMX cryptographic acceleration instructions.
607d2e3ae6fSLeonidas S. Barbosa
608d2e3ae6fSLeonidas S. Barbosasource "drivers/crypto/vmx/Kconfig"
609d2e3ae6fSLeonidas S. Barbosa
610d358f1abSJames Hartleyconfig CRYPTO_DEV_IMGTEC_HASH
611d358f1abSJames Hartley	tristate "Imagination Technologies hardware hash accelerator"
6128c98ebd7SGeert Uytterhoeven	depends on MIPS || COMPILE_TEST
613d358f1abSJames Hartley	select CRYPTO_MD5
614d358f1abSJames Hartley	select CRYPTO_SHA1
615d358f1abSJames Hartley	select CRYPTO_SHA256
616d358f1abSJames Hartley	select CRYPTO_HASH
617d358f1abSJames Hartley	help
618d358f1abSJames Hartley	  This driver interfaces with the Imagination Technologies
619d358f1abSJames Hartley	  hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256
620d358f1abSJames Hartley	  hashing algorithms.
621d358f1abSJames Hartley
6226298e948SLABBE Corentinconfig CRYPTO_DEV_SUN4I_SS
6236298e948SLABBE Corentin	tristate "Support for Allwinner Security System cryptographic accelerator"
624f823ab93SAndre Przywara	depends on ARCH_SUNXI && !64BIT
6256298e948SLABBE Corentin	select CRYPTO_MD5
6266298e948SLABBE Corentin	select CRYPTO_SHA1
6276298e948SLABBE Corentin	select CRYPTO_AES
6286298e948SLABBE Corentin	select CRYPTO_DES
6296298e948SLABBE Corentin	select CRYPTO_BLKCIPHER
6306298e948SLABBE Corentin	help
6316298e948SLABBE Corentin	  Some Allwinner SoC have a crypto accelerator named
6326298e948SLABBE Corentin	  Security System. Select this if you want to use it.
6336298e948SLABBE Corentin	  The Security System handle AES/DES/3DES ciphers in CBC mode
6346298e948SLABBE Corentin	  and SHA1 and MD5 hash algorithms.
6356298e948SLABBE Corentin
6366298e948SLABBE Corentin	  To compile this driver as a module, choose M here: the module
6376298e948SLABBE Corentin	  will be called sun4i-ss.
6386298e948SLABBE Corentin
639b8ae5c73SCorentin LABBEconfig CRYPTO_DEV_SUN4I_SS_PRNG
640b8ae5c73SCorentin LABBE	bool "Support for Allwinner Security System PRNG"
641b8ae5c73SCorentin LABBE	depends on CRYPTO_DEV_SUN4I_SS
642b8ae5c73SCorentin LABBE	select CRYPTO_RNG
643b8ae5c73SCorentin LABBE	help
644b8ae5c73SCorentin LABBE	  Select this option if you want to provide kernel-side support for
645b8ae5c73SCorentin LABBE	  the Pseudo-Random Number Generator found in the Security System.
646b8ae5c73SCorentin LABBE
647433cd2c6SZain Wangconfig CRYPTO_DEV_ROCKCHIP
648433cd2c6SZain Wang	tristate "Rockchip's Cryptographic Engine driver"
649433cd2c6SZain Wang	depends on OF && ARCH_ROCKCHIP
650433cd2c6SZain Wang	select CRYPTO_AES
651433cd2c6SZain Wang	select CRYPTO_DES
652bfd927ffSZain Wang	select CRYPTO_MD5
653bfd927ffSZain Wang	select CRYPTO_SHA1
654bfd927ffSZain Wang	select CRYPTO_SHA256
655bfd927ffSZain Wang	select CRYPTO_HASH
656433cd2c6SZain Wang	select CRYPTO_BLKCIPHER
657433cd2c6SZain Wang
658433cd2c6SZain Wang	help
659433cd2c6SZain Wang	  This driver interfaces with the hardware crypto accelerator.
660433cd2c6SZain Wang	  Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
661433cd2c6SZain Wang
662785e5c61SRyder Leeconfig CRYPTO_DEV_MEDIATEK
663785e5c61SRyder Lee	tristate "MediaTek's EIP97 Cryptographic Engine driver"
6647dee9f61SArnd Bergmann	depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST
665785e5c61SRyder Lee	select CRYPTO_AES
666d03f7b0dSRyder Lee	select CRYPTO_AEAD
667785e5c61SRyder Lee	select CRYPTO_BLKCIPHER
668d03f7b0dSRyder Lee	select CRYPTO_CTR
6697dee9f61SArnd Bergmann	select CRYPTO_SHA1
6707dee9f61SArnd Bergmann	select CRYPTO_SHA256
6717dee9f61SArnd Bergmann	select CRYPTO_SHA512
672785e5c61SRyder Lee	select CRYPTO_HMAC
673785e5c61SRyder Lee	help
674785e5c61SRyder Lee	  This driver allows you to utilize the hardware crypto accelerator
675785e5c61SRyder Lee	  EIP97 which can be found on the MT7623 MT2701, MT8521p, etc ....
676785e5c61SRyder Lee	  Select this if you want to use it for AES/SHA1/SHA2 algorithms.
677785e5c61SRyder Lee
67802038fd6SHariprasad Shenaisource "drivers/crypto/chelsio/Kconfig"
67902038fd6SHariprasad Shenai
680dbaf0624SGongleisource "drivers/crypto/virtio/Kconfig"
681dbaf0624SGonglei
6829d12ba86SRob Riceconfig CRYPTO_DEV_BCM_SPU
6839d12ba86SRob Rice	tristate "Broadcom symmetric crypto/hash acceleration support"
6849d12ba86SRob Rice	depends on ARCH_BCM_IPROC
685efc856edSraveendra padasalagi	depends on MAILBOX
6869d12ba86SRob Rice	default m
687ab57b335SEric Biggers	select CRYPTO_AUTHENC
6889d12ba86SRob Rice	select CRYPTO_DES
6899d12ba86SRob Rice	select CRYPTO_MD5
6909d12ba86SRob Rice	select CRYPTO_SHA1
6919d12ba86SRob Rice	select CRYPTO_SHA256
6929d12ba86SRob Rice	select CRYPTO_SHA512
6939d12ba86SRob Rice	help
6949d12ba86SRob Rice	  This driver provides support for Broadcom crypto acceleration using the
6959d12ba86SRob Rice	  Secure Processing Unit (SPU). The SPU driver registers ablkcipher,
6969d12ba86SRob Rice	  ahash, and aead algorithms with the kernel cryptographic API.
6979d12ba86SRob Rice
698b51dbe90SFabien DESSENNEsource "drivers/crypto/stm32/Kconfig"
699b51dbe90SFabien DESSENNE
7001b44c5a6SAntoine Ténartconfig CRYPTO_DEV_SAFEXCEL
7011b44c5a6SAntoine Ténart	tristate "Inside Secure's SafeXcel cryptographic engine driver"
702ee1b23d1SGeert Uytterhoeven	depends on OF
7031b44c5a6SAntoine Ténart	depends on (ARM64 && ARCH_MVEBU) || (COMPILE_TEST && 64BIT)
7041b44c5a6SAntoine Ténart	select CRYPTO_AES
705f6beaea3SAntoine Tenart	select CRYPTO_AUTHENC
7061b44c5a6SAntoine Ténart	select CRYPTO_BLKCIPHER
707a7dea8c0SOfer Heifetz	select CRYPTO_DES
7081b44c5a6SAntoine Ténart	select CRYPTO_HASH
7091b44c5a6SAntoine Ténart	select CRYPTO_HMAC
710293f89cfSOfer Heifetz	select CRYPTO_MD5
7111b44c5a6SAntoine Ténart	select CRYPTO_SHA1
7121b44c5a6SAntoine Ténart	select CRYPTO_SHA256
7131b44c5a6SAntoine Ténart	select CRYPTO_SHA512
7141b44c5a6SAntoine Ténart	help
7151b44c5a6SAntoine Ténart	  This driver interfaces with the SafeXcel EIP-197 cryptographic engine
7161b44c5a6SAntoine Ténart	  designed by Inside Secure. Select this if you want to use CBC/ECB
7171b44c5a6SAntoine Ténart	  chain mode, AES cipher mode and SHA1/SHA224/SHA256/SHA512 hash
7181b44c5a6SAntoine Ténart	  algorithms.
7191b44c5a6SAntoine Ténart
720a21eb94fSLars Perssonconfig CRYPTO_DEV_ARTPEC6
721a21eb94fSLars Persson	tristate "Support for Axis ARTPEC-6/7 hardware crypto acceleration."
722a21eb94fSLars Persson	depends on ARM && (ARCH_ARTPEC || COMPILE_TEST)
723a21eb94fSLars Persson	depends on OF
724a21eb94fSLars Persson	select CRYPTO_AEAD
725a21eb94fSLars Persson	select CRYPTO_AES
726a21eb94fSLars Persson	select CRYPTO_ALGAPI
727a21eb94fSLars Persson	select CRYPTO_BLKCIPHER
728a21eb94fSLars Persson	select CRYPTO_CTR
729a21eb94fSLars Persson	select CRYPTO_HASH
730a21eb94fSLars Persson	select CRYPTO_SHA1
731a21eb94fSLars Persson	select CRYPTO_SHA256
732a21eb94fSLars Persson	select CRYPTO_SHA512
733a21eb94fSLars Persson	help
734a21eb94fSLars Persson	  Enables the driver for the on-chip crypto accelerator
735a21eb94fSLars Persson	  of Axis ARTPEC SoCs.
736a21eb94fSLars Persson
737a21eb94fSLars Persson	  To compile this driver as a module, choose M here.
738a21eb94fSLars Persson
7394c3f9727SGilad Ben-Yossefconfig CRYPTO_DEV_CCREE
7404c3f9727SGilad Ben-Yossef	tristate "Support for ARM TrustZone CryptoCell family of security processors"
7414c3f9727SGilad Ben-Yossef	depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA
7424c3f9727SGilad Ben-Yossef	default n
7434c3f9727SGilad Ben-Yossef	select CRYPTO_HASH
7444c3f9727SGilad Ben-Yossef	select CRYPTO_BLKCIPHER
7454c3f9727SGilad Ben-Yossef	select CRYPTO_DES
7464c3f9727SGilad Ben-Yossef	select CRYPTO_AEAD
7474c3f9727SGilad Ben-Yossef	select CRYPTO_AUTHENC
7484c3f9727SGilad Ben-Yossef	select CRYPTO_SHA1
7494c3f9727SGilad Ben-Yossef	select CRYPTO_MD5
7504c3f9727SGilad Ben-Yossef	select CRYPTO_SHA256
7514c3f9727SGilad Ben-Yossef	select CRYPTO_SHA512
7524c3f9727SGilad Ben-Yossef	select CRYPTO_HMAC
7534c3f9727SGilad Ben-Yossef	select CRYPTO_AES
7544c3f9727SGilad Ben-Yossef	select CRYPTO_CBC
7554c3f9727SGilad Ben-Yossef	select CRYPTO_ECB
7564c3f9727SGilad Ben-Yossef	select CRYPTO_CTR
7574c3f9727SGilad Ben-Yossef	select CRYPTO_XTS
7589b8d51f8SGilad Ben-Yossef	select CRYPTO_SM4
759927574e0SYael Chemla	select CRYPTO_SM3
7604c3f9727SGilad Ben-Yossef	help
76127b3b22dSGilad Ben-Yossef	  Say 'Y' to enable a driver for the REE interface of the Arm
76227b3b22dSGilad Ben-Yossef	  TrustZone CryptoCell family of processors. Currently the
7631c876a90SGilad Ben-Yossef	  CryptoCell 713, 703, 712, 710 and 630 are supported.
7644c3f9727SGilad Ben-Yossef	  Choose this if you wish to use hardware acceleration of
7654c3f9727SGilad Ben-Yossef	  cryptographic operations on the system REE.
7664c3f9727SGilad Ben-Yossef	  If unsure say Y.
7674c3f9727SGilad Ben-Yossef
768915e4e84SJonathan Cameronsource "drivers/crypto/hisilicon/Kconfig"
769915e4e84SJonathan Cameron
770b511431dSJan Engelhardtendif # CRYPTO_HW
771